Data generation method, device and medium
By obtaining and extracting the action form of the target project and generating a process flow chart, the problems of low efficiency and error-prone generation of process flow charts in the prior art are solved, and efficient and accurate design of the automated control system is achieved.
Patent Information
- Application Number
- CN202410008731.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-03
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-01-03
AI Technical Summary
In the batch production processing of pharmaceuticals, daily chemicals, biopharmaceuticals and other industries, it is difficult for the existing technology to generate process flow charts efficiently and accurately, resulting in low design efficiency and error-prone.
By obtaining the action form of the target project, feature extraction and generation of process flow charts, and using data generation instructions to automatically generate process flow charts to meet the design needs of the automated control system.
It improves design efficiency and accuracy, avoids the inefficiency and error-prone problems caused by manual drawing, and can quickly and accurately generate process flow charts that meet actual needs.
Smart Images

Figure CN117850368B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data generation method, device, and medium. Background Art
[0002] In the design of automated control systems for batch production in the pharmaceutical, daily chemical, biopharmaceutical and other industries, the conventionally written process design specification (FDS) flow chart (abbreviated as process flow chart or FDS flow chart) is currently written manually. Since various process steps need to be written one by one, this not only wastes a lot of unnecessary time, but also makes it easy to make mistakes during the writing process, making it more difficult to generate a process flow chart. Summary of the invention
[0003] In view of this, the present disclosure proposes a data generation method, device and medium, which can efficiently and accurately generate a process flow chart as a standard basis for programming and designing pharmaceutical batch production automation control systems, while facilitating users to view the production process information required for the target project.
[0004] According to one aspect of the present disclosure, a data generation method is provided, which is applied to pharmaceutical-related batch production processing, and the method comprises:
[0005] In response to a data generation instruction, an action form of a target project is obtained, wherein the data generation instruction is used to generate a process flow chart of the target project, and the action form of the target project records production process information required to execute the target project;
[0006] Extracting features from the action form of the target project to obtain target information, wherein the target information includes each action in the target project and steps required to perform each action, wherein the steps indicate production process information;
[0007] A process flow chart is generated based on the target information, wherein the process flow chart displays the production process information required to execute the action.
[0008] In this way, by obtaining the action form of the target project in response to the data generation instruction for generating the process flow chart of the target project, the action form of the target project records the production process information required to execute the target project, and then the target information is obtained by performing feature extraction on the action form of the target project. The target information may include various actions in the target project and the steps required to execute various actions. The steps may indicate the corresponding production process information. Finally, a process flow chart showing the production process information required to execute the actions is generated based on the target information. In this way, only one data generation instruction can be used to automatically generate the process flow chart required in the design of automated control systems for batch production processes related to pharmaceuticals in a unified and standardized manner. In particular, a process flow chart including the required specific production process information can be generated according to a specific target project, which can not only meet the automated control system design requirements of various projects, but also improve design efficiency and accuracy, and avoid the problems of low efficiency and easy errors caused by manual drawing.
[0009] In one possible implementation, the obtaining of the action form of the target project in response to the data generation instruction includes: when the target project is determined according to the data generation instruction, generating a search term according to the target project, searching in a database based on the search term to obtain the action form of the target project, wherein the database stores the action form of each optional project, and the target project is at least one of the optional projects.
[0010] In this way, by generating a search term according to the target item and searching in the database based on the search term, the action form of the target item can be obtained quickly and accurately.
[0011] In a possible implementation, the feature extraction of the action form of the target project to obtain target information includes: determining each action in the target project based on the action form of the target project obtained; and identifying each action in the target project within the action form of the target project to obtain the steps required to execute each action.
[0012] In this way, by identifying each action required for the target project in the action sheet, the steps required for each action can be obtained quickly and accurately.
[0013] In a possible implementation, determining each action in the target project based on the action form of the target project obtained includes: searching in each action form based on keywords to obtain each action in the target project, wherein the keywords are determined according to the nouns used to describe the actions in the target project; and / or determining each action in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form; identifying each action in the target project in the action form of the target project to obtain the steps required to execute the actions includes: for a first action, identifying in a first form to obtain the steps required to execute the first action, wherein the first action is any one of all the actions in the target project, and the first form stores the steps required to execute the first action.
[0014] In this way, by using keywords and / or naming conditions to determine each action required for the target project, and identifying each action in a corresponding action form, the steps required for each action can be obtained quickly and accurately.
[0015] In a possible implementation, the method further includes: when it is determined that the version of the current action form of the target project obtained is the latest version, performing the feature extraction on the current action form; or, when it is determined that the version of the current action form of the target project obtained is not the latest version, obtaining the latest action form of the target project and performing the feature extraction on the latest action form.
[0016] In this way, by refreshing the action form of the target project, it is helpful to subsequently generate a process flow chart based on the latest action form, which provides convenience for real-time follow-up of the process flow of the target project.
[0017] In one possible implementation, generating a process flow chart based on the target information includes: generating multiple images based on the target information, different images showing process flow charts of different actions in the target project, wherein the method of generating multiple images includes a method of generating multiple images at one time or a method of generating multiple images one by one; and / or generating multiple process forms based on the target information, different process forms showing process flow charts of different actions in the target project, wherein the method of generating multiple process forms includes a method of generating multiple process forms at one time or a method of generating multiple process forms one by one.
[0018] In this way, by generating the required images (and / or process forms) at one time and / or generating the required images (and / or process forms) in sequence, the user's needs for viewing all flow charts at one time can be met, and other process flow charts can be generated while the user is viewing the previously generated process flow chart, saving user waiting time and improving user experience, thereby being able to respond to users' different browsing needs.
[0019] In a possible implementation, the steps required to perform each action include a process and a serial number corresponding to the process, wherein the serial number indicates the execution order of the process; the process flow chart includes a process box and a connection line, wherein the process boxes are connected by the connection line; the method also includes a process flow chart drawing process, and the drawing process includes: obtaining the process in the steps required to perform the action and the serial number corresponding to the process; drawing the same number of process boxes as the processes; filling each process in each process box respectively; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action; or, obtaining the process in the steps required to perform the action and the serial number corresponding to the process; traversing each process in turn according to the serial number corresponding to each process, and executing each time the current process is traversed: drawing a process box, and filling the current process in the process box; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action.
[0020] In this way, an accurate process flow chart can be generated by drawing the processes of each step and the execution order of the processes.
[0021] In a possible implementation, when the action is the stop, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure build-up, closing, and releasing; and / or, when the action is the pause, the steps corresponding to the action include the processes executed in sequence: closing, releasing; and / or, when the action is the abandonment, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure build-up, closing, and releasing; and / or, when the action is the operation, the steps corresponding to the action include the processes executed in sequence: equipment inspection, abnormality inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build-up, closing, and releasing.
[0022] In this way, the process flow chart generated by various actions and steps actually corresponding to the target project is more in line with the actual design.
[0023] In one possible implementation, the steps required to perform each of the actions include a process and a serial number corresponding to the process, wherein the serial number indicates the execution order of the process; the target information also includes a jump condition, wherein the jump condition indicates a condition that must be met when switching the process according to the execution order; and the process flow chart is also marked with the jump condition.
[0024] In this way, by marking the steps and jump conditions in the process flow chart corresponding to each action, the production process information can be displayed more comprehensively.
[0025] According to another aspect of the present disclosure, there is provided a data generating device, comprising:
[0026] an acquisition module, the acquisition module being configured to acquire an action form of a target project in response to a data generation instruction, wherein the data generation instruction is used to generate a process flow chart of the target project, and the action form of the target project records production process information required to execute the target project;
[0027] A feature extraction module, wherein the feature extraction module is configured to extract features from the action form of the target project to obtain target information, wherein the target information includes each action in the target project and steps required to perform each action, wherein the steps indicate production process information;
[0028] A generation module is configured to generate a process flow chart based on the target information, wherein the process flow chart shows the production process information required to perform the action.
[0029] In this way, the action form of the target project is obtained by the acquisition module in response to the data generation instruction for generating the process flow chart of the target project. The action form of the target project records the production process information required to execute the target project. Then, the feature extraction module performs feature extraction on the action form of the target project to obtain the target information. The target information may include various actions in the target project and the steps required to execute various actions. The steps may indicate the corresponding production process information. Finally, the generation module generates a process flow chart showing the production process information required to execute the action based on the target information. In this way, only one data generation instruction can be used to uniformly and automatically generate the process flow chart required in the design of automated control systems for batch production processes related to pharmaceuticals in a standardized manner. In particular, a process flow chart including the required specific production process information can be generated according to a specific target project, which can not only meet the requirements of automated control system design for various projects, but also improve design efficiency and accuracy, and avoid the problems of low efficiency and easy errors caused by manual drawing.
[0030] In one possible implementation, the obtaining of the action form of the target project in response to the data generation instruction includes: when the target project is determined according to the data generation instruction, generating a search term according to the target project, searching in a database based on the search term to obtain the action form of the target project, wherein the database stores the action form of each optional project, and the target project is at least one of the optional projects.
[0031] In this way, by generating a search term according to the target item and searching in the database based on the search term, the action form of the target item can be obtained quickly and accurately.
[0032] In a possible implementation, the feature extraction of the action form of the target project to obtain target information includes: determining each action in the target project based on the action form of the target project obtained; and identifying each action in the target project within the action form of the target project to obtain the steps required to execute each action.
[0033] In this way, by identifying each action required for the target project in the action sheet, the steps required for each action can be obtained quickly and accurately.
[0034] In a possible implementation, determining each action in the target project based on the action form of the target project obtained includes: searching in each action form based on keywords to obtain each action in the target project, wherein the keywords are determined according to the nouns used to describe the actions in the target project; and / or determining each action in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form; identifying each action in the target project in the action form of the target project to obtain the steps required to execute the actions includes: for a first action, identifying in a first form to obtain the steps required to execute the first action, wherein the first action is any one of all the actions in the target project, and the first form stores the steps required to execute the first action.
[0035] In this way, by using keywords and / or naming conditions to determine each action required for the target project, and identifying each action in a corresponding action form, the steps required for each action can be obtained quickly and accurately.
[0036] In a possible implementation, the device also includes an update module, which is configured to: when it is determined that the version of the current action form of the target project obtained is the latest version, perform the feature extraction on the current action form; or, when it is determined that the version of the current action form of the target project obtained is not the latest version, obtain the latest action form of the target project and perform the feature extraction on the latest action form.
[0037] In this way, by refreshing the action form of the target project, it is helpful to subsequently generate a process flow chart based on the latest action form, which provides convenience for real-time follow-up of the process flow of the target project.
[0038] In one possible implementation, generating a process flow chart based on the target information includes: generating multiple images based on the target information, different images showing process flow charts of different actions in the target project, wherein the method of generating multiple images includes a method of generating multiple images at one time or a method of generating multiple images one by one; and / or generating multiple process forms based on the target information, different process forms showing process flow charts of different actions in the target project, wherein the method of generating multiple process forms includes a method of generating multiple process forms at one time or a method of generating multiple process forms one by one.
[0039] In this way, by generating the required images (and / or process forms) at one time and / or generating the required images (and / or process forms) in sequence, the user's needs for viewing all flow charts at one time can be met, and other process flow charts can be generated while the user is viewing the previously generated process flow chart, saving user waiting time and improving user experience, thereby being able to respond to users' different browsing needs.
[0040] In a possible implementation, the steps required to perform each action include a process and a serial number corresponding to the process, wherein the serial number indicates the execution order of the process; the process flow chart includes a process box and a connection line, wherein the process boxes are connected by the connection line; the device also includes a drawing module, and the drawing module is used to execute the drawing process of the process flow chart, and the drawing process includes: obtaining the process in the steps required to perform the action and the serial number corresponding to the process; drawing the same number of process boxes as the process; filling each process in each process box respectively; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action; or obtaining the process in the steps required to perform the action and the serial number corresponding to the process; traversing each process in turn according to the serial number corresponding to each process, and executing each time when traversing to the current process: drawing a process box, and filling the current process in the process box; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action.
[0041] In this way, an accurate process flow chart can be generated by drawing the processes of each step and the execution order of the processes.
[0042] In a possible implementation, when the action is the stop, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure build-up, closing, and releasing; and / or, when the action is the pause, the steps corresponding to the action include the processes executed in sequence: closing, releasing; and / or, when the action is the abandonment, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure build-up, closing, and releasing; and / or, when the action is the operation, the steps corresponding to the action include the processes executed in sequence: equipment inspection, abnormality inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build-up, closing, and releasing.
[0043] In this way, the process flow chart generated by various actions and steps actually corresponding to the target project is more in line with the actual design.
[0044] In one possible implementation, the steps required to perform each of the actions include a process and a serial number corresponding to the process, wherein the serial number indicates the execution order of the process; the target information also includes a jump condition, wherein the jump condition indicates a condition that must be met when switching the process according to the execution order; and the process flow chart is also marked with the jump condition.
[0045] In this way, by marking the steps and jump conditions in the process flow chart corresponding to each action, the production process information can be displayed more comprehensively.
[0046] According to another aspect of the present disclosure, there is provided a data generating device, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to implement the above-mentioned data generating method when executing the instructions stored in the memory.
[0047] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above data generation method when executed by a processor.
[0048] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present disclosure. Other features and aspects of the present disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0050] Figure 1 A flow chart of a data generation method provided according to an embodiment of the present disclosure is shown.
[0051] Figure 2 A schematic diagram showing a data generation method provided according to an embodiment of the present disclosure.
[0052] Figure 3 A process flow chart corresponding to the stop action provided according to an embodiment of the present disclosure is shown.
[0053] Figure 4 A process flow chart corresponding to the stop action provided according to an embodiment of the present disclosure is shown.
[0054] Figure 5 A schematic diagram showing a data generation method provided according to an embodiment of the present disclosure.
[0055] Figure 6 A block diagram of a data generating device provided according to an embodiment of the present disclosure is shown.
[0056] Figure 7 A block diagram of an apparatus for executing a data generation method provided according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0057] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0058] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0059] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0060] In order to facilitate those skilled in the art to understand the technical solution provided by the embodiments of the present disclosure, the technical environment in which the technical solution is implemented is described below.
[0061] In the design of automated control systems for batch production in the pharmaceutical, daily chemical, biopharmaceutical and other industries, the conventionally written process flow charts are currently written manually, which is not only time-consuming but also prone to errors, making it more difficult to generate process flow charts. In addition, for different project designs, the required production process information is different, and the corresponding process flow charts are also different, but there is currently no suitable solution to cope with a variety of project drawing tasks.
[0062] The disclosed embodiment provides a data generation method, which obtains an action form of a target project in response to a data generation instruction for generating a process flow chart of the target project, wherein the action form of the target project records the production process information required for executing the target project, and then obtains the target information by performing feature extraction on the action form of the target project. The target information may include various actions in the target project and the steps required for executing various actions, and the steps may indicate the corresponding production process information. Finally, a process flow chart displaying the production process information required for executing the actions is generated based on the target information. In this way, only one data generation instruction can be used to automatically generate the process flow chart required in the design of automated control systems for batch production processes related to pharmaceuticals in a unified and standardized manner. In particular, a process flow chart including the required specific production process information can be generated according to a specific target project, which can not only meet the automation design requirements of various projects, but also improve the design efficiency and accuracy, and avoid the problems of low efficiency and easy errors caused by manual drawing.
[0063] Figure 1 FIG. 1 is a flow chart showing a data generation method according to an embodiment of the present disclosure. Figure 1 As shown, the data generating method may include the following steps S101 to S103.
[0064] Step S101: In response to a data generation instruction, an action form of a target project is obtained.
[0065] Step S102: extract features from the action form of the target item to obtain target information.
[0066] Step S103: Generate a process flow chart based on the target information.
[0067] Through step S101, the action form of the target project can be read to respond to the data generation instruction.
[0068] Among them, the data generation instruction can be used to generate a process flow chart for the target project. For example, in the design of an automated control system for batch production processing related to pharmaceuticals, a button can be set in the preset interface, and when the button trigger operation is detected, the data generation instruction is generated and executed, thereby generating a process flow chart with one click.
[0069] The action sheet of the target project may record the production process information required to execute the target project. In a possible implementation, in the design of an automated control system for batch production processes related to pharmaceuticals, the number of action sheets for the target project may be one, and the action sheet may cover all the process data required to execute the target project, such as all the actions to be executed, the types of actions, the order of action execution, and the specific steps required to execute a certain action, jump conditions, etc. The relevant user may update the action sheet.
[0070] In a possible implementation, in the design of an automated control system for batch production processes related to pharmaceuticals, the number of action forms for a target project may be multiple, in other words, the action form for a target project may include multiple subforms, each of which may cover part of the process data required to execute the target project. The number of subforms may be the same as the number of types of actions required for the target project, in which case each subform may include different actions and specific steps, jump conditions, and the like required to execute the action. The number of subforms may be less than the number of types of actions required for the target project, in which case a subform may include at least one action, type of action, and specific steps, jump conditions, and the like required to execute the action. It should be noted that the content and storage form of the action form and subform may be flexibly set according to the actual application scenario, and the disclosed embodiment does not limit this. Relevant users may update one or more of these subforms.
[0071] In addition to the actions to be performed and their types, execution order, and specific steps required to perform a certain action, the action form corresponding to the target project may also include a large amount of information that does not need to be displayed in the process flow chart, such as the strategy information and specific project information executed by each device. To this end, in a possible implementation, step S101 (i.e., in response to the data generation instruction, obtaining the action form of the target project) may include: when the target project is determined according to the data generation instruction, generating a search term according to the target project, searching in the database based on the search term, and obtaining the action form of the target project, wherein the database stores the action form of each optional project, and the target project is at least one of the optional projects. In this way, by generating a search term according to the target project and searching in the database based on the search term, the action form of the target project can be obtained quickly and accurately.
[0072] When the user needs to generate a process flow chart, all optional items stored in the database can be displayed in the preset interface (the action form for each optional item is also stored in the database) for the user to select one or more optional items as target items, thereby generating data generation instructions for the target items.
[0073] Taking the target project as an example, when the target project is determined according to the data generation instruction, a search term can be generated according to the project name of the target project, such as PROJECT_COM-A, and the project number of the target project, such as 2023-001. The search term can be generated according to a predetermined rule, and the predetermined rule can be at least one of directly using the entire project name as a search term, using part of the project name as a search term, directly using the entire project number as a search term, and using part of the project number as a search term. Correspondingly, the search term generated based on the predetermined rule can be at least one of PROJECT_COM-A, COM-A, 2023-001, and 001, wherein the search term generated according to the predetermined rule can be displayed in the interface in the form of an option for the user to select one or more. And / or, the search term can be other keywords defined by the user, such as project A, which can be set according to the actual situation, wherein the search term determined according to the user's definition can be obtained by setting a keyword input box in the interface. When the search term is generated, it can be searched in the database based on the search term to obtain an action form for the target project. Since the number of search terms is one or more, when searching based on multiple search terms, as long as the stored form in the database meets any one of the multiple search terms, the stored form can be used as the action form of the target item.
[0074] The case where there are multiple target items is similar to the case where there is only one target item. When there are multiple target items, please refer to the above description and will not be repeated here.
[0075] It should be noted that although the search terms are introduced by taking PROJECT_COM-A, COM-A, 2023-001, 001, and Project A as examples, those skilled in the art will appreciate that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly set the search terms according to personal preferences and / or actual application scenarios.
[0076] In step S102 , feature extraction can be performed on the action form of the target item read in step S101 to obtain target information.
[0077] In a possible implementation, the target information may include each action in the target project and the steps required to perform each action. These actions and steps may be required for the target project determined in the design of the automated control system for batch production processing related to pharmaceuticals. For different project designs, the required actions and steps are also different. For the same project, at different time nodes, the required actions and steps may also be different, so the data generation method may also include: in response to selecting some actions among all actions of the target project, generating a process flow chart for the selected part of the actions. The step may indicate the corresponding production process information. The step may include the name of the process and the serial number corresponding to the process, the number of processes in the step is at least one, and the serial number may indicate the execution order of the process. Table 1 shows an action table of the stop action provided according to an embodiment of the present disclosure. Taking Table 1 as an example, pre-cooling, final cooling, pressure building, closing, and release in Table 1 are the names of the processes, the serial number corresponding to the process pre-cooling is S7000, and the serial number corresponding to the process final cooling is S7010, that is, when executing the stop action, the process pre-cooling is performed first and then the process final cooling is performed.
[0078] Table 1 Action table of stop action
[0079]
[0080] In a possible implementation, in addition to the type of action and the steps required to perform various actions, the target information may also include a jump condition. The jump condition may indicate the conditions that need to be met when switching processes according to the execution order. It should be noted that the presence or absence of the jump condition in the target information can be flexibly set according to the actual application scenario, and the embodiments of the present disclosure do not limit this.
[0081] In a possible implementation, the types of actions may include at least one of stopping, holding, aborting, and running. In the case where the action is stopping, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, in the case where the action is pausing, the steps corresponding to the action include the processes executed in sequence: closing and releasing; and / or, in the case where the action is abandoning, the steps corresponding to the action include the processes executed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, in the case where the action is running, the steps corresponding to the action include the processes executed in sequence: equipment inspection (EM inspection), abnormal inspection (or error message), jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure building, closing, and releasing. In this way, the process flow chart generated by the various actions and steps actually corresponding to the target project is more in line with the actual design.
[0082] In one example, a complete pharmaceutical process pipe and tank equipment control system is a complex control system that meets the requirements of GMP computerization regulations. It is usually designed with CIP cleaning-related Phase programs, SIP sterilization-related Phase programs, production operation-related Phase programs, airtightness test-related Phase programs, filter integrity test-related Phase programs, and other Phase programs related to various process pipe and tank system requirements. Before the pharmaceutical batch production process automation control system program is written, the corresponding Phase file design and process flow chart design need to be completed first to ensure the accuracy of the program design and the consistency of the program design with the file design, so as to facilitate the verification and confirmation of the control system. In the design of the automated control system for pharmaceutical-related batch production processes, the stainless steel tanks of the conventional process pipe and tank system need to be cleaned in place (CIP) for cleaning and system-level packaging (SIP) for sterilization before the use of drug production, so as to ensure that all tanks and attached pipelines of the pharmaceutical equipment module, the inside, bottom, middle, top, inlet, outlet, pipelines directly or indirectly in contact with materials, etc., are CIP cleaned and SIP sterilized without dead ends and in all directions.
[0083] Table 2 Action table of running actions
[0084]
[0085] Table 2 shows an action table of operation actions provided according to an embodiment of the present disclosure. In one example, in the design of an automated control system for batch production processing related to pharmaceuticals, referring to Table 2, when the action to be performed is operation, the operation action can be performed according to the following steps to achieve SIP sterilization of the jar:
[0086] Step 1: Execute the process with the serial number S0010 and the name of equipment inspection to check whether the equipment modules are normal. When all equipment modules are idle, execute the following step 3, otherwise execute the following step 2.
[0087] Step 2, execute the process with serial number S0020 and name abnormality check (or error message). If there is an abnormality in the equipment module, an error message will be prompted. When the error messages of all equipment modules are "confirmed", re-execute the above step 1. Among them, "confirmed" (that is, the jump condition of the abnormality check process in Table 2) can refer to the word "confirmed / confirmed" displayed on the human-machine interface display screen of the device after the abnormality check operation is confirmed, or the preset color displayed by the device through its indication to inform the user whether the device can perform the abnormality check operation normally, thereby assisting the user to determine whether the current step is executed correctly.
[0088] Step 3: Execute the process named as S1010 and jacket purging to ensure that there is no condensed water in the jacket during the sterilization process. After the jacket has discharged the condensed water, enter the steam preheating stage. When the discharge time is over, execute the following step 4.
[0089] Step 4. Execute the process with serial number S1020 and name preheating to ensure that the temperature of all equipment in the process flow is preheated to the preset value. When the temperature of all equipment in the process flow is greater than or equal to the sterilization preheating temperature setting value, execute the following step 5. The sterilization preheating temperature setting value can be taken from 90°C to 100°C, that is, when the temperature of all equipment is preheated to the sterilization preheating temperature setting value, it enters the heating stage. The sterilization preheating temperature setting value, the sterilization temperature setting value of step five, the pre-cooling temperature setting value of step eight, the final cooling temperature setting value of step nine, and the pressure building pressure setting value of step ten can be flexibly set according to the actual application scenario, and the embodiments of the present disclosure do not limit this.
[0090] Step 5. Execute the process named heating with the serial number S1030 to ensure that the pure steam continues to heat until the temperature of all the equipment in the process reaches the preset value. When the temperature of all the equipment in the process is greater than or equal to the sterilization temperature setting value, execute step 6 below. The sterilization temperature setting value can be 121°C, that is, when the temperature of all the equipment in the process rises to above 121°C, it enters the temperature stabilization timing stage. During the heating process, the maximum heating time is started, and in the case of timeout, a heating timeout alarm prompt is issued.
[0091] Step 6: Execute the process with the sequence number S1040 and the name of stabilization to ensure that the temperature of all equipment in the process flow is stable above the sterilization temperature setting value of 121°C for a period of time before entering the sterilization and disinfection stage. When the stabilization time is over, execute step 7 below.
[0092] Step 7. Execute the process named sterilization with the sequence number S1050 to sterilize the jars. If the sterilization time is over and the temperature of all the equipment in the process flow is greater than or equal to the sterilization temperature setting value during the sterilization period, the alarm prompts "Sterilization successful" and executes the following step 8. However, if the temperature of any equipment is lower than the sterilization temperature setting value during the sterilization period, the alarm prompts "Sterilization failed", and the number of sterilization failures is increased by 1, and the process returns to the heating stage of step 5 to continue the above action steps. The sterilization time can generally be set to 30 minutes.
[0093] Step 8: Execute the process with the sequence number S1060 and the name of pre-cooling, and clean compressed air can be used for cooling. When the temperature of all the equipment in the process flow is less than or equal to the pre-cooling temperature setting value, execute step 9 below. The pre-cooling temperature setting value can be taken from 90℃ to 100℃, that is, when the temperature of all the equipment in the process flow is pre-cooled to below the pre-cooling temperature setting value in the pre-cooling stage, it enters the final cooling stage.
[0094] Step 9. Execute the process with the serial number S1070 and the name of final cooling. You can pass chilled water to the tank jacket for rapid cooling while maintaining clean compressed air. When the temperature of all equipment in the process flow is less than or equal to the final cooling temperature setting value, execute step 10 below. During the final cooling process, start the maximum cooling time, and in case of timeout, issue a cooling timeout alarm. The final temperature value can be taken from 40°C to 60°C, that is, when the temperature of all equipment in the final cooling stage cools below the final temperature value, it enters the pressure building stage.
[0095] Step 10. Execute the process named pressure building with the serial number S1080 to ensure that the tanks or pipelines of the relevant equipment are slightly positively pressurized after sterilization in the process flow to avoid the risk of equipment deformation and contamination caused by negative pressure back suction. When the pressure of all equipment in the process flow is greater than or equal to the pressure building pressure setting value, execute step 11 below. The pressure building pressure value can be taken from 1-2bar, that is, when the pressure of all equipment in the pressure building stage of the process flow rises to about 1-2bar, the sterilization process ends and enters the next stage.
[0096] Step 11: Execute the process with the sequence number S1980 and the name of closing. After the closing process is correctly executed for all the devices in the process flow, execute the following step 12. Among them, "correct" (i.e., the jump condition of the closing process in Table 2) can refer to the preset color of the closing state displayed on the display screen of the human-machine interface of the device after the closing operation is correctly executed, so as to inform the user that the device can respond to the closing operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0097] Step 12: Execute the process with the sequence number S1990 and the name of release. When the correct release process is executed for all the equipment in the process flow, the operation action is completed. Among them, "correct" (i.e., the jump condition of the release process in Table 2) can refer to the preset color of the initial state displayed on the human-machine interface display screen of the equipment after the release operation is correctly executed, so as to inform the user that the equipment can respond to the release operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0098] In the design of automated control systems for pharmaceutical batch production processes, refer to Table 1. When the action to be performed is to stop, the stop action can be performed according to the following steps:
[0099] Step 1: Execute the process with the sequence number S7000 and the name of pre-cooling. When the temperature of all the equipment in the process flow is less than or equal to the pre-cooling temperature setting value, execute the following step 2. Among them, the pre-cooling temperature setting value and the final temperature setting value and the pressure setting value can be flexibly set according to the actual application scenario, and the embodiment of the present disclosure does not limit this.
[0100] Step 2: Execute the process with the sequence number S7010 and the name of final cooling. When the temperature of all the equipment in the process is less than or equal to the final temperature setting value, execute the following step 3. During the final cooling process, the maximum cooling time is started, and a cooling timeout alarm is issued in case of timeout.
[0101] Step 3: Execute the process with the sequence number S7020 and the name of pressure building. When the pressure of all equipment in the process flow is greater than or equal to the pressure building pressure setting value, execute the following step 4.
[0102] Step 4: Execute the process with the sequence number S7030 and the name of "shutdown". After the shutdown process is correctly executed for all the devices in the process flow, execute the following step 5. "Correct" (i.e., the jump condition of the shutdown process in Table 1) may refer to the preset color of the shutdown state displayed on the display screen of the human-machine interface of the device after the shutdown operation is correctly executed, so as to inform the user that the device can normally respond to the shutdown operation, thereby helping the user to judge whether the current step is executed correctly.
[0103] Step 5: Execute the process with the sequence number S7040 and the name of release. When the correct release process is executed for all the devices in the process flow, the stop action is completed. Among them, "correct" (i.e., the jump condition of the release process in Table 1) can refer to the preset color of the initial state displayed on the human-machine interface display screen of the device after the release operation is correctly executed, so as to inform the user that the device can respond to the release operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0104] Table 3 Action table of pause action
[0105]
[0106] Table 3 shows an action table of the pause action provided according to an embodiment of the present disclosure. In the design of an automated control system for batch production processing related to pharmaceuticals, referring to Table 3, when the action to be performed is pause, the pause action can be performed according to the following steps:
[0107] Step 1: Execute the process with the sequence number S8000 and the name of shutdown. After the shutdown process is executed for all devices in the process flow, execute the following step 2. Among them, "correct" (i.e., the jump condition of the shutdown process in Table 3) can refer to the preset color of the shutdown state displayed on the human-machine interface display screen of the device after the shutdown operation is correctly executed, so as to inform the user that the device can respond to the shutdown operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0108] Step 2: Execute the process with the sequence number S8010 and the name of release. When the release process is executed for all devices in the process flow, the pause action is completed. Among them, "correct" (i.e., the jump condition of the release process in Table 3) can refer to the preset color of the release state displayed on the human-machine interface display screen of the device after the release operation is correctly executed, so as to inform the user that the device can respond to the release operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0109] Table 4 Action table of abandonment action
[0110]
[0111] Table 4 shows an action table of abandonment actions provided according to an embodiment of the present disclosure. In the design of an automated control system for batch production processes related to pharmaceuticals, referring to Table 4, when the action to be performed is abandonment, the abandonment action can be performed according to the following steps:
[0112] Step 1: Execute the process with the sequence number S9000 and the name of pre-cooling. When the temperatures of all the equipment in the process flow are less than or equal to the pre-cooling temperature setting value, execute the following step 2. Among them, the pre-cooling temperature setting value and the final cooling temperature setting value and the pressure setting value can be flexibly set according to the actual application scenario, and the embodiment of the present disclosure does not limit this. In addition, the pre-cooling temperature setting value, the final cooling temperature setting value, and the pressure setting value in the three actions of stop, run, and abandon can take the same value, and the present disclosure does not limit this either.
[0113] Step 2: Execute the process with the sequence number S9010 and the name of final cooling. When the temperature of all equipment in the process is less than or equal to the final cooling temperature setting value, execute the following step 3. During the final cooling process, the maximum cooling time is started, and a cooling timeout alarm is issued in case of timeout.
[0114] Step 3: Execute the process with the sequence number S9020 and the name of pressure building. When the pressure of all equipment in the process flow is greater than or equal to the pressure building pressure setting value, execute the following step 4.
[0115] Step 4: Execute the process with the sequence number S9030 and the name of shutdown. After the shutdown process is executed for all the devices in the process flow, execute the following step 5. Among them, "correct" (i.e., the jump condition of the shutdown process in Table 4) can refer to the preset color of the shutdown state displayed on the human-machine interface display screen of the device after the shutdown operation is executed, so as to inform the user that the device can respond to the shutdown operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0116] Step 5: Execute the process with the sequence number S9040 and the name of release. When the release process is executed for all the devices in the process flow, the abandonment action is completed. Among them, "correct" (i.e., the jump condition of the release process in Table 4) can refer to the preset color of the initial state displayed on the human-machine interface display screen of the device after the release operation is correctly executed, so as to inform the user that the device can respond to the release operation normally, thereby helping the user to judge whether the current step is executed correctly.
[0117] It should be noted that, although the types of actions are introduced by using run, stop, pause, and abandon as examples, and the steps included in each action are introduced, those skilled in the art will appreciate that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly set the actions and steps required for each project design according to personal preferences and / or actual application scenarios.
[0118] In one possible implementation, when the target information includes various actions (i.e., types of actions) and steps required to perform various actions, step S102 (i.e., extracting features from the action form of the target project to obtain the target information) may include: determining various actions in the target project based on the acquired action form of the target project; and identifying various actions in the target project in the action form of the target project to obtain the steps required to perform each action.
[0119] In a possible implementation, when the number of action forms of the target project obtained is one, determining each action in the target project based on the action form of the target project obtained in step S102 may include searching in the action form based on keywords to obtain each action in the target project, wherein the keywords are determined according to the nouns used to describe the actions in the target project; and identifying each action in the target project in the action form of the target project to obtain the steps required to perform each action in step S102 may include identifying each action in the action form based on the action in the target project to extract the steps required to perform each action. In this way, by identifying each action required for the target project in the action form, the steps required for each action can be quickly and accurately obtained.
[0120] Taking the target project as an example, when the action form of the target project is retrieved based on the search term, keywords can be generated according to the nouns used to describe the actions in the target project. When the number of action forms of the target project is one, since all actions and steps in the target project are stored in one form, on the one hand, the form may directly contain "action" or other words with similar meanings to "action", such as "ACTION" and "behavior", and various actions are listed in the sublists under these words. In this case, the words "action", "ACTION" and "behavior" can be directly used as keywords to search in the form to obtain the actions in the target project in the target information. When the actions are determined, they can be further identified in the form according to the names of the actions, so as to locate the specific rows and columns where the steps required for the execution of each action are located, and the contents in the specific rows and columns are extracted as the steps required for executing each action in the target information.
[0121] Similarly to the search terms, keywords can be automatically generated according to as many pre-designed permutation and combination rules as possible, and can be displayed in the interface in the form of options so that users can select one or more according to the naming of the actual project, and / or, keywords can also be other user-defined keywords, which can be set according to actual conditions. Keywords determined by user customization can be obtained by setting a keyword input box in the interface. It should be noted that although keywords are introduced using "action", "ACTION" and "behavior" as examples, those skilled in the art will understand that the embodiments of the present disclosure should not be limited to this. In fact, users can flexibly set keywords according to personal preferences and / or actual application scenarios.
[0122] Now, an example is given to illustrate the process of obtaining target information: In this example, the actions required to execute the target project may include stop and run. After reading an action form of the target project stored in a .xls format file, a corresponding program can be written based on the macro language of the programming language (Visual Basic for Applications, VBA) to realize the search based on the keyword "action" in the action form, so as to obtain the actions required to execute the target project, namely stop and run. Then, the action form can be further identified based on the row and column where the stop action is located, and it is determined that the row and column where the steps required to stop the action are located are, for example, the second column of the above-mentioned table 1, then the content of the second column of table 1 can be extracted as all the steps required for the execution of the stop action, and the running action is similar to the stop action, which will not be repeated here. Finally, the stop action and the steps required to execute the stop action, the running action and the steps required to execute the running action can be used as target information. It should be noted that although the process of obtaining target information is introduced by taking the .xls format file and the macro language of VBA as examples, those skilled in the art can understand that the disclosed embodiment should not be limited to this. In fact, the user can flexibly set the storage format and programming language of the action form according to personal preferences and / or actual application scenarios.
[0123] When there are multiple target items, the target information of any one of the multiple target items can refer to the above description when there is only one target item, which will not be repeated here.
[0124] In a possible implementation, when there are multiple action forms of the target project, determining each action in the target project based on the action forms of the target project in step S102 may include: searching in each action form based on keywords to obtain each action in the target project, wherein the keywords are determined according to the nouns used to describe the actions in the target project; and / or determining each action in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form; identifying each action in the target project in the action form of the target project to obtain the steps required to execute each action in step S102 may include: identifying a first action in a first form to obtain the steps required to execute the first action, wherein the first action is any one of all the actions in the target project, and the first form stores the steps required to execute the first action. In this way, by using keywords and / or naming situations to determine each action required for the target project, and identifying each action in the corresponding action form according to each action, the steps required for each action can be quickly and accurately obtained.
[0125] If there are multiple action sheets in the target project, since all actions and steps in the target project are stored in multiple sheets, the following situations may occur:
[0126] In the first case, the naming of each action form of the target project (which may refer to the name of the form file or the header in the form) is related to the action in the target project. In other words, the naming of each action form of the target project can be determined based on the project name and action name, project number and action name, form serial number and action name, etc. For example, the action form can be named PROJECT_COM-A_Stop & Pause Action, 2023-001-Run Action, 02-Pause Action. In this case, the actions required for the target project can be directly determined by the naming of the action form (one or more actions can be determined by one action form), so that the corresponding steps can be directly determined in the corresponding form according to each action. For example, the two sub-forms named for target project A are "A-Run Action" and "A-Pause & Stop Action". From these two sub-forms, you can directly get the actions in target project A, namely, run, pause, and stop. In this case, for the run action, you can directly identify it in the sub-form "A-Run Action" to get all the steps required to execute the run action. The pause action and the stop action are the same as the run action, which will not be repeated here, so as to determine the target information for target project A.
[0127] In the second case, the naming of each action form of the target project (which may refer to the name of the form file or the header in the form) has nothing to do with the action in the target project. In other words, the naming of each action form of the target project (which may refer to the file name of the form or the header of the form) has nothing to do with the action. In other words, the naming of each action form of the target project can be directly determined based on at least one of the project name, project number, form serial number, etc. For example, the action form can be named PROJECT_COM-A_01, PROJECT_COM-A_02, 2023-001-01, 2023-001-02, which are names that do not directly reflect actions. In this case, it is difficult to determine the actions required for the target project through the naming of the action form (which can be regarded as the case where the number of action forms for the target project obtained is one). In the same way as the case where the number of action forms for the target project obtained is one, the words "action", "ACTION", and "behavior" can be directly used as keywords to search in each action form to obtain the actions in the target project in the target information. The method of generating keywords can refer to the above text and will not be repeated here. When the actions are determined, all the steps required to execute the action can be further obtained by referring to the example in the first case, which will not be repeated here.
[0128] In the third case, the naming of some action forms of the target project (which may refer to the name of the form file or the header in the form) is related to the action in the target project, and at the same time, the naming of some action forms (which may refer to the name of the form file or the header in the form) is not related to the action in the target project. This case includes the first and second cases mentioned above. Accordingly, the method of determining the target information can also integrate the processing methods corresponding to the first and second cases mentioned above, which will not be repeated here.
[0129] In a possible implementation, when the target information includes various actions (i.e., types of actions) and steps and jump conditions required to perform various actions, step S102 (i.e., extracting features from the action form of the target project to obtain the target information) may include: determining various actions in the target project based on the acquired action form of the target project; and identifying various actions in the action form of the target project to obtain the steps and jump conditions required to perform various actions. The execution process of step S102 in the case where the target information includes various actions and steps and jump conditions is similar to the execution process of step S102 in the case where the target information includes various actions and steps and jump conditions, except that the former also determines the jump conditions and uses the jump conditions as one of the target information.
[0130] Step S103 may generate a process flow chart based on the target information obtained in step S102. The process flow chart may be used to display the production process information required to perform an action in the form of a diagram. The process flow chart may include process boxes and lines, wherein the text in the process box may be steps, and the process boxes are connected by lines, and the specific connection order may be determined according to the order of the steps.
[0131] In this way, the action form of the target project is obtained through step S101 in response to the data generation instruction for generating the process flow chart of the target project. The action form of the target project records the production process information required to execute the target project. Then, through step S102, the action form of the target project is feature extracted to obtain the target information. The target information may include various actions in the target project and the steps required to execute various actions. The steps may indicate the corresponding production process information. Finally, through step S103, a process flow chart showing the production process information required to execute the action is generated based on the target information. In this way, only one data generation instruction can be used to uniformly and automatically generate the process flow chart required in the design of automated control systems for batch production processes related to pharmaceuticals in a standardized manner. In particular, a process flow chart including the required specific production process information can be generated according to a specific target project, which can not only meet the design requirements of automated control systems for various projects, but also improve design efficiency and accuracy, and avoid the problems of low efficiency and easy errors caused by manual drawing.
[0132] In one possible implementation, a process flow chart may show the actions and steps required for a target project.
[0133] In a possible implementation, the display method of the process flow chart may have multiple forms. The process flow chart may be directly generated based on the target information to display the picture, and / or, the process form may be generated based on the target information to display the process flow chart. The user can flexibly choose to display in the form of a picture, display in the interface, or display the picture and the interface at the same time in the interface. Thus, step S103, i.e., generating a process flow chart based on the target information, may include: generating multiple images based on the target information, different images displaying process flow charts of different actions in the target project, wherein the method of generating multiple images includes a method of generating multiple images at one time or a method of generating multiple images one by one; and / or, generating multiple process forms based on the target information, different process forms display process flow charts of different actions in the target project, wherein the method of generating multiple process forms includes a method of generating multiple process forms at one time or a method of generating multiple process forms one by one. In this way, by generating the required images (and / or process forms) at one time and / or generating the required images (and / or process forms) in sequence, the user's needs for viewing all flow charts at one time can be met, and other process flow charts can be generated while the user is viewing the previously generated process flow chart, saving user waiting time and improving user experience, thereby being able to respond to users' different browsing needs.
[0134] In the case of generating a process form based on target information to display a process flow chart, you can choose to first build all the process forms and then draw the process flow chart in each process form. Therefore, in a possible implementation method, the generation of multiple process forms based on the target information in step S103 may include: at the preset interface, for each action in the target project, build multiple process forms at one time, so that each action in the target project corresponds to a process form, and at the same time draw the process flow chart of the corresponding action in each process form. Among them, the preset interface can be the interface of software that can draw a table, it can also be the interface of software that can draw a chart, or it can be the interface of other platforms. In this way, by first building all the required process forms at one time, and then drawing the corresponding steps in each process form, the process flow chart corresponding to various actions can be obtained at one time, which can meet the browsing needs of different users.
[0135] Figure 2 A schematic diagram of a data generation method provided according to an embodiment of the present disclosure is shown. In one example, the preset interface may be an interface of a software capable of drawing a table, the process form may be a worksheet in the software capable of drawing a table, and the actions required to execute the target project include stop, pause, abandon, and run. Figure 2As shown, after obtaining the design description of the process function action table from the FDS standard phase file (that is, after obtaining the required target information: stop, pause, abandon, run actions and corresponding steps), the one-key operation button can be used to build process forms corresponding to various actions on the table interface, namely, the Stopping worksheet, the Holding worksheet, the Aborting worksheet, and the Running worksheet. Then, the steps required for the execution of the corresponding actions are drawn in these three worksheets, thereby obtaining the process flow charts corresponding to the Stop, Pause, Abort, and Run actions, so as to realize the completion steps of the standard file.
[0136] In the case of displaying a process flow chart by generating a process form based on target information, a method of drawing process flow charts one by one may also be selected. Thus, in a possible implementation method, generating multiple process forms based on target information in step S103 may include: traversing each action in the target project, and executing each time the current action is traversed: constructing a process form corresponding to the action at the preset interface, drawing the steps required to execute the action in the process form, and obtaining a process flow chart corresponding to the action. Among them, the preset interface can be an interface of software that can draw a table, or an interface of software that can draw a chart, or an interface of other platforms. In this way, by drawing a process flow chart corresponding to one action and then drawing a process flow chart corresponding to another action, other process flow charts can be generated while the user is viewing the previously generated process flow chart, saving the user's waiting time and improving the user experience.
[0137] In one example, the preset interface can be the interface of software that can draw charts, the process form can be a worksheet in the software that can draw charts, and the actions required to execute the target project include running, pausing and abandoning. After obtaining the required target information (i.e., running, pausing, abandoning actions and corresponding steps), the process form corresponding to the running action, i.e., the running page, can be constructed in the chart interface first, and then the steps required for the execution of the running action can be drawn in the running page to obtain the process flow chart corresponding to the running action, and then the process flow charts corresponding to the pausing action and abandoning action can be drawn in the same way, which will not be repeated here.
[0138] It should be noted that, although the method of generating a process flow chart is introduced by using software that can draw a table and software that can draw a chart as examples, those skilled in the art will understand that the embodiments of the present disclosure should not be limited thereto. In fact, users can flexibly select software suitable for project design according to personal preferences and / or actual application scenarios, so that users can view process flow charts.
[0139] For the case of directly generating an image based on the target information to display the process flow chart, the method of generating the image is the same as the case of generating a process form based on the target information to display the process flow chart. For the sake of brevity, it will not be repeated here.
[0140] Regardless of whether a picture is directly generated based on target information to display the process flow chart, or a process form is generated based on target information to display the process flow chart, the drawing process of the process flow chart is involved.
[0141] In a possible implementation, the data generation method also includes a process of drawing a process flow chart, which may include: obtaining the processes and the serial numbers corresponding to the processes in the steps required to perform the action; drawing the same number of process boxes as the number of processes; filling each process in each process box; connecting each process box according to the serial numbers corresponding to each process, and obtaining the process flow chart corresponding to the action. In other words, whether the process flow chart is displayed in a picture or in a process form, for an action of the target project, all the processes and process sequences required to perform the action can be obtained, and the same number of process boxes as the number of processes can be drawn at one time, and all processes can be filled into a process box respectively, and the process boxes can be connected in sequence according to the execution order of each process, so as to obtain a process flow chart for the action. In this way, drawing based on the processes of each step and the execution order of the processes can generate an accurate process flow chart.
[0142] Figure 3 The process flow chart corresponding to the stop action provided according to the embodiment of the present disclosure is shown. In one example, the process in the steps required to execute the stop action shown in Table 1 is obtained, namely, pre-cooling, final cooling, pressure building, closing, and releasing. In the constructed process form, flow boxes corresponding to the processes of pre-cooling, final cooling, pressure building, closing, and releasing are drawn, and pre-cooling, final cooling, pressure building, closing, and releasing are used as the text in each flow box, and each flow box is connected in the execution order of pre-cooling, final cooling, pressure building, closing, and releasing to obtain Figure 3 The process flow chart corresponding to the stop action shown.
[0143] The process flow charts corresponding to other types of actions can be generated in the same way as the process flow charts corresponding to the stop action described above, which will not be described in detail in this article for the sake of brevity.
[0144] In a possible implementation, the data generation method also includes a process of drawing a process flow chart, which may include: obtaining the process in the steps required to perform the action and the serial number corresponding to the process; traversing each process in turn according to the serial number corresponding to each process, and executing each time the current process is traversed: drawing a process box, and filling the current process in the process box; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action. That is to say, whether the process flow chart is displayed in a picture or in a process form, for an action of the target project, all the processes and process sequences required to perform the action can be obtained, and the corresponding process boxes are drawn for each process in turn according to the process sequence and the process is filled into the process box, and the process boxes are connected in turn according to the execution order of each process, so as to obtain the process flow chart for the action. In this way, drawing based on the process of each step and the execution order of the process can generate an accurate process flow chart.
[0145] In one example, the processes in the steps required to perform the stop action shown in Table 1 are obtained, namely, pre-cooling, final cooling, pressure building, closing, and releasing. A process box is drawn in the constructed blank image and pre-cooling is used as the text in the process box. Another process box is drawn and final cooling is used as the text in the process box. Similarly, the process boxes of the remaining processes are drawn and the process boxes are connected in the execution order of pre-cooling, final cooling, pressure building, closing, and releasing to obtain Figure 3 The process flow chart corresponding to the stop action shown.
[0146] The process flow charts corresponding to other types of actions can be generated in the same way as the process flow charts corresponding to the stop action described above, which will not be described in detail in this article for the sake of brevity.
[0147] In a possible implementation, when the target information includes a jump condition, the process flow chart may also be marked with the jump condition. The process flow chart may display the actions, steps, and jump conditions required for the target project. The connecting lines in the process flow chart may be marked with jump conditions. In this way, by marking the steps and jump conditions in the process flow chart corresponding to each action, the production process information can be more comprehensively displayed.
[0148] The display method of the process flow chart that displays the actions, steps and jump conditions required for the target project is similar to that of the process flow chart that displays the actions and steps required for the target project, that is, the process flow chart can be directly displayed by generating pictures based on the target information and / or the process flow chart can be displayed by generating process forms based on the target information, and, you can choose to first build all process forms and then draw the process flow chart in each process form, or you can choose to draw the process flow charts one by one. For details, please refer to the above description of the display method of the process flow chart that displays the actions and steps required for the target project. For the sake of brevity, it will not be repeated here.
[0149] In the case where the process flow chart can display the actions, steps and jump conditions required for the target project, in a possible implementation, the drawing process of the process flow chart included in the data generation method may also include: obtaining the process in the steps required to perform the action and the sequence number and jump condition corresponding to the process; drawing the same number of process boxes as the process; filling each process in each process box; connecting each process box according to the sequence number corresponding to each process, and marking the corresponding jump condition at the connection point, so as to obtain the process flow chart corresponding to the action. In other words, whether the process flow chart is displayed in a picture or in a process form, for a certain action of the target project, all the processes, process sequence and jump conditions required to perform the action can be obtained, and the same number of process boxes as the process can be drawn at one time, all processes can be filled into a process box respectively, and the process boxes can be connected in sequence according to the execution order of each process, and the corresponding jump condition can be marked at the connection point, so as to obtain the process flow chart for the action. In this way, drawing based on the process of each step and the execution order of the process and the jump condition can generate an accurate process flow chart.
[0150] In the case where the process flow chart can display the actions, steps and jump conditions required for the target project, in a possible implementation, the drawing process of the process flow chart included in the data generation method can also include: obtaining the process in the steps required to perform the action and the sequence number and jump condition corresponding to the process; traversing each process in turn according to the sequence number corresponding to each process, and executing each time when traversing to the current process: drawing a process box and filling the current process in the process box; connecting each process box according to the sequence number corresponding to each process, and marking the corresponding jump condition at the connecting line, so as to obtain the process flow chart corresponding to the action. That is to say, whether the process flow chart is displayed in a picture or in a process form, for a certain action of the target project, all the processes and process sequences and jump conditions required to perform the action can be obtained, and for each process in turn according to the process sequence, the corresponding process box is drawn and the process is filled into the process box, and the process boxes are connected in turn according to the execution order of each process, and the corresponding jump condition is marked at the connecting line, so as to obtain the process flow chart for the action. In this way, an accurate process flow chart can be generated by drawing based on the process of each step, the execution order of the process and the jump conditions.
[0151] Figure 4 A process flow chart corresponding to the stop action provided according to an embodiment of the present disclosure is shown. In one example, the processes in the steps required to execute the stop action shown in Table 1 are obtained, namely, pre-cooling, final cooling, pressure building, closing, and releasing. Draw process boxes corresponding to the processes of pre-cooling, final cooling, pressure building, closing, and releasing in the constructed process form, with pre-cooling, final cooling, pressure building, closing, and releasing as the text in each process box, and connect each process box in the execution order of pre-cooling, final cooling, pressure building, closing, and releasing, and mark the jump conditions at the connecting line between the process boxes, that is, mark the jump condition of pre-cooling at the connecting line between the two process boxes corresponding to pre-cooling and final cooling, and the same applies to other jump conditions, thereby obtaining Figure 4 The process flow chart corresponding to the stop action shown.
[0152] The process flow charts corresponding to other types of actions can be generated in the same way as the process flow charts corresponding to the stop action described above, which will not be described in detail in this article for the sake of brevity.
[0153] In a possible implementation, the data generation method may further include: when it is determined that the version of the current action form of the target project obtained is the latest version, performing feature extraction on the current action form; when it is determined that the version of the current action form of the target project obtained is not the latest version, obtaining the latest action form of the target project and performing feature extraction on the latest action form.
[0154] For example, when the action form of the target project is obtained after searching in the database, the operation log of all action forms can be displayed in a certain interface, and a confirmation box can be popped up for the user to confirm whether to perform feature extraction with the current version of the action form. The version of the action form and information such as the operator can be displayed in the operation log, and the user can determine whether to perform subsequent processing with this version of the action form by viewing the operation log. In the confirmation box, a confirmation button for performing feature extraction based on the current action form and an update button for obtaining the latest action form of the target project and performing feature extraction with the latest action form can be provided. In the case of detecting the triggering operation of the confirmation button, the version of the current action form of the target project obtained is regarded as the latest version, and feature extraction is performed on the current action form. In the case of detecting the triggering operation of the update button, the version of the current action form of the target project obtained is regarded as not the latest version, so the latest action form of the target project is obtained, and feature extraction is performed on the latest action form.
[0155] In this way, by refreshing the action form of the target project, it is helpful to subsequently generate a process flow chart based on the latest action form, which provides convenience for real-time follow-up of the process flow of the target project.
[0156] Figure 5 A schematic diagram of a data generation method according to an embodiment of the present disclosure is shown. In one example, Figure 5 As shown, by obtaining the process function action table (i.e., action form) from the FDS standard file and pressing a one-key operation button, before performing feature extraction on the action form of the target project, it is possible to first determine whether the condition exists. If so, remove the old worksheet and flowchart, and generate a new worksheet and flowchart; if not, generate a new worksheet and flowchart. After generating the new worksheet and flowchart, the worksheet and flowchart printing format can be set to achieve the completion steps of the standard file. Among them, the judgment condition can be that the creation time or update time of the action form is closest to the current time. If the judgment condition exists, the action form can be used as an execution object for feature extraction; if the judgment condition does not exist, the latest action form can be re-acquired for feature extraction. Among them, removing the old worksheet and flowchart can also be an optional option, which is not limited in the embodiments of the present disclosure.
[0157] In a possible implementation, the data generation method may further include: displaying the generated process flow chart. The display method may be determined according to the above-mentioned method of generating the process flow chart. If all the process flow charts are generated at one time, then all the process flow charts may be displayed at one time on the display interface. If all the process flow charts are generated one by one, then the first generated process flow chart may be displayed on the display interface first, and the process flow charts generated later may be reduced and not displayed. The specific display method may be set according to the user's operating habits or actual conditions, and the embodiments of the present disclosure do not limit this. In this way, the user experience may be enhanced by setting different display methods.
[0158] The data generation method provided in the embodiments of the present disclosure can be applied to batch processes in the pharmaceutical field. Batch processes in the pharmaceutical field refer to the process of orderly processing a certain amount of input drug raw materials through one or more devices within a certain period of time to produce a certain amount of drug products. The data generation method provided in the embodiments of the present disclosure can ensure that batch process production meets different requirements in terms of process automation control, and ensure the stability, flexibility, flexibility and diversity of the system.
[0159] The data generation method provided by the embodiment of the present disclosure can be applied to batch production processing related to pharmaceuticals. By retrieving, identifying and grabbing the data information of all process descriptions in the action form of the target project, the stop, pause, abandon and run worksheets defined in the action form can be automatically generated in sequence by clicking the button in the action form, and the process flow chart corresponding to the stop, pause, abandon and run actions can be automatically generated. The process flow chart can accurately reflect the process steps, process names and process jump conditions defined in the action form in detail, replacing the manual creation of worksheets and flow charts, realizing the automatic generation in a unified standardized way, avoiding manual mistakes, reducing a large amount of manual drawing of flow charts, and automatically generating standard files with one click, thereby improving design efficiency and accuracy. In particular, by using a VBA-based macro language, a program can be written in the VBA project macro language to realize the one-click efficient and accurate generation of the process FDS function flow chart, better guide the control system program design, form a unified standardized automatic generation of FDS flow charts, and the automatically generated FDS process flow chart conforms to the S88.01 model structure. At the same time, the automatic generation design of the process flow chart provided by the embodiment of the present disclosure meets the three main model requirements of the ISA-S88.01 standard: process model (including production process, process stage, process operation, process action); program model (including product flow, unit flow, unit operation, unit stage); physical model (including product production line, production unit, equipment stage, control module).
[0160] The disclosed embodiment also provides a data generating device, which is applied to pharmaceutical-related batch production processing. Figure 6 FIG. 1 is a block diagram of a data generating device according to an embodiment of the present disclosure. Figure 6 As shown, the device 600 includes: an acquisition module 601, the acquisition module 601 is configured to obtain an action form of a target project in response to a data generation instruction, wherein the data generation instruction is used to generate a process flow chart of the target project, and the action form of the target project records the production process information required to execute the target project; a feature extraction module 602, the feature extraction module 602 is configured to perform feature extraction on the action form of the target project to obtain target information, the target information includes each action in the target project and the steps required to execute each action, and the steps indicate the production process information; a generation module 603, the generation module 603 is configured to generate a process flow chart based on the target information, and the process flow chart displays the production process information required to execute the action.
[0161] In this way, the action form of the target project is obtained by the acquisition module in response to the data generation instruction for generating the process flow chart of the target project. The action form of the target project records the production process information required to execute the target project. Then, the feature extraction module performs feature extraction on the action form of the target project to obtain the target information. The target information may include various actions in the target project and the steps required to execute various actions. The steps may indicate the corresponding production process information. Finally, the generation module generates a process flow chart showing the production process information required to execute the action based on the target information. In this way, only one data generation instruction can be used to uniformly and automatically generate the process flow chart required in the design of automated control systems for batch production processes related to pharmaceuticals in a standardized manner. In particular, a process flow chart including the required specific production process information can be generated according to a specific target project, which can not only meet the requirements of automated control system design for various projects, but also improve design efficiency and accuracy, and avoid the problems of low efficiency and easy errors caused by manual drawing.
[0162] In a possible implementation, the step of obtaining the action form of the target project in response to the data generation instruction includes: when the target project is determined according to the data generation instruction, generating a search term according to the target project, searching a database based on the search term, and obtaining the action form of the target project, wherein the database stores the action forms of various optional projects, and the target project is at least one of the optional projects. In this way, by generating a search term according to the target project and searching the database based on the search term, the action form of the target project can be obtained quickly and accurately.
[0163] In a possible implementation, extracting features from the action form of the target project to obtain target information includes: determining each action in the target project based on the acquired action form of the target project; and identifying each action in the target project in the action form of the target project to obtain the steps required to execute each action. In this way, by identifying each action required for the target project in the action form, the steps required for each action can be quickly and accurately obtained.
[0164] In a possible implementation, the action form of the target project obtained based on the action form determines the actions in the target project, including: searching in each action form based on keywords to obtain the actions in the target project, wherein the keywords are determined according to the nouns used to describe the actions in the target project; and / or determining the actions in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form; the action form based on the actions in the target project is identified in the action form of the target project to obtain the steps required to execute the actions, including: for a first action, identifying in a first form to obtain the steps required to execute the first action, wherein the first action is any one of all the actions in the target project, and the first form stores the steps required to execute the first action. In this way, by using keywords and / or naming situations to determine the actions required for the target project, and identifying in the corresponding action form according to each action, the steps required for each action can be quickly and accurately obtained.
[0165] In a possible implementation, the device further includes an update module, which is configured to: when it is determined that the version of the current action form of the target project is the latest version, perform the feature extraction on the current action form; or, when it is determined that the version of the current action form of the target project is not the latest version, obtain the latest action form of the target project and perform the feature extraction on the latest action form. In this way, by refreshing the action form of the target project, it is helpful to subsequently generate a process flow chart based on the latest action form, which provides convenience for real-time follow-up of the process flow of the target project.
[0166] In a possible implementation, the process flow chart generated based on the target information includes: generating multiple images based on the target information, different images displaying process flow charts of different actions in the target project, wherein the method of generating multiple images includes a method of generating multiple images at one time or a method of generating multiple images one by one; and / or generating multiple process forms based on the target information, different process forms display process flow charts of different actions in the target project, wherein the method of generating multiple process forms includes a method of generating multiple process forms at one time or a method of generating multiple process forms one by one. In this way, by generating the required images (and / or process forms) at one time and / or generating the required images (and / or process forms) in sequence, the user's need to view all the flow charts at one time can be met, and other process flow charts can also be generated while the user is viewing the previously generated process flow chart, saving the user's waiting time and improving the user experience, thereby being able to cope with the different browsing needs of the user.
[0167] In a possible implementation, the steps required to perform each action include a process and a serial number corresponding to the process, and the serial number indicates the execution order of the process; the process flow chart includes a process box and a connection line, wherein the process boxes are connected by the connection line; the device also includes a drawing module, and the drawing module is used to perform the drawing process of the process flow chart, and the drawing process includes: obtaining the process in the steps required to perform the action and the serial number corresponding to the process; drawing the same number of process boxes as the process; filling each process in each process box; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action; or obtaining the process in the steps required to perform the action and the serial number corresponding to the process; traversing each process in turn according to the serial number corresponding to each process, and executing each time when traversing to the current process: drawing a process box, and filling the current process in the process box; connecting each process box according to the serial number corresponding to each process, and obtaining the process flow chart corresponding to the action. In this way, drawing by the process of each step and the execution order of the process can generate an accurate process flow chart.
[0168] In a possible implementation, when the action is the stop, the steps corresponding to the action include the processes to be executed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, when the action is the pause, the steps corresponding to the action include the processes to be executed in sequence: closing and releasing; and / or, when the action is the abandonment, the steps corresponding to the action include the processes to be executed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, when the action is the operation, the steps corresponding to the action include the processes to be executed in sequence: equipment inspection, abnormality inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure building, closing, and releasing. In this way, the process flow chart generated by the various actions and steps actually corresponding to the target project is more in line with the actual design.
[0169] In a possible implementation, the steps required to perform each action include a process and a serial number corresponding to the process, wherein the serial number indicates the execution order of the process; the target information also includes a jump condition, wherein the jump condition indicates a condition to be satisfied when switching the process according to the execution order; and the process flow chart is also marked with the jump condition. In this way, by marking the steps and jump conditions in the process flow chart corresponding to each action, the production process information can be more comprehensively displayed.
[0170] In some embodiments, the functions or modules included in the data generation device provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above data generation method embodiment. For the sake of brevity, it will not be repeated here.
[0171] The embodiment of the present disclosure also proposes a data generating device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above-mentioned data generating method when executing the instructions stored in the memory.
[0172] In some embodiments, the functions or modules included in the data generation device provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above data generation method embodiment. For the sake of brevity, it will not be repeated here.
[0173] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above data generation method is implemented. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0174] In some embodiments, the functions or modules contained in the computer-readable storage medium provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation thereof can refer to the description of the above data generation method embodiment, and for the sake of brevity, it will not be repeated here.
[0175] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned data generation method.
[0176] In some embodiments, the functions or modules included in the computer program product provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above data generation method embodiment. For the sake of brevity, it will not be repeated here.
[0177] Figure 7 1900 is a block diagram of an apparatus for executing a data generation method according to an embodiment of the present disclosure. For example, the apparatus 1900 may be provided as a server or a terminal device. Figure 7 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0178] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.
[0179] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.
[0180] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0181] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0182] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0183] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0184] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0185] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0186] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0187] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0188] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A data generation method, It is characterized in that include: In response to a data generation instruction, an action form of a target project is obtained, wherein the data generation instruction is used to generate a process flow chart of the target project, and the action form of the target project records production process information required to execute the target project; Extracting features from the action form of the target project to obtain target information, wherein the target information includes each action in the target project and steps required to perform each action, wherein the steps indicate production process information; generating a process flow chart based on the target information, wherein the process flow chart displays the production process information required to perform the action, and the process flow chart is applied to the design of an automated control system for batch production processes related to pharmaceuticals; The step of obtaining the action form of the target project in response to the data generation instruction includes: In the case where the target item is determined according to the data generation instruction, a search term is generated according to the target item, and a search is performed in a database based on the search term to obtain an action form of the target item, wherein the database stores an action form of each optional item, and the target item is at least one of the optional items; The step of extracting features from the action form of the target item to obtain target information includes: Determine each action in the target project based on the acquired action list of the target project; Based on each action in the target project, identifying in the action form of the target project, obtaining steps required to execute each action; Wherein, determining each action in the target project based on the action form of the target project obtained includes: searching in each action form based on keywords to obtain each action in the target project, wherein the keyword is determined according to the noun used to describe the action in the target project; and / or determining each action in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form.
2. The method according to claim 1, It is characterized in that The steps of identifying each action in the target project in the action form of the target project and obtaining the steps required to execute each action include: for a first action, identifying in a first form and obtaining the steps required to execute the first action, wherein the first action is any one of all the actions in the target project, and the first form stores the steps required to execute the first action.
3. The method according to claim 1, It is characterized in that The method further comprises: When it is determined that the version of the current action form of the target project is the latest version, the feature extraction is performed on the current action form; or, When it is determined that the version of the current action form of the target project is not the latest version, the latest action form of the target project is obtained, and the feature extraction is performed on the latest action form.
4. The method according to claim 1, It is characterized in that The generating a process flow chart based on the target information includes: Generate multiple images based on the target information, where different images show process flow charts of different actions in the target project, wherein the method of generating multiple images includes a method of generating multiple images at one time or a method of generating multiple images one by one; and / or, Based on the target information, multiple process forms are generated, and different process forms display process flow charts of different actions in the target project. The method of generating multiple process forms includes a method of generating multiple process forms at one time or a method of generating multiple process forms one by one.
5. The method according to claim 1, It is characterized in that The steps required to perform each of the actions include processes and serial numbers corresponding to the processes, wherein the serial numbers indicate the execution order of the processes; The process flow chart includes process boxes and connecting lines, wherein the process boxes are connected by the connecting lines; The method also includes a process of drawing a process flow chart, and the drawing process includes: Obtaining the processes in the steps required to perform the action and the serial numbers corresponding to the processes; drawing the same number of process boxes as the processes; filling each process in each process box; connecting each process box according to the serial numbers corresponding to each process to obtain a process flow chart corresponding to the action; or, Obtain the process in the steps required to perform the action and the serial number corresponding to the process; traverse each process in turn according to the serial number corresponding to each process, and execute each time when traversing to the current process: draw a flow box, and fill the current process in the flow box; connect each flow box according to the serial number corresponding to each process to obtain the process flow chart corresponding to the action.
6. The method according to any one of claims 1 to 5, It is characterized in that The action includes at least one of stopping, pausing, giving up, and running; In the case where the action is the stop, the steps corresponding to the action include the processes performed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, In the case where the action is the pause, the steps corresponding to the action include the processes performed in sequence: closing, releasing; and / or, In the case where the action is the abandonment, the steps corresponding to the action include the processes performed in sequence: pre-cooling, final cooling, pressure building, closing, and releasing; and / or, When the action is the operation, the steps corresponding to the action include the processes performed in sequence: equipment inspection, abnormality inspection, jacket purging, preheating, heating, stabilization, sterilization, precooling, final cooling, pressure building, shutdown, and release.
7. The method according to any one of claims 1 to 5, It is characterized in that The steps required to perform each of the actions include a process and a sequence number corresponding to the process, wherein the sequence number indicates the execution order of the process; the target information also includes a jump condition, wherein the jump condition indicates a condition to be satisfied when switching the process according to the execution order; The process flow chart is also marked with the jump conditions.
8. A data generating device, It is characterized in that include: an acquisition module, the acquisition module being configured to acquire an action form of a target project in response to a data generation instruction, wherein the data generation instruction is used to generate a process flow chart of the target project, and the action form of the target project records production process information required to execute the target project; A feature extraction module, wherein the feature extraction module is configured to extract features from the action form of the target project to obtain target information, wherein the target information includes each action in the target project and steps required to perform each action, wherein the steps indicate production process information; A generating module, wherein the generating module is configured to generate a process flow chart based on the target information, wherein the process flow chart displays the production process information required to perform the action, and the process flow chart is applied to the design of an automated control system for batch production processes related to pharmaceuticals; Wherein, in response to the data generation instruction, obtaining the action form of the target item includes: when the target item is determined according to the data generation instruction, generating a search term according to the target item, searching in a database based on the search term to obtain the action form of the target item, wherein the database stores the action forms of various optional items, and the target item is at least one of the various optional items; The step of extracting features from the action form of the target project to obtain target information includes: determining each action in the target project based on the action form of the target project obtained; and obtaining steps required to execute each action based on identifying each action in the action form of the target project. Wherein, determining each action in the target project based on the action form of the target project obtained includes: searching in each action form based on keywords to obtain each action in the target project, wherein the keyword is determined according to the noun used to describe the action in the target project; and / or determining each action in the target project based on the naming of each action form, wherein the naming reflects the name of the action form file or the header in the action form.
9. A data generating device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 7 when executing the instructions stored in the memory.
10. A non-volatile computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Implementation method of loosely coupled flow
CN102163237A
Flow chart creation method and system, flow chart display method and system and storage medium
CN109816754A
Process flow diagram generation method and device and electronic equipment
CN113570683A
Processing system for beneficiation process flow diagram
CN113641748A
Process display method and device, electronic equipment and readable storage medium
CN114117143A
