CN110794791B - Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system - Google Patents

Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system Download PDF

Info

Publication number
CN110794791B
CN110794791B CN201911128758.2A CN201911128758A CN110794791B CN 110794791 B CN110794791 B CN 110794791B CN 201911128758 A CN201911128758 A CN 201911128758A CN 110794791 B CN110794791 B CN 110794791B
Authority
CN
China
Prior art keywords
service
target
real
control system
centralized control
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.)
Active
Application number
CN201911128758.2A
Other languages
Chinese (zh)
Other versions
CN110794791A (en
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.)
Jilin Tobacco Industrial Co Ltd
Original Assignee
Jilin Tobacco Industrial 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 Jilin Tobacco Industrial Co Ltd filed Critical Jilin Tobacco Industrial Co Ltd
Priority to CN201911128758.2A priority Critical patent/CN110794791B/en
Publication of CN110794791A publication Critical patent/CN110794791A/en
Application granted granted Critical
Publication of CN110794791B publication Critical patent/CN110794791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33139Design of industrial communication system with expert system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a data transmission method of a cigarette factory manufacturing execution system and a cigarette making centralized control system, which comprises the steps of determining a target uplink cigarette making centralized control system service according to the acquired first running state information of a main cigarette making centralized control system service and a standby cigarette making centralized control system service; determining a target real-time database subsystem according to the acquired second running state information of the main real-time database subsystem and the standby real-time database subsystem; determining a target uplink relational database service according to the acquired third running state information of the main relational database service and the standby relational database service; and uploading the running data of each device to a target relational database service through a target real-time database subsystem by utilizing the target silk-making centralized control system service. The stability of the link is ensured, and the stability of data transmission is greatly improved. The invention also discloses a data transmission device, equipment and a storage medium of the cigarette factory manufacturing execution system and the cigarette making centralized control system, and the data transmission device, the equipment and the storage medium have corresponding technical effects.

