CN116451976A - Automatic production-based production flow configuration method and related equipment - Google Patents
Automatic production-based production flow configuration method and related equipment Download PDFInfo
- Publication number
- CN116451976A CN116451976A CN202310699350.0A CN202310699350A CN116451976A CN 116451976 A CN116451976 A CN 116451976A CN 202310699350 A CN202310699350 A CN 202310699350A CN 116451976 A CN116451976 A CN 116451976A
- Authority
- CN
- China
- Prior art keywords
- production
- task
- flow engine
- tasks
- correction
- 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.)
- Granted
Links
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 319
- 238000000034 method Methods 0.000 title claims abstract description 98
- 238000012937 correction Methods 0.000 claims abstract description 92
- 238000012545 processing Methods 0.000 claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000005856 abnormality Effects 0.000 claims abstract description 7
- 230000008569 process Effects 0.000 claims description 59
- 230000015654 memory Effects 0.000 claims description 29
- 238000012544 monitoring process Methods 0.000 claims description 14
- 239000000284 extract Substances 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000003860 storage Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 11
- 238000004458 analytical method Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
Abstract
The invention discloses a production flow configuration method based on automatic production and related equipment, and relates to the technical field of intelligent production, wherein the method comprises the following steps: performing node correction processing on the flow nodes deployed in the current flow engine of the background page based on the production plan to obtain a corrected flow engine; collecting production events generated by a front-end page based on an event collector, and generating production tasks based on the collected production events; assigning production tasks to different task queues based on the task allocator; extracting production tasks from different task queues based on a task executor to execute the production tasks; and responding and processing the abnormality in the execution state information and the execution result information based on the responder, and feeding back a response processing result to the corresponding management user. In the invention, different flow nodes can be configured according to different production plans to carry out production execution on different production tasks, and the method has higher expansibility and flexibility.
Description
Technical Field
The invention relates to the technical field of intelligent production, in particular to a production flow configuration method based on automatic production and related equipment.
Background
As more and more manufacturing enterprises are adapted to the change of the digitization age, a great cost is spent on various informatization and digitization management systems to assist intelligent manufacturing. Because of the specificity of the manufacturing industry and the irreproducibility of the process, the system is custom developed in planning, so that the system has long response time to the requirement change and function optimization of users after being on line, and particularly relates to the fact that the underlying logic is modified so as not to respond to the requirement of the clients.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a production flow configuration method and related equipment based on automatic production, which can configure different flow nodes according to different production plans, carry out production execution on different production tasks and have higher expansibility and flexibility.
In order to solve the technical problems, the invention provides a production flow configuration method based on automatic production, which comprises the following steps:
performing node correction processing on flow nodes in a current flow engine deployed in a background page based on a production plan created by an MES system to obtain a corrected flow engine, wherein the current flow engine is a production flow formed by freely connecting packaged component nodes in series;
the correction flow engine collects production events generated by the front-end page based on the event collector and generates production tasks based on the collected production events;
the correction flow engine distributes the production tasks to different task queues according to the task types and the priorities of the production tasks based on a task distributor;
the correction flow engine extracts the production task from different task queues based on a task executor to execute the production task, and obtains execution state information and execution result information of the production task in the execution process;
and the correction flow engine responds to the abnormality in the execution state information and the execution result information based on a responder and feeds back a response processing result to a corresponding management user.
Optionally, the correction flow engine further includes a monitor, and the method further includes:
and monitoring the correction flow engine based on the monitor to obtain a monitoring result, and scheduling and optimizing the correction flow engine by utilizing a preset strategy based on the monitoring result.
Optionally, the node correction processing is performed on the flow nodes in the current flow engine deployed in the background page by the production plan created based on the MES system, so as to obtain a corrected flow engine, including:
generating request access data for requesting access to the MES system in the HttpOut node of the background page, wherein the request access data comprises a requested URL, a return value type, a request parameter and a request mode;
the MES system loads the created production plan into the background page based on the return value type and the request parameter in the request access data;
and carrying out node adding and deleting correction processing on the flow nodes in the current flow engine deployed on the background page based on the production plan to obtain a corrected flow engine.
Optionally, the correction flow engine collects the production event generated by the front-end page based on the event collector, including:
and the event collector in the correction flow engine collects production events generated on the front-end page correspondingly bound with the background page based on timing trigger or manual trigger of a user.
Optionally, the page is used for responding to the production work order instruction of the user;
when the front-end page responds to the production work order instruction, a production work order is created on the front-end page, and the production work order is configured to form a production event;
the page attribute of the front-end page comprises a front-end component ID, the front-end component ID has uniqueness, and the front-end page is correspondingly bound with the background page based on the front-end component ID.
Optionally, the modification flow engine assigns the production task to different task queues according to the task type and the priority of the production task based on a task assigner, including:
the correction flow engine analyzes the production task by utilizing the task distributor to obtain the task type and the priority in the production task;
obtaining corresponding production time consumption and production resource consumption of the production task during production based on the task type in the production task;
the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production based on a task distributor, and adjusts the positions of the production tasks in the task queues according to the priority of the production tasks.
Optionally, the modification process engine extracts the production task from different task queues for executing based on a task executor, including:
the task executor in the correction flow engine utilizes the task types in the production tasks in different task queues to match corresponding task processing logic, wherein the task executor stores the task processing logic corresponding to different task types;
and a task executor in the correction flow engine executes the corresponding production tasks in different task queues according to the task processing logic corresponding to the production tasks, and feeds back task execution progress and execution state information of the production tasks to the task distributor in real time when the production tasks are executed.
In addition, the application also provides a background server, which comprises a processor and a memory, wherein the processor runs a computer program or code stored in the memory to realize the production flow configuration method according to any one of the above.
In addition, the present application also provides a computer readable storage medium for storing a computer program or code which, when executed by a processor, implements the production flow configuration method as described in any one of the above.
In the invention, the process node correction is carried out on the process engine deployed on the background page through the production plan, so that the corrected process engine accords with the current production plan, and then the production process is executed on the production event generated by the front-end page through the corrected process engine according to the process; different flow nodes can be configured according to different production plans, and different production tasks are carried out in production execution, so that the method has higher expansibility and flexibility.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings which are required in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram of a process configuration method based on automated production in an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an apparatus for configuring a production process based on automated production in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a background server according to an embodiment of the present invention.
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.
Referring to fig. 1, fig. 1 is a flow chart illustrating a method for configuring a production flow based on automated production according to an embodiment of the invention.
As shown in fig. 1, a production flow configuration method based on automated production, the method includes:
s11: performing node correction processing on flow nodes in a current flow engine deployed in a background page based on a production plan created by an MES system to obtain a corrected flow engine, wherein the current flow engine is a production flow formed by freely connecting packaged component nodes in series;
in the implementation process of the invention, the MES system-created production plan carries out node correction processing on the flow nodes in the current flow engine deployed in the background page to obtain a corrected flow engine, and the method comprises the following steps: generating request access data for requesting access to the MES system in an HttpOut node of the background page, wherein the request access data comprises a URL (uniform resource locator), a return value type, a request parameter and a request mode of the request; the MES system loads the created production plan into the background page based on the return value type and the request parameter in the request access data; and carrying out node adding and deleting correction processing on the flow nodes in the current flow engine deployed on the background page based on the production plan to obtain a corrected flow engine.
Specifically, an HttpOut node is arranged on the background page, and is used for accessing the MES system and reading a production plan generated in the MES system, wherein the production plan which is requested to be read is marked, and the production plan is not repeatedly read when requested next time; when the HttpOut node desynchronizes a request to read a production plan in the MES system, firstly, request access data in the HttpOut node is configured, wherein the request access data at least comprises a request URL, a return value type, a request parameter and a request mode; these all require configuration on the HttpOut node of the background page; after the MES system receives the request access data of the HttpOut node, loading the created production plan to the background page according to the return value type, the request parameters and the like in the request access data, and marking the production plan loaded to the background page as requested; because the process nodes in the process engines on the background page are already constructed, then the process nodes in the current process engines deployed on the background page are subjected to adding, deleting, adjusting and correcting processing according to the production plan, so that new process nodes are formed, and the corrected process engines can be obtained.
S12: the correction flow engine collects production events generated by the front-end page based on the event collector and generates production tasks based on the collected production events;
in the implementation process of the invention, the correction flow engine collects the production event generated by the front-end page based on the event collector, and the correction flow engine comprises the following steps: and the event collector in the correction flow engine collects production events generated on the front-end page correspondingly bound with the background page based on timing trigger or manual trigger of a user.
Further, the page is used for responding to the production work order instruction of the user; when the front-end page responds to the production work order instruction, a production work order is created on the front-end page, and the production work order is configured to form a production event; the page attribute of the front-end page comprises a front-end component ID, the front-end component ID has uniqueness, and the front-end page is correspondingly bound with the background page based on the front-end component ID.
Specifically, the production events generated on the front-end page correspondingly bound with the background page are collected in a mode of timing trigger or manual trigger of a user by an event collector in the correction flow engine, wherein the event collector can be an event collection node in the correction flow engine, can set timing trigger and can also receive manual trigger of the user; the front-end page can respond to a production work order instruction of a user, and a production work order is created on the front-end page, wherein the production work order comprises information of a belonging production plan, plan completion time, responsible persons, yield and the like; on the generation work order, a user can configure components such as text, number, date, export, import and the like according to actual requirements, and the components are bound according to attributes during configuration; meanwhile, the page attribute of the front-end page comprises a front-end component ID, and the front-end component ID has uniqueness; the front-end page can be bound with the background page through the front-end component ID, namely the background page can accurately access to the front-end page which is bound correspondingly through the front-end component ID.
S13: the correction flow engine distributes the production tasks to different task queues according to the task types and the priorities of the production tasks based on a task distributor;
in the implementation process of the invention, the correction flow engine distributes the production task to different task queues according to the task type and the priority of the production task based on a task distributor, and the correction flow engine comprises the following steps: the correction flow engine analyzes the production task by utilizing the task distributor to obtain the task type and the priority in the production task; obtaining corresponding production time consumption and production resource consumption of the production task during production based on the task type in the production task; the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production based on a task distributor, and adjusts the positions of the production tasks in the task queues according to the priority of the production tasks.
Specifically, the correction flow engine analyzes the production task by using a task distributor to obtain the task type and priority in the production task, the task distributor is provided with an analysis function, the analysis function is used for analyzing the production task, and the analysis function can be used for customizing and writing codes to analyze data according to the requirements of users; analyzing the production task through an analysis function in the task distributor, so as to obtain the task type in the generation task and determine the priority according to the planned completion time of the production task; meanwhile, the task distributor calculates and matches the task types in the production task to obtain the corresponding production time consumption and resource consumption data of the production task during production; then the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production through the task distributor, and then adjusts the positions of the production tasks in the task queues according to the priorities of the production tasks in each task queue.
S14: the correction flow engine extracts the production task from different task queues based on a task executor to execute the production task, and obtains execution state information and execution result information of the production task in the execution process;
in the implementation process of the invention, the correction flow engine extracts the production task from different task queues based on a task executor to execute the production task, and the correction flow engine comprises the following steps: the task executor in the correction flow engine utilizes the task types in the production tasks in different task queues to match corresponding task processing logic, wherein the task executor stores the task processing logic corresponding to different task types; and a task executor in the correction flow engine executes the corresponding production tasks in different task queues according to the task processing logic corresponding to the production tasks, and feeds back task execution progress and execution state information of the production tasks to the task distributor in real time when the production tasks are executed.
Specifically, a task executor in the correction flow engine matches corresponding task processing logic by utilizing task types in production tasks in different task queues, wherein the task executor stores task processing logic corresponding to different task types; and then a task executor in the correction flow engine executes corresponding production tasks in different task queues according to task processing logic corresponding to the production tasks, and feeds back task execution progress, execution state information and the like of the production tasks to a task distributor in real time when the production tasks are executed.
S15: and the correction flow engine responds to the abnormality in the execution state information and the execution result information based on a responder and feeds back a response processing result to a corresponding management user.
In the implementation process of the invention, a responder exists in the correction flow engine, response processing is carried out on the abnormality in the execution state information and the execution result information through the responder, and the response processing result is fed back to the corresponding management user, wherein the responder is mainly responsible for triggering subsequent actions or events according to the task execution result or other relevant factors so as to update service data or inform relevant personnel and the like; in addition, the responder also needs to process abnormal conditions generated in the task processing process so as to ensure the correctness and reliability of the service data.
In the implementation of the present invention, the correction flow engine further includes a monitor, and the method further includes: and monitoring the correction flow engine based on the monitor to obtain a monitoring result, and scheduling and optimizing the correction flow engine by utilizing a preset strategy based on the monitoring result.
Specifically, the monitor is used for monitoring and managing the whole automatic process engine, finding out problems in the process engine in time, and scheduling and optimizing according to a preset strategy. The monitor also needs to provide detailed statistical analysis report forms and performance data to support the enterprise decision maker.
In the invention, the process node correction is carried out on the process engine deployed on the background page through the production plan, so that the corrected process engine accords with the current production plan, and then the production process is executed on the production event generated by the front-end page through the corrected process engine according to the process; different flow nodes can be configured according to different production plans, and different production tasks are carried out in production execution, so that the method has higher expansibility and flexibility.
In a second embodiment, referring to fig. 2, fig. 2 is a schematic structural diagram of a production flow configuration device based on automated production in an embodiment of the invention.
As shown in fig. 2, a production flow configuration device based on automated production, the device includes:
correction module 21: the method comprises the steps of carrying out node correction processing on flow nodes in a current flow engine deployed in a background page based on a production plan created by an MES system to obtain a corrected flow engine, wherein the flow engine is a production flow formed by freely connecting packaged component nodes in series;
in the implementation process of the invention, the MES system-created production plan carries out node correction processing on the flow nodes in the current flow engine deployed in the background page to obtain a corrected flow engine, and the method comprises the following steps: generating request access data for requesting access to the MES system in an HttpOut node of the background page, wherein the request access data comprises a URL (uniform resource locator), a return value type, a request parameter and a request mode of the request; the MES system loads the created production plan into the background page based on the return value type and the request parameter in the request access data; and carrying out node adding and deleting correction processing on the flow nodes in the current flow engine deployed on the background page based on the production plan to obtain a corrected flow engine.
Specifically, an HttpOut node is arranged on the background page, and is used for accessing the MES system and reading a production plan generated in the MES system, wherein the production plan which is requested to be read is marked, and the production plan is not repeatedly read when requested next time; when the HttpOut node desynchronizes a request to read a production plan in the MES system, firstly, request access data in the HttpOut node is configured, wherein the request access data at least comprises a request URL, a return value type, a request parameter and a request mode; these all require configuration on the HttpOut node of the background page; after the MES system receives the request access data of the HttpOut node, loading the created production plan to the background page according to the return value type, the request parameters and the like in the request access data, and marking the production plan loaded to the background page as requested; because the process nodes in the process engines on the background page are already constructed, then the process nodes in the current process engines deployed on the background page are subjected to adding, deleting, adjusting and correcting processing according to the production plan, so that new process nodes are formed, and the corrected process engines can be obtained.
Event collector module 22: the correction flow engine is used for collecting production events generated by the front-end page based on the event collector and generating production tasks based on the collected production events;
in the implementation process of the invention, the correction flow engine collects the production event generated by the front-end page based on the event collector, and the correction flow engine comprises the following steps: and the event collector in the correction flow engine collects production events generated on the front-end page correspondingly bound with the background page based on timing trigger or manual trigger of a user.
Further, the page is used for responding to the production work order instruction of the user; when the front-end page responds to the production work order instruction, a production work order is created on the front-end page, and the production work order is configured to form a production event; the page attribute of the front-end page comprises a front-end component ID, the front-end component ID has uniqueness, and the front-end page is correspondingly bound with the background page based on the front-end component ID.
Specifically, the production events generated on the front-end page correspondingly bound with the background page are collected in a mode of timing trigger or manual trigger of a user by an event collector in the correction flow engine, wherein the event collector can be an event collection node in the correction flow engine, can set timing trigger and can also receive manual trigger of the user; the front-end page can respond to a production work order instruction of a user, and a production work order is created on the front-end page, wherein the production work order comprises information of a belonging production plan, plan completion time, responsible persons, yield and the like; on the generation work order, a user can configure components such as text, number, date, export, import and the like according to actual requirements, and the components are bound according to attributes during configuration; meanwhile, the page attribute of the front-end page comprises a front-end component ID, and the front-end component ID has uniqueness; the front-end page can be bound with the background page through the front-end component ID, namely the background page can accurately access to the front-end page which is bound correspondingly through the front-end component ID.
Task allocator module 23: the correction flow engine is used for distributing the production tasks to different task queues according to the task types and the priorities of the production tasks based on a task distributor;
in the implementation process of the invention, the correction flow engine distributes the production task to different task queues according to the task type and the priority of the production task based on a task distributor, and the correction flow engine comprises the following steps: the correction flow engine analyzes the production task by utilizing the task distributor to obtain the task type and the priority in the production task; obtaining corresponding production time consumption and production resource consumption of the production task during production based on the task type in the production task; the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production based on a task distributor, and adjusts the positions of the production tasks in the task queues according to the priority of the production tasks.
Specifically, the correction flow engine analyzes the production task by using a task distributor to obtain the task type and priority in the production task, the task distributor is provided with an analysis function, the analysis function is used for analyzing the production task, and the analysis function can be used for customizing and writing codes to analyze data according to the requirements of users; analyzing the production task through an analysis function in the task distributor, so as to obtain the task type in the generation task and determine the priority according to the planned completion time of the production task; meanwhile, the task distributor calculates and matches the task types in the production task to obtain the corresponding production time consumption and resource consumption data of the production task during production; then the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production through the task distributor, and then adjusts the positions of the production tasks in the task queues according to the priorities of the production tasks in each task queue.
Task executor module 24: the correction flow engine is used for extracting the production task from different task queues based on a task executor to execute the production task, and acquiring execution state information and execution result information of the production task in the execution process;
in the implementation process of the invention, the correction flow engine extracts the production task from different task queues based on a task executor to execute the production task, and the correction flow engine comprises the following steps: the task executor in the correction flow engine utilizes the task types in the production tasks in different task queues to match corresponding task processing logic, wherein the task executor stores the task processing logic corresponding to different task types; and a task executor in the correction flow engine executes the corresponding production tasks in different task queues according to the task processing logic corresponding to the production tasks, and feeds back task execution progress and execution state information of the production tasks to the task distributor in real time when the production tasks are executed.
Specifically, a task executor in the correction flow engine matches corresponding task processing logic by utilizing task types in production tasks in different task queues, wherein the task executor stores task processing logic corresponding to different task types; and then a task executor in the correction flow engine executes corresponding production tasks in different task queues according to task processing logic corresponding to the production tasks, and feeds back task execution progress, execution state information and the like of the production tasks to a task distributor in real time when the production tasks are executed.
The responder module 25: and the correction flow engine is used for responding and processing the abnormality in the execution state information and the execution result information based on a responder and feeding back a response processing result to a corresponding management user.
In the implementation process of the invention, a responder exists in the correction flow engine, response processing is carried out on the abnormality in the execution state information and the execution result information through the responder, and the response processing result is fed back to the corresponding management user, wherein the responder is mainly responsible for triggering subsequent actions or events according to the task execution result or other relevant factors so as to update service data or inform relevant personnel and the like; in addition, the responder also needs to process abnormal conditions generated in the task processing process so as to ensure the correctness and reliability of the service data.
In the implementation process of the invention, the correction flow engine further comprises a monitor, wherein the monitor is used for monitoring the correction flow engine based on the monitor to obtain a monitoring result, and scheduling and optimizing the correction flow engine by utilizing a preset strategy based on the monitoring result.
Specifically, the monitor is used for monitoring and managing the whole automatic process engine, finding out problems in the process engine in time, and scheduling and optimizing according to a preset strategy. The monitor also needs to provide detailed statistical analysis report forms and performance data to support the enterprise decision maker.
In the invention, the process node correction is carried out on the process engine deployed on the background page through the production plan, so that the corrected process engine accords with the current production plan, and then the production process is executed on the production event generated by the front-end page through the corrected process engine according to the process; different flow nodes can be configured according to different production plans, and different production tasks are carried out in production execution, so that the method has higher expansibility and flexibility.
An embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the production flow configuration method of any one of the above embodiments. The computer readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS Memory, random access memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable ProgrammableRead-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., computer, cell phone), and may be read-only memory, magnetic or optical disk, etc.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the production flow configuration method of any one of the embodiments.
In addition, fig. 3 is a schematic structural diagram of a background server according to an embodiment of the present invention.
The embodiment of the invention also provides a background server, as shown in fig. 3. The background server includes a processor 302, a memory 303, an input unit 304, a display unit 305, and the like. It will be appreciated by those skilled in the art that the device architecture shown in fig. 3 does not constitute a limitation of all devices, and may include more or fewer components than shown, or may combine certain components. The memory 303 may be used to store an application 301 and various functional modules, and the processor 302 runs the application 301 stored in the memory 303, thereby performing various functional applications of the device and data processing. The memory may be internal memory or external memory, or include both internal memory and external memory. The internal memory may include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, floppy disk, ZIP disk, U-disk, tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The memory disclosed herein is by way of example only and not by way of limitation.
The input unit 304 is used for receiving input of a signal and receiving keywords input by a user. The input unit 304 may include a touch panel and other input devices. The touch panel may collect touch operations on or near the user (e.g., the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, mouse, joystick, etc. The display unit 305 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 305 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 302 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, performs various functions and processes data by running or executing software programs and/or modules stored in the memory 303, and invoking data stored in the memory.
As one embodiment, the background server includes: the system comprises one or more processors 302, a memory 303, one or more application programs 301, wherein the one or more application programs 301 are stored in the memory 303 and configured to be executed by the one or more processors 302, and the one or more application programs 301 are configured to perform the method of configuring a production flow in any of the embodiments described above.
In the invention, the process node correction is carried out on the process engine deployed on the background page through the production plan, so that the corrected process engine accords with the current production plan, and then the production process is executed on the production event generated by the front-end page through the corrected process engine according to the process; different flow nodes can be configured according to different production plans, and different production tasks are carried out in production execution, so that the method has higher expansibility and flexibility.
In addition, the above description has been made in detail on a production flow configuration method and related equipment based on automated production provided by the embodiments of the present invention, and specific examples should be adopted herein to illustrate the principles and embodiments of the present invention, where the description of the above embodiments is only for helping to understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (9)
1. A production flow configuration method based on automated production, the method comprising:
performing node correction processing on flow nodes in a current flow engine deployed in a background page based on a production plan created by an MES system to obtain a corrected flow engine, wherein the current flow engine is a production flow formed by freely connecting packaged component nodes in series;
the correction flow engine collects production events generated by the front-end page based on the event collector and generates production tasks based on the collected production events;
the correction flow engine distributes the production tasks to different task queues according to the task types and the priorities of the production tasks based on a task distributor;
the correction flow engine extracts the production task from different task queues based on a task executor to execute the production task, and obtains execution state information and execution result information of the production task in the execution process;
and the correction flow engine responds to the abnormality in the execution state information and the execution result information based on a responder and feeds back a response processing result to a corresponding management user.
2. The production flow configuration method of claim 1, wherein the rework flow engine further comprises a monitor, the method further comprising:
and monitoring the correction flow engine based on the monitor to obtain a monitoring result, and scheduling and optimizing the correction flow engine by utilizing a preset strategy based on the monitoring result.
3. The method according to claim 1, wherein the step of performing node correction processing on the flow nodes in the current flow engine deployed in the background page based on the production plan created by the MES system to obtain a corrected flow engine comprises:
generating request access data for requesting access to the MES system in the HttpOut node of the background page, wherein the request access data comprises a requested URL, a return value type, a request parameter and a request mode;
the MES system loads the created production plan into the background page based on the return value type and the request parameter in the request access data;
and carrying out node adding and deleting correction processing on the flow nodes in the current flow engine deployed on the background page based on the production plan to obtain a corrected flow engine.
4. The production flow configuration method of claim 1, wherein the modified flow engine collects production events generated by the front-end page based on an event collector, comprising:
and the event collector in the correction flow engine collects production events generated on the front-end page correspondingly bound with the background page based on timing trigger or manual trigger of a user.
5. The method of claim 4, wherein the front-end page is configured to respond to a user's production job ticket instructions;
when the front-end page responds to the production work order instruction, a production work order is created on the front-end page, and the production work order is configured to form a production event;
the page attribute of the front-end page comprises a front-end component ID, the front-end component ID has uniqueness, and the front-end page is correspondingly bound with the background page based on the front-end component ID.
6. The production flow configuration method of claim 1, wherein the rework flow engine assigns the production tasks to different task queues according to task type and priority of the production tasks based on task assigner, comprising:
the correction flow engine analyzes the production task by utilizing the task distributor to obtain the task type and the priority in the production task;
obtaining corresponding production time consumption and production resource consumption of the production task during production based on the task type in the production task;
the correction flow engine distributes the production tasks to different task queues according to the corresponding production time consumption and production resource consumption of the production tasks during production based on a task distributor, and adjusts the positions of the production tasks in the task queues according to the priority of the production tasks.
7. The method of claim 1, wherein the modified flow engine extracts the production tasks from different task queues for execution based on a task executor, comprising:
the task executor in the correction flow engine utilizes the task types in the production tasks in different task queues to match corresponding task processing logic, wherein the task executor stores the task processing logic corresponding to different task types;
and a task executor in the correction flow engine executes the corresponding production tasks in different task queues according to the task processing logic corresponding to the production tasks, and feeds back task execution progress and execution state information of the production tasks to the task distributor in real time when the production tasks are executed.
8. A background server comprising a processor and a memory, wherein the processor runs a computer program or code stored in the memory, implementing the production flow configuration method of any one of claims 1 to 7.
9. A computer readable storage medium storing a computer program or code which, when executed by a processor, implements the production flow configuration method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310699350.0A CN116451976B (en) | 2023-06-14 | 2023-06-14 | Automatic production-based production flow configuration method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310699350.0A CN116451976B (en) | 2023-06-14 | 2023-06-14 | Automatic production-based production flow configuration method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116451976A true CN116451976A (en) | 2023-07-18 |
CN116451976B CN116451976B (en) | 2023-08-25 |
Family
ID=87125947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310699350.0A Active CN116451976B (en) | 2023-06-14 | 2023-06-14 | Automatic production-based production flow configuration method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116451976B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111695749A (en) * | 2019-03-14 | 2020-09-22 | 北京京东尚科信息技术有限公司 | Method and device for generating grouping tasks |
CN113627832A (en) * | 2021-10-09 | 2021-11-09 | 国网江苏省电力有限公司营销服务中心 | Task multi-stage intelligent scheduling method for electricity utilization information acquisition |
US11232383B1 (en) * | 2020-03-06 | 2022-01-25 | Spg Holding, Llc | Systems and methods for transformative corporate formation and automated technology assessment |
CN115484317A (en) * | 2021-05-31 | 2022-12-16 | 深圳富桂精密工业有限公司 | Cloud edge cooperative processing method of industrial internet, electronic device and storage medium |
CN116089048A (en) * | 2023-02-17 | 2023-05-09 | 杭州网易云音乐科技有限公司 | Service processing method and device, storage medium and electronic equipment |
-
2023
- 2023-06-14 CN CN202310699350.0A patent/CN116451976B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111695749A (en) * | 2019-03-14 | 2020-09-22 | 北京京东尚科信息技术有限公司 | Method and device for generating grouping tasks |
US11232383B1 (en) * | 2020-03-06 | 2022-01-25 | Spg Holding, Llc | Systems and methods for transformative corporate formation and automated technology assessment |
CN115484317A (en) * | 2021-05-31 | 2022-12-16 | 深圳富桂精密工业有限公司 | Cloud edge cooperative processing method of industrial internet, electronic device and storage medium |
CN113627832A (en) * | 2021-10-09 | 2021-11-09 | 国网江苏省电力有限公司营销服务中心 | Task multi-stage intelligent scheduling method for electricity utilization information acquisition |
CN116089048A (en) * | 2023-02-17 | 2023-05-09 | 杭州网易云音乐科技有限公司 | Service processing method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN116451976B (en) | 2023-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110069572B (en) | HIVE task scheduling method, device, equipment and storage medium based on big data platform | |
CN110287052B (en) | Root cause task determination method and device for abnormal task | |
US8151248B1 (en) | Method and system for software defect management | |
US8938421B2 (en) | Method and a system for synchronizing data | |
CN111125444A (en) | Big data task scheduling management method, device, equipment and storage medium | |
US8880591B2 (en) | Workflow management in distributed systems | |
US7827273B2 (en) | Machine cluster topology representation for automated testing | |
CN108491254A (en) | A kind of dispatching method and device of data warehouse | |
US8538793B2 (en) | System and method for managing real-time batch workflows | |
CN108037919A (en) | A kind of visualization big data workflow configuration method and system based on WEB | |
US20210320839A1 (en) | Self-monitoring | |
US8914798B2 (en) | Production control for service level agreements | |
CN108763093A (en) | A kind of automated testing method and system | |
CN111367792A (en) | Test method, test device, storage medium and electronic equipment | |
CN112286806A (en) | Automatic testing method and device, storage medium and electronic equipment | |
CN108268546A (en) | A kind of method and device for optimizing database | |
CN114416849A (en) | Data processing method and device, electronic equipment and storage medium | |
CN113157411B (en) | Celery-based reliable configurable task system and device | |
CN112559525B (en) | Data checking system, method, device and server | |
CN116451976B (en) | Automatic production-based production flow configuration method and related equipment | |
CN116578497A (en) | Automatic interface testing method, system, computer equipment and storage medium | |
CN113760677A (en) | Abnormal link analysis method, device, equipment and storage medium | |
CN113722141B (en) | Method and device for determining delay reason of data task, electronic equipment and medium | |
CN116187915A (en) | Warehouse management method, device, equipment and storage medium | |
CN109525642B (en) | LIMS system client data automatic reporting method under user mechanism |
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 |