Description

Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system
Technical Field
The invention relates to the technical field of industrial control and automation, in particular to a data transmission method, a device, equipment and a computer readable storage medium for a cigarette factory manufacturing execution system and a cigarette making centralized control system.
Background
A Manufacturing Execution System (MES) System in the cigarette factory production line equipment is tightly combined with a production centralized control System (IFIX), the Manufacturing Execution System issues instruction information such as batch plans and process standards to the production centralized control System, and the production centralized control System uploads production start and end time and real-time running data of each PLC equipment to the Manufacturing Execution System.
In the prior art, a centralized control system service in a centralized control system is connected with a real-time database subsystem in a manufacturing execution system, and data in the centralized control system is acquired to a relational database service in the manufacturing execution system in an OPC manner. The silk-making centralized control system service is deployed on one server, and the real-time database subsystem is deployed on the other server. And an OPC client is required to be installed on a server deployed by the real-time database subsystem to be connected with the silk control centralized control system service and the relational database service. And the real-time database subsystem acquires data in the service of the centralized control system of the silk making into the service of the relational database through an OPC client. The silk-making centralized control system service and the real-time database subsystem are connected in a one-to-one mode, the real-time database subsystem and the relational database service are connected in a one-to-one mode, and OPC client terminals are required to be installed when the real-time database subsystem is loaded. In actual use, link interruption is easy to occur between an OPC client of the real-time database subsystem and the service of the system silk centralized control system and the service of the relational database, so that data cannot be acquired, and the stability of data transmission is poor.
In summary, how to effectively solve the problems that link interruption is easy to occur in the OPC client of the real-time database subsystem and the service of the centralized control system of the system and the relational database, which causes data acquisition failure, and stability of data transmission is poor, is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a data transmission method of a cigarette factory manufacturing execution system and a cigarette making centralized control system, which ensures the stability of links between a real-time database subsystem and a cigarette making centralized control system service and between the real-time database subsystem and a relational database service, and greatly improves the stability of data transmission; another objective of the present invention is to provide a data transmission method, apparatus, device and computer readable storage medium for a cigarette factory manufacturing execution system and a cigarette manufacturing centralized control system.
In order to solve the technical problems, the invention provides the following technical scheme:
a data transmission method of a cigarette factory manufacturing execution system and a cigarette shred centralized control system comprises the following steps:
receiving a data uplink request, and analyzing the data uplink request to obtain equipment operation data of each acquisition point;
respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information;
respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in a manufacturing execution system, and determining a target real-time database subsystem according to the second running state information;
respectively acquiring third running state information of a main relational database service and a standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information;
and uploading the running data of each device to the target uplink relational database service through the target real-time database subsystem by utilizing the target uplink control centralized control system service.
In a specific embodiment of the present invention, after the target uplink control centralized control system service is used to upload the operation data of each device to the target uplink relational database service through the target real-time database subsystem, the method further includes:
and synchronizing the operation data of each device from the target uplink relational database service to another relational database service when detecting that the other relational database service except the target relational database service in the main relational database service and the standby relational database service is in a normal operation state.
In a specific embodiment of the present invention, after the target uplink control centralized control system service is used to upload the operation data of each device to the target uplink relational database service through the target real-time database subsystem, the method further includes:
receiving a data downlink request generated by analyzing the operation data of each device by the manufacturing execution system;
analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment;
respectively acquiring fourth running state information of the main relational database service and the standby relational database service, and determining a target downlink relational database service according to the fourth running state information;
respectively acquiring fifth running state information of the main silk control centralized system service and the standby silk control centralized system service, and determining a target downlink silk control centralized control system service according to the fifth running state information;
and issuing the parameter control command of each device to the target downlink control centralized control system service by using the target downlink relational database service so as to correspondingly control each device by using the target downlink control centralized control system service.
In a specific embodiment of the present invention, respectively obtaining second operation status information of a main real-time database subsystem and a standby real-time database subsystem in a manufacturing execution system, and determining a target real-time database subsystem according to the second operation status information includes:
respectively acquiring second running state information of a main real-time database collector, a main real-time database scheduler, a main real-time database service, a main acquisition software collector and a main acquisition software scheduler in the main real-time database subsystem, and second running state information of a standby real-time database collector, a standby real-time database scheduler, a standby real-time database service, a standby acquisition software collector and a standby acquisition software scheduler in the standby real-time database subsystem, and respectively determining a target real-time database collector, a target real-time database scheduler, a target real-time database service, a target acquisition software collector and a target acquisition software scheduler according to the second running state information to obtain the target real-time database subsystem.
A data transmission device of cigarette factory manufacturing execution system and cigarette shred centralized control system comprises:
the operation data acquisition module is used for receiving a data uplink request and analyzing the data uplink request to obtain equipment operation data of each acquisition point;
the system comprises an uplink centralized control system service determining module, a target uplink centralized control system service determining module and a target backup centralized control system service determining module, wherein the uplink centralized control system service determining module is used for respectively acquiring first running state information of a main wire centralized control system service and a backup wire centralized control system service and determining the target uplink centralized control system service according to the first running state information;
the real-time database subsystem determining module is used for respectively acquiring second running state information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system and determining a target real-time database subsystem according to the second running state information;
an uplink relational database service determining module, configured to obtain third operation state information of the primary relational database service and the standby relational database service in the manufacturing execution system, respectively, and determine a target uplink relational database service according to the third operation state information;
and the running data uploading module is used for uploading the running data of each device to the target uplink relational database service through the target real-time database subsystem by utilizing the target uplink control centralized control system service.
In one embodiment of the present invention, the method further comprises:
and the data synchronization module is used for synchronizing the running data of each device from the target uplink relational database service to another relational database service when detecting that the other relational database service except the target relational database service in the main relational database service and the standby relational database service is in a normal running state after the running data of each device is uploaded to the target relational database service by the target real-time database subsystem by utilizing the target system-control centralized control system service.
In one embodiment of the present invention, the method further comprises:
a downlink request receiving module, configured to receive a data downlink request generated by the manufacturing execution system through analysis of operation data of each device after the operation data of each device is uploaded to the target relational database service through the target real-time database subsystem by using the target silking centralized control system service;
the instruction obtaining module is used for analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment;
a downlink relational database service determining module, configured to obtain fourth operation state information of the primary relational database service and the standby relational database service, respectively, and determine a target downlink relational database service according to the fourth operation state information;
the downlink centralized control system service determining module is used for respectively acquiring fifth running state information of the main silk centralized control system service and the standby silk centralized control system service and determining a target downlink silk centralized control system service according to the fifth running state information;
and the equipment control module is used for issuing the equipment parameter control instructions to the target downlink control centralized control system service by using the target downlink relational database service so as to correspondingly control the equipment by using the target downlink control centralized control system service.
In a specific embodiment of the present invention, the real-time database subsystem determination module is specifically a master real-time database collector, a master real-time database scheduler, a master real-time database service, a master acquisition software collector, a master acquisition software scheduler, respectively, in the master real-time database subsystem, and second running state information of a standby real-time database collector, a standby real-time database scheduler, a standby real-time database service, a standby acquisition software collector and a standby acquisition software scheduler in the standby real-time database subsystem, and respectively determining a target real-time database collector, a target real-time database scheduler, a target real-time database service, a target acquisition software collector and a target acquisition software scheduler according to the second running state information to obtain a module of the target real-time database subsystem.
A data transmission device of a cigarette factory manufacturing execution system and a cigarette making centralized control system comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the data transmission method of the cigarette factory manufacturing execution system and the cigarette making centralized control system when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the data transmission method of the cigarette factory manufacturing execution system and the cigarette central control system as described above.
By applying the method provided by the embodiment of the invention, the data uplink request is received and analyzed to obtain the equipment operation data of each acquisition point; respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information; respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information; respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information; and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service. The redundancy backup of the silk control centralized control system service, the real-time database subsystem and the relational database service is preset respectively, so that the whole data transmission process achieves full redundancy backup, the stability of links between the real-time database subsystem and the silk control centralized control system service and between the real-time database subsystem and the relational database service is ensured, and the stability of data transmission is greatly improved.
Accordingly, embodiments of the present invention further provide a data transmission device, an apparatus, and a computer-readable storage medium for a cigarette factory manufacturing execution system and a cigarette making centralized control system, which correspond to the data transmission method for the cigarette factory manufacturing execution system and the cigarette making centralized control system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a data transmission method for a cigarette factory manufacturing execution system and a centralized control system;
FIG. 2 is a flowchart illustrating another embodiment of a data transmission method between a cigarette factory manufacturing execution system and a centralized control system;
FIG. 3 is a block diagram of a data transmission device of a cigarette factory manufacturing execution system and a cigarette making centralized control system according to an embodiment of the present invention;
fig. 4 is a block diagram of a data transmission device of a cigarette factory manufacturing execution system and a centralized control system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a data transmission method between a cigarette factory manufacturing execution system and a centralized control system, where the method may include the following steps:
s101: and receiving a data uplink request, and analyzing the data uplink request to obtain the equipment operation data of each acquisition point.
When the device operation data of the silk-making line PLC device which is respectively established with the main silk-making centralized control system service and the standby silk-making centralized control system service in the silk-making centralized control system in a communication connection is required to be uploaded to the upper-layer manufacturing execution system, a data uplink request can be sent to the data transmission management center, the data transmission management center receives the data uplink request, and the data uplink request comprises the device operation data of each acquisition point. The data uplink request can be analyzed to obtain the equipment operation data of each acquisition point.
Device operational data may include device temperature, current, voltage, etc.
S102: the method comprises the steps of respectively obtaining first running state information of a main silk control centralized control system service and a standby silk control centralized control system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information.
Two wire control centralized control system services can be pre-deployed in the wire control centralized control system, one of the services is pre-designated as a main wire control centralized control system service, and the other service is designated as a standby wire control centralized control system service. The first running state information of the main silk centralized control system service and the standby silk centralized control system service can be respectively obtained, the target uplink silk centralized control system service is determined according to the first running state information, if the main silk centralized control system service and the standby silk centralized control system service are both in normal running states, the main silk centralized control system service can be determined as the target uplink silk centralized control system service by default, when the main silk centralized control system service is in an abnormal state and the standby silk centralized control system service is in a normal running state, the standby silk centralized control system service can be automatically switched to the standby silk centralized control system service, and the standby silk centralized control system service is determined as the target uplink silk centralized control system service. By setting two main and standby redundant wire control centralized control system services, the two wire control centralized control system services are freely switched, when one of the two wire control centralized control system services is abnormal, normal transmission of data can still be ensured, and the stability of data transmission is ensured.
S103: and respectively acquiring second running state information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information.
Because the general data volume of the uploaded equipment operation data is large, two real-time database subsystems can be preset in a manufacturing execution system, and are in communication connection with the main silk centralized control system service and the standby silk centralized control system service, so that the equipment operation data uploaded by the target silk centralized control system service are cached, one of the equipment operation data is designated as the main real-time database subsystem in advance, and the other equipment operation data is designated as the standby real-time database subsystem. And respectively acquiring second running state information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information. For example, when the main real-time database subsystem and the standby real-time database subsystem are both in a normal operation state, the main real-time database subsystem may be determined as the target real-time database subsystem by default, and when the main real-time database subsystem is in an abnormal state and the standby real-time database subsystem is in a normal operation state, the standby real-time database subsystem may be automatically switched to the standby real-time database subsystem, and the standby real-time database subsystem may be determined as the target real-time database subsystem. By arranging the two main and standby redundant real-time database subsystems, the two real-time database subsystems are freely switched, and when one of the two real-time database subsystems is abnormal, normal caching and transmission of data can still be ensured, so that the stability of the data caching and transmission process is ensured.
S104: and respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information.
Two relational database services may be preset in the manufacturing execution system, and one of them may be designated in advance as the primary relational database service and the other as the backup relational database service. And respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information. For example, when the primary relational database service and the backup relational database service are both in a normal operation state, the primary relational database service may be determined as the target uplink relational database service by default, and when the primary relational database service is in an abnormal state and the backup relational database service is in a normal operation state, the backup relational database service may be automatically switched to, and the backup relational database service is determined as the target uplink relational database service. By setting the two main and standby redundant relational database services, the two relational database services are freely switched, and when one of the two relational database services is abnormal, normal transmission of data can still be ensured, so that the stability of data transmission is ensured.
S105: and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service.
After the target uplink control centralized control system service, the target real-time database subsystem and the target uplink relational database service are respectively determined, the target uplink control centralized control system service can be utilized to upload the running data of each device to the target uplink relational database service through the target real-time database subsystem, so that the stability of a data link in the whole uploading process of the running data of each device is ensured.
By applying the method provided by the embodiment of the invention, the data uplink request is received and analyzed to obtain the equipment operation data of each acquisition point; respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information; respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information; respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information; and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service. The redundancy backup of the silk control centralized control system service, the real-time database subsystem and the relational database service is preset respectively, so that the whole data transmission process achieves full redundancy backup, the stability of links between the real-time database subsystem and the silk control centralized control system service and between the real-time database subsystem and the relational database service is ensured, and the stability of data transmission is greatly improved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the following modified embodiments.
Example two:
referring to fig. 2, fig. 2 is a flowchart illustrating another implementation of a data transmission method for services of a cigarette factory manufacturing execution system and a centralized control system, where the method may include the following steps:
s201: and receiving a data uplink request, and analyzing the data uplink request to obtain the equipment operation data of each acquisition point.
S202: the method comprises the steps of respectively obtaining first running state information of a main silk control centralized control system service and a standby silk control centralized control system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information.
S203: respectively acquiring second running state information of a main real-time database collector, a main real-time database scheduler, a main real-time database service, a main acquisition software collector and a main acquisition software scheduler in the main real-time database subsystem, and second running state information of a standby real-time database collector, a standby real-time database scheduler, a standby real-time database service, a standby acquisition software collector and a standby acquisition software scheduler in the standby real-time database subsystem, and respectively determining a target real-time database collector, a target real-time database scheduler, a target real-time database service, a target acquisition software collector and a target acquisition software scheduler according to the second running state information to obtain a target real-time database subsystem.
A complete real-time database subsystem is composed of a real-time database collector, a real-time database scheduler, a real-time database service, a collection software collector and a collection software scheduler, the real-time database collector, the real-time database scheduler, the real-time database service, the collection software collector, and the collection software scheduler may be set to two, and pre-selecting one of the real-time database collectors as a main real-time database collector, selecting one of the real-time database schedulers as a main real-time database scheduler, selecting one of the real-time database services as a main real-time database service, selecting one of the acquisition software collectors as a main acquisition software collector, selecting one of the acquisition software schedulers as a main acquisition software scheduler, thus forming a main real-time database subsystem, and the rest forming a standby real-time database subsystem.
Second running state information of the main real-time database collector, the main real-time database scheduler, the main real-time database service, the main acquisition software collector and the main acquisition software scheduler in the main real-time database subsystem and the standby real-time database collector, the standby real-time database scheduler, the standby real-time database service, the standby acquisition software collector and the standby acquisition software scheduler in the standby real-time database subsystem can be respectively obtained, and the target real-time database collector, the target real-time database scheduler, the target real-time database service, the target acquisition software collector and the target acquisition software scheduler are respectively determined according to the second running state information to obtain the target real-time database subsystem. For each part, when both the devices in the main real-time database subsystem and the standby real-time database subsystem are in normal operation states, the corresponding part in the main real-time database subsystem may be determined as a target part by default, and when the corresponding device in the main real-time database subsystem is in an abnormal state and the corresponding part in the standby real-time database subsystem is in a normal operation state, the standby real-time database subsystem may be automatically switched to, and the standby part is determined as the target part. And thus, the determined target parts are utilized to form a target real-time database subsystem.
S204: and respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information.
S205: and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service.
S206: and synchronizing the running data of each device from the target relational database service to another relational database service when detecting that the other relational database service except the target relational database service in the main relational database service and the standby relational database service is in a normal running state.
After the target uplink system-based centralized control system service uploads the running data of each device to the target uplink relational database service through the target real-time database subsystem, when detecting that the other relational database service except the target relational database service in the main relational database service and the standby relational database service is in a normal running state, the running data of each device can be synchronously sent to the other relational database service from the target relational database service, so that the running data of each device can be successfully backed up, and the safety of the data is ensured.
S207: and receiving a data downlink request generated by analyzing the operation data of each device by the manufacturing execution system.
After receiving the operation data of each device, the target relational database service of the manufacturing execution system may analyze the operation data of each device, thereby generating a data downlink request, where the data downlink request may include device parameter control instructions corresponding to each device.
S208: and analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment respectively.
After receiving the data downlink request, the data downlink request may be analyzed to obtain device parameter control instructions corresponding to the devices, respectively.
S209: and respectively acquiring fourth running state information of the main relational database service and the standby relational database service, and determining the target downlink relational database service according to the fourth running state information.
After the device parameter control instructions corresponding to the devices are obtained through analysis, fourth operation state information of the main relational database service and the standby relational database service can be obtained respectively, and the target downlink relational database service is determined according to the fourth operation state information. Similarly, when the primary relational database service and the standby relational database service are both in a normal operation state, the primary relational database service may be determined as the target downlink relational database service by default, and when the primary relational database service is in an abnormal state and the standby relational database service is in a normal operation state, the standby relational database service may be automatically switched to and determined as the target downlink relational database service.
S210: and respectively acquiring fifth running state information of the main silk control centralized control system service and the standby silk control centralized control system service, and determining the target downlink silk control centralized control system service according to the fifth running state information.
And respectively acquiring fifth running state information of the main silk control centralized control system service and the standby silk control centralized control system service, and determining the target downlink silk control centralized control system service according to the fifth running state information. Similarly, when the main centralized control system service and the standby centralized control system service are both in a normal operation state, the main centralized control system service can be determined as the target downlink centralized control system service by default, and when the main centralized control system service is in an abnormal state and the standby centralized control system service is in a normal operation state, the standby centralized control system service can be automatically switched to the standby centralized control system service, and the standby centralized control system service is determined as the target downlink centralized control system service.
It should be noted that, the first, second, third, fourth, and fifth of the first operation state information, the second operation state information, the third operation state information, the fourth operation state information, and the fifth operation state information are only to distinguish the operation states of the respective portions, and are not sequentially distinguished.
S211: and issuing the parameter control command of each device to a target downlink control centralized control system service by using the target downlink relational database service so as to correspondingly control each device by using the target downlink control centralized control system service.
After the target downlink relational database service and the target downlink filamentation centralized control system service are determined, the target downlink relational database service can be used for issuing the parameter control command of each device to the target downlink filamentation centralized control system service, so that each device is correspondingly controlled by the target downlink filamentation centralized control system service. In a downlink, because the data volume of each equipment parameter control instruction is not very large, the relational database service is directly connected with the silk making control system service, and spans the real-time database subsystem, so that the transfer link of one layer of data is reduced, the risk of part of link faults is reduced, and the stability of the link is improved.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a data transmission device for a cigarette factory manufacturing execution system and a centralized control system, and the data transmission device for the cigarette factory manufacturing execution system and the centralized control system described below and the data transmission method for the cigarette factory manufacturing execution system and the centralized control system described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a data transmission device of a cigarette factory manufacturing execution system and a centralized control system of cigarette making process according to an embodiment of the present invention, where the data transmission device may include:
the operation data obtaining module 31 is configured to receive the data uplink request, and analyze the data uplink request to obtain the device operation data of each acquisition point;
the uplink centralized control system service determining module 32 is configured to obtain first operation state information of the main silk centralized control system service and the standby silk centralized control system service, respectively, and determine a target uplink silk centralized control system service according to the first operation state information;
the real-time database subsystem determining module 33 is configured to obtain second operation status information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system, respectively, and determine a target real-time database subsystem according to the second operation status information;
an uplink relational database service determining module 34, configured to obtain third operation state information of the primary relational database service and the standby relational database service in the manufacturing execution system, respectively, and determine a target uplink relational database service according to the third operation state information;
and the operation data uploading module 35 is configured to upload the operation data of each device to the target uplink relational database service through the target real-time database subsystem by using the target uplink control centralized control system service.
By applying the device provided by the embodiment of the invention, the data uplink request is received and analyzed to obtain the equipment operation data of each acquisition point; respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information; respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information; respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information; and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service. The redundancy backup of the silk control centralized control system service, the real-time database subsystem and the relational database service is preset respectively, so that the whole data transmission process achieves full redundancy backup, the stability of links between the real-time database subsystem and the silk control centralized control system service and between the real-time database subsystem and the relational database service is ensured, and the stability of data transmission is greatly improved.
In one embodiment of the present invention, the apparatus may further include:
and the data synchronization module is used for synchronizing the running data of each device from the target relational database service to another relational database service when detecting that the other relational database service except the target relational database service in the main relational database service and the standby relational database service is in a normal running state after the running data of each device is uploaded to the target relational database service through the target real-time database subsystem by utilizing the target system centralized control system service.
In one embodiment of the present invention, the apparatus may further include:
the downlink request receiving module is used for receiving a data downlink request generated by analyzing the running data of each device by the manufacturing execution system after the running data of each device is uploaded to the target relational database service by the target system-silk centralized control system service through the target real-time database subsystem;
the instruction obtaining module is used for analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment;
the downlink relational database service determining module is used for respectively acquiring fourth running state information of the main relational database service and the standby relational database service and determining a target downlink relational database service according to the fourth running state information;
the downlink centralized control system service determining module is used for respectively acquiring fifth running state information of the main silk centralized control system service and the standby silk centralized control system service and determining a target downlink silk centralized control system service according to the fifth running state information;
and the equipment control module is used for issuing the parameter control command of each equipment to the target downlink filamentation centralized control system service by using the target downlink relational database service so as to correspondingly control each equipment by using the target downlink filamentation centralized control system service.
In a specific embodiment of the present invention, the real-time database subsystem determination module 33 is a module that obtains second operation status information of the main real-time database collector, the main real-time database scheduler, the main real-time database service, the main acquisition software collector, and the main acquisition software scheduler in the main real-time database subsystem, and the standby real-time database collector, the standby real-time database scheduler, the standby real-time database service, the standby acquisition software collector, and the standby acquisition software scheduler in the standby real-time database subsystem, and determines the target real-time database collector, the target real-time database scheduler, the target real-time database service, the target acquisition software collector, and the target acquisition software scheduler according to the second operation status information, so as to obtain the target real-time database subsystem.
In correspondence with the above method embodiment, referring to fig. 4, fig. 4 is a schematic diagram of a data transmission device served by a cigarette factory manufacturing execution system and a centralized control system, where the data transmission device may include:
a memory 41 for storing a computer program;
the processor 42, when executing the computer program stored in the memory 41, may implement the following steps:
receiving a data uplink request, and analyzing the data uplink request to obtain equipment operation data of each acquisition point; respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information; respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information; respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information; and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service.
For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
receiving a data uplink request, and analyzing the data uplink request to obtain equipment operation data of each acquisition point; respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information; respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in the manufacturing execution system, and determining a target real-time database subsystem according to the second running state information; respectively acquiring third running state information of the main relational database service and the standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information; and uploading the running data of each device to a target uplink relational database service through a target real-time database subsystem by utilizing the target uplink system centralized control system service.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A data transmission method of a cigarette factory manufacturing execution system and a cigarette shred centralized control system is characterized by comprising the following steps:
receiving a data uplink request, and analyzing the data uplink request to obtain equipment operation data of each acquisition point;
respectively acquiring first running state information of a main silk control centralized system service and a standby silk control centralized system service in a silk control centralized control system, and determining a target uplink silk control centralized control system service according to the first running state information;
respectively acquiring second running state information of a main real-time database subsystem and a standby real-time database subsystem in a manufacturing execution system, and determining a target real-time database subsystem according to the second running state information;
respectively acquiring third running state information of a main relational database service and a standby relational database service in the manufacturing execution system, and determining a target uplink relational database service according to the third running state information;
and uploading the running data of each device to the target uplink relational database service through the target real-time database subsystem by utilizing the target uplink control centralized control system service.
2. The data transmission method for the cigarette factory manufacturing execution system and the central cigarette making control system according to claim 1, further comprising, after uploading the operation data of each of the devices to the target uplink relational database service through the target real-time database subsystem by using the target uplink central cigarette making control system service:
and synchronizing the operation data of each device from the target uplink relational database service to another relational database service when detecting that the other relational database service except the target uplink relational database service in the main relational database service and the standby relational database service is in a normal operation state.
3. The data transmission method for the cigarette factory manufacturing execution system and the centralized control system according to claim 1 or 2, after uploading the operation data of each device to the target uplink relational database service through the target real-time database subsystem by using the target uplink centralized control system service, further comprising:
receiving a data downlink request generated by analyzing the operation data of each device by the manufacturing execution system;
analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment;
respectively acquiring fourth running state information of the main relational database service and the standby relational database service, and determining a target downlink relational database service according to the fourth running state information;
respectively acquiring fifth running state information of the main silk control centralized system service and the standby silk control centralized system service, and determining a target downlink silk control centralized control system service according to the fifth running state information;
and issuing the parameter control command of each device to the target downlink control centralized control system service by using the target downlink relational database service so as to correspondingly control each device by using the target downlink control centralized control system service.
4. The data transmission method for the cigarette factory manufacturing execution system and the cigarette making centralized control system according to claim 1, wherein the step of respectively obtaining second operation status information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system and determining the target real-time database subsystem according to the second operation status information comprises the steps of:
respectively acquiring second running state information of a main real-time database collector, a main real-time database scheduler, a main real-time database service, a main acquisition software collector and a main acquisition software scheduler in the main real-time database subsystem, and second running state information of a standby real-time database collector, a standby real-time database scheduler, a standby real-time database service, a standby acquisition software collector and a standby acquisition software scheduler in the standby real-time database subsystem, and respectively determining a target real-time database collector, a target real-time database scheduler, a target real-time database service, a target acquisition software collector and a target acquisition software scheduler according to the second running state information to obtain the target real-time database subsystem.
5. A data transmission device for a cigarette factory manufacturing execution system and a cigarette making centralized control system is characterized by comprising:
the operation data acquisition module is used for receiving a data uplink request and analyzing the data uplink request to obtain equipment operation data of each acquisition point;
the system comprises an uplink centralized control system service determining module, a target uplink centralized control system service determining module and a target backup centralized control system service determining module, wherein the uplink centralized control system service determining module is used for respectively acquiring first running state information of a main wire centralized control system service and a backup wire centralized control system service and determining the target uplink centralized control system service according to the first running state information;
the real-time database subsystem determining module is used for respectively acquiring second running state information of the main real-time database subsystem and the standby real-time database subsystem in the manufacturing execution system and determining a target real-time database subsystem according to the second running state information;
an uplink relational database service determining module, configured to obtain third operation state information of the primary relational database service and the standby relational database service in the manufacturing execution system, respectively, and determine a target uplink relational database service according to the third operation state information;
and the running data uploading module is used for uploading the running data of each device to the target uplink relational database service through the target real-time database subsystem by utilizing the target uplink control centralized control system service.
6. The data transmission device for the cigarette factory manufacturing execution system and the centralized cigarette making control system according to claim 5, further comprising:
and the data synchronization module is used for synchronizing the running data of each device from the target uplink relational database service to the other relational database service when detecting that the other relational database service except the target uplink relational database service in the main relational database service and the standby relational database service is in a normal running state after the target uplink system centralized control system service is used for uploading the running data of each device to the target uplink relational database service through the target real-time database subsystem.
7. The data transmission device for the cigarette factory manufacturing execution system and the centralized cigarette making control system according to claim 5 or 6, further comprising:
a downlink request receiving module, configured to receive a data downlink request generated by the manufacturing execution system through analysis of the operation data of each device after the target uplink system centralized control system service is used to upload the operation data of each device to the target uplink relational database service through the target real-time database subsystem;
the instruction obtaining module is used for analyzing the data downlink request to obtain equipment parameter control instructions corresponding to the equipment;
a downlink relational database service determining module, configured to obtain fourth operation state information of the primary relational database service and the standby relational database service, respectively, and determine a target downlink relational database service according to the fourth operation state information;
the downlink centralized control system service determining module is used for respectively acquiring fifth running state information of the main silk centralized control system service and the standby silk centralized control system service and determining a target downlink silk centralized control system service according to the fifth running state information;
and the equipment control module is used for issuing the equipment parameter control instructions to the target downlink control centralized control system service by using the target downlink relational database service so as to correspondingly control the equipment by using the target downlink control centralized control system service.
8. The data transmission device of the cigarette factory manufacturing execution system and the cigarette making centralized control system according to claim 5, wherein the real-time database subsystem determination module is specifically configured to respectively obtain second operating status information of the main real-time database collector, the main real-time database scheduler, the main real-time database service, the main acquisition software collector, and the main acquisition software scheduler in the main real-time database subsystem, and the standby real-time database collector, the standby real-time database scheduler, the standby real-time database service, the standby acquisition software collector, and the standby acquisition software scheduler in the standby real-time database subsystem, and respectively determine the target real-time database collector, the target real-time database scheduler, the target real-time database service, the target acquisition software collector, the target acquisition software scheduler, the standby acquisition software scheduler, and the standby acquisition software scheduler according to the second operating status information, And the target acquisition software scheduler obtains a module of the target real-time database subsystem.
9. A data transmission device of a cigarette factory manufacturing execution system and a cigarette making centralized control system is characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the data transmission method between the cigarette factory manufacturing execution system and the centralized control system according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program, which when executed by a processor implements the steps of the data transmission method of the cigarette factory manufacturing execution system and the centralized control system according to any one of claims 1 to 4.
CN201911128758.2A 2019-11-18 2019-11-18 Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system Active CN110794791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911128758.2A CN110794791B (en) 2019-11-18 2019-11-18 Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911128758.2A CN110794791B (en) 2019-11-18 2019-11-18 Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system

Publications (2)

Publication Number Publication Date
CN110794791A CN110794791A (en) 2020-02-14
CN110794791B true CN110794791B (en) 2021-03-02

Family

ID=69445136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911128758.2A Active CN110794791B (en) 2019-11-18 2019-11-18 Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system

Country Status (1)

Country Link
CN (1) CN110794791B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364129B (en) * 2021-06-25 2022-11-25 广西电网有限责任公司 High-availability method for data processing service of power grid monitoring system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4704736B2 (en) * 2004-11-04 2011-06-22 新日鉄ソリューションズ株式会社 Data processing apparatus, data processing method and program thereof
KR20080016514A (en) * 2007-11-06 2008-02-21 하연태 Manufacturing execution management system
CN101883094B (en) * 2010-05-21 2012-11-14 浙江工业大学 Embedded universal plug and play industrial monitoring network database service system
CN102692897B (en) * 2012-05-07 2014-04-09 西安中创物联科技有限公司 Internet of Things based industrial equipment monitoring system and method thereof
DE102014206737A1 (en) * 2013-04-08 2014-10-09 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Method for calculating key performance indicators (KPIs) for the evaluation, adaptation and optimized control of plants and / or machines and equipment therefor
CN206322012U (en) * 2016-12-08 2017-07-11 平顶山中选自控系统有限公司 A kind of MES system for coal preparation plant
CN207133649U (en) * 2017-08-14 2018-03-23 陕西安控科技有限公司 A kind of outlying well digital monitor system in oil field
CN107395478B (en) * 2017-08-23 2022-08-05 上海兰宝传感科技股份有限公司 Network control system and network communication module for high-speed cigarette packaging equipment
CN207099099U (en) * 2017-08-23 2018-03-13 上海兰宝传感科技股份有限公司 A kind of ARCNET modules for high speed cigarette packaging facilities
CN208459843U (en) * 2018-01-04 2019-02-01 北京奔驰汽车有限公司 The batching data processing unit and monitoring system of manufactruing equipment of automobile
CN109222208B (en) * 2018-10-30 2021-07-06 杭州安脉盛智能技术有限公司 Cut tobacco making process analysis optimization method and system oriented to cigarette production index control
CN110750592B (en) * 2019-09-06 2023-10-20 中国平安财产保险股份有限公司 Data synchronization method, device and terminal equipment

Also Published As

Publication number Publication date
CN110794791A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
EP3624296B1 (en) Battery management system and communication method thereof
CN108924007B (en) Big data acquisition and storage system and method of communication operation information
CN110794791B (en) Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system
CN110457176A (en) For the monitoring method of distributed system, device, storage medium and electronic equipment
CN110912972A (en) Service processing method, system, electronic equipment and readable storage medium
CN114070851A (en) Service recovery method, storage medium and system based on MEC edge cloud
CN112765035A (en) Distributed pressure test system, method, device, electronic equipment and storage medium
EP3660679B1 (en) Data backup method, device and system
JP2012175376A (en) Management apparatus and data collection apparatus
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN110855003A (en) Method and device for calling and comparing self-adaptive configuration of main station
CN103414252A (en) Transformer substation communication service configuration information real-time synchronization system and method thereof
CN216134483U (en) Communication test device for decentralized control system
CN104601693A (en) Method and device for responding to operation instruction in distributive system
CN114143330A (en) Configuration method, device and system of time server
CN113467955A (en) Intelligent distribution method and system for data acquisition link of distribution network master station
CN113704341A (en) Data acquisition system and method
CN113271282B (en) Program updating method, device and system
CN113364659B (en) Data acquisition system based on Modbus protocol
CN109683924B (en) Application software upgrading method, system, equipment and computer readable storage medium
CN109726190B (en) Automatic switching method and device for database control center and storage medium
CN116719639A (en) Link dynamic adjustment and data processing method, device, computer equipment and medium
WO2022267866A1 (en) Method for acquiring power supply information, electronic device, and computer-readable storage medium
CN105281991A (en) Distribution network terminal self-description method based on IEC 60870-5-104 protocol expansion

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
GR01 Patent grant
GR01 Patent grant