CN117850368A - Data generation method, device and medium - Google Patents

Data generation method, device and medium Download PDF

Info

Publication number
CN117850368A
CN117850368A CN202410008731.4A CN202410008731A CN117850368A CN 117850368 A CN117850368 A CN 117850368A CN 202410008731 A CN202410008731 A CN 202410008731A CN 117850368 A CN117850368 A CN 117850368A
Authority
CN
China
Prior art keywords
action
target item
process flow
target
executing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410008731.4A
Other languages
Chinese (zh)
Inventor
潘洪暖
汤卫华
顾正辉
张旭
陈志超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sensong Suzhou Life Technology Co ltd
Original Assignee
Sensong Suzhou Life Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sensong Suzhou Life Technology Co ltd filed Critical Sensong Suzhou Life Technology Co ltd
Priority to CN202410008731.4A priority Critical patent/CN117850368A/en
Publication of CN117850368A publication Critical patent/CN117850368A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The data generation method comprises the steps of responding to a data generation instruction, and obtaining an action form of a target item, wherein the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required by executing the target item; extracting characteristics of an action form of a target item to obtain target information, wherein the target information comprises all actions in the target item and steps required by executing the actions, and the steps indicate production process information; a process flow diagram is generated based on the target information, the process flow diagram showing production process information required to perform the action. The data generation method, the data generation device and the data generation medium can efficiently and accurately generate the process flow chart, serve as the basis of programming design standards of an automatic control system for pharmaceutical batch production processing, and facilitate a user to check production process information required by a target project.

Description

Data generation method, device and medium
Technical Field
The disclosure relates to the technical field of data processing, and in particular relates to a data generation method, a data generation device and a data generation medium.
Background
In the design of an automatic control system for batch production processing in the industries of pharmacy, daily chemicals, bio-pharmaceuticals and the like, for a conventionally written process design specification file (Functional Design Specification, FDS) flow chart (simply referred to as a process flow chart or an FDS flow chart), manual writing is adopted at present, and various process steps are required to be written one by one, so that not only is much unnecessary time wasted, but also errors are easy to occur in the writing process, and the difficulty of generating the process flow chart is increased.
Disclosure of Invention
In view of this, the disclosure provides a data generating method, a device and a medium, which can efficiently and accurately generate a process flow chart as a basis for programming and designing a standard of an automated control system for pharmaceutical batch production, and facilitate a user to check production process information required by a target item.
According to an aspect of the present disclosure, there is provided a data generation method applied to a pharmaceutical-related mass production process, the method comprising:
responding to a data generation instruction, and acquiring an action form of a target item, wherein the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required by executing the target item;
Extracting characteristics of an action form of the target item to obtain target information, wherein the target information comprises all actions in the target item and steps required by executing the actions, and the steps indicate production process information;
a process flow diagram is generated based on the target information, the process flow diagram showing production process information required to perform the action.
In this way, by acquiring the action form of the target item in response to the data generation instruction of the process flow chart for generating the target item, the action form of the target item records the production process information required for executing the target item, then the action form of the target item is subjected to feature extraction to obtain the target information, the target information can comprise each action in the target item and steps required for executing various actions, the steps can indicate corresponding production process information, and finally the process flow chart showing the production process information required for executing the actions is generated based on the target information, so that the process flow chart required in the design of the automatic control system for automatically generating the related batch production process in a standardized manner can be uniformly generated by only one data generation instruction, and especially, the process flow chart comprising the required specific production process information can be generated according to the specific target item, so that the design requirement of the automatic control system for various items can be met, the design efficiency and the accuracy can be improved, and the problems of low efficiency, easy error and the like caused by manual drawing can be avoided.
In one possible implementation manner, the responding to the data generating instruction, acquiring the action form of the target item, includes: and under the condition that the target item is determined according to the data generation instruction, generating a search word according to the target item, and searching in a database based on the search word to obtain an action form of the target item, wherein the database stores the action forms of all selectable items, and the target item is at least one of the selectable items.
Therefore, the search term is generated according to the target item, and the search is carried out in the database based on the search term, so that the action form of the target item can be obtained rapidly and accurately.
In one possible implementation manner, the feature extraction of the action form of the target item, to obtain target information, includes: determining each action in the target item based on the acquired action form of the target item; and identifying each action in the target item in an action form of the target item based on each action in the target item, and obtaining steps required for executing each action.
Thus, by identifying each action required for the target item in the action form, the steps required for each action can be obtained quickly and accurately.
In one possible implementation manner, the determining each action in the target item based on the acquired action form of the target item includes: searching in each action form based on keywords to obtain each action in the target item, wherein the keywords are determined according to nouns used for describing the actions in the target item; and/or determining each action in the target item based on the naming situation of each action form, wherein the naming situation reflects the name of an action form file or a header in the action form; the steps for identifying each action in the target item in the action form of the target item and obtaining the requirement for executing each action comprise the following steps: and identifying a first action in a first form to obtain a step required for executing the first action, wherein the first action is any one of all actions in the target item, and the step required for executing the first action is stored in the first form.
Thus, by determining each action required by the target item by using the keyword and/or the naming situation and identifying each action in the corresponding action form according to each action, the steps required by each action can be obtained quickly and accurately.
In one possible implementation, the method further includes: under the condition that the acquired current action form of the target item is determined to be the latest version, extracting the characteristics of the current action form; or if the acquired current action form of the target item is determined to be the non-latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form.
Therefore, the action form of the target item is refreshed, the subsequent generation of the process flow chart based on the latest action form is facilitated, and convenience is provided for the real-time follow-up of the process flow of the target item.
In one possible implementation manner, the generating a process flow chart based on the target information includes: generating a plurality of images based on the target information, wherein different images show process flow charts of different actions in the target item, and the mode of generating the plurality of images comprises a mode of generating the plurality of images at one time or a mode of generating the plurality of images one by one; and/or generating a plurality of process forms based on the target information, wherein different process forms show process flow charts of different actions in the target item, and the mode of generating the plurality of process forms comprises a mode of generating the plurality of process forms at one time or a mode of generating the plurality of process forms one by one.
Therefore, the required images (and/or process forms) are generated at one time and/or the required images (and/or process forms) are generated sequentially, so that the requirement that a user views all the process charts at one time can be met, other process charts can be generated in the process that the user views the process charts generated earlier, the waiting time of the user is saved, the user experience is improved, and different browsing requirements of the user can be met.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the process flow chart comprises flow blocks and connecting lines, wherein the flow blocks are connected through the connecting lines; the method further includes a drawing process of the process flow diagram, the drawing process including: acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; connecting each flow box according to the serial numbers corresponding to each process to obtain a process flow diagram corresponding to the action; or, acquiring a process in the steps required for executing the action and a serial number corresponding to the process; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions.
In this way, an accurate process flow chart can be generated by plotting the process of each step and the execution order of the process.
In a possible implementation manner, in the case that the action is the stop, the steps corresponding to the action include a process that is sequentially performed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the pause, the steps corresponding to the action include a process that is sequentially performed: closing and releasing; and/or, in the case that the action is the discard, the steps corresponding to the action include a process that is sequentially executed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the operation, the steps corresponding to the action include a process that is sequentially performed: equipment inspection, anomaly inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build, shut down, and release.
Thus, the actual design is more attached through the process flow diagrams generated by various actions and steps actually corresponding to the target item.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the target information further comprises a jump condition, wherein the jump condition indicates a condition to be met when the process is switched according to the execution sequence; the process flow diagram is also marked with the jump condition.
In this way, the production process information can be more comprehensively displayed by marking the steps and the jump conditions in the process flow diagrams corresponding to the actions.
According to another aspect of the present disclosure, there is provided a data generating apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to respond to a data generation instruction, and acquire an action form of a target item, wherein the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required by executing the target item;
the feature extraction module is configured to perform feature extraction on an action form of the target item to obtain target information, wherein the target information comprises actions in the target item and steps required by executing the actions, and the steps indicate production process information;
a generation module configured to generate a process flow diagram based on the target information, the process flow diagram exhibiting production process information required to perform the action.
In this way, the acquisition module acquires the action form of the target item in response to the data generation instruction of the process flow chart for generating the target item, the action form of the target item records the production process information required by executing the target item, then the feature extraction module extracts the action form of the target item to obtain the target information, the target information can comprise all actions in the target item and steps required by executing all actions, the steps can indicate corresponding production process information, and finally the generation module generates the process flow chart showing the production process information required by executing the actions based on the target information, so that the process flow chart required in the design of the automatic control system for the related pharmaceutical batch production process can be automatically generated in a unified mode by only one data generation instruction, and especially, the process flow chart comprising the required specific production process information can be generated according to the specific target item, thereby not only meeting the design requirements of the automatic control system of various items, but also improving the design efficiency and the accuracy, and avoiding the problems of low efficiency, easy error and the like caused by manual drawing.
In one possible implementation manner, the responding to the data generating instruction, acquiring the action form of the target item, includes: and under the condition that the target item is determined according to the data generation instruction, generating a search word according to the target item, and searching in a database based on the search word to obtain an action form of the target item, wherein the database stores the action forms of all selectable items, and the target item is at least one of the selectable items.
Therefore, the search term is generated according to the target item, and the search is carried out in the database based on the search term, so that the action form of the target item can be obtained rapidly and accurately.
In one possible implementation manner, the feature extraction of the action form of the target item, to obtain target information, includes: determining each action in the target item based on the acquired action form of the target item; and identifying each action in the target item in an action form of the target item based on each action in the target item, and obtaining steps required for executing each action.
Thus, by identifying each action required for the target item in the action form, the steps required for each action can be obtained quickly and accurately.
In one possible implementation manner, the determining each action in the target item based on the acquired action form of the target item includes: searching in each action form based on keywords to obtain each action in the target item, wherein the keywords are determined according to nouns used for describing the actions in the target item; and/or determining each action in the target item based on the naming situation of each action form, wherein the naming situation reflects the name of an action form file or a header in the action form; the steps for identifying each action in the target item in the action form of the target item and obtaining the requirement for executing each action comprise the following steps: and identifying a first action in a first form to obtain a step required for executing the first action, wherein the first action is any one of all actions in the target item, and the step required for executing the first action is stored in the first form.
Thus, by determining each action required by the target item by using the keyword and/or the naming situation and identifying each action in the corresponding action form according to each action, the steps required by each action can be obtained quickly and accurately.
In one possible implementation, the apparatus further includes an update module configured to: under the condition that the acquired current action form of the target item is determined to be the latest version, extracting the characteristics of the current action form; or if the acquired current action form of the target item is determined to be the non-latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form.
Therefore, the action form of the target item is refreshed, the subsequent generation of the process flow chart based on the latest action form is facilitated, and convenience is provided for the real-time follow-up of the process flow of the target item.
In one possible implementation manner, the generating a process flow chart based on the target information includes: generating a plurality of images based on the target information, wherein different images show process flow charts of different actions in the target item, and the mode of generating the plurality of images comprises a mode of generating the plurality of images at one time or a mode of generating the plurality of images one by one; and/or generating a plurality of process forms based on the target information, wherein different process forms show process flow charts of different actions in the target item, and the mode of generating the plurality of process forms comprises a mode of generating the plurality of process forms at one time or a mode of generating the plurality of process forms one by one.
Therefore, the required images (and/or process forms) are generated at one time and/or the required images (and/or process forms) are generated sequentially, so that the requirement that a user views all the process charts at one time can be met, other process charts can be generated in the process that the user views the process charts generated earlier, the waiting time of the user is saved, the user experience is improved, and different browsing requirements of the user can be met.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the process flow chart comprises flow blocks and connecting lines, wherein the flow blocks are connected through the connecting lines; the apparatus further includes a drawing module for performing a drawing process of the process flow diagram, the drawing process including: acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; connecting each flow box according to the serial numbers corresponding to each process to obtain a process flow diagram corresponding to the action; or, acquiring a process in the steps required for executing the action and a serial number corresponding to the process; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions.
In this way, an accurate process flow chart can be generated by plotting the process of each step and the execution order of the process.
In a possible implementation manner, in the case that the action is the stop, the steps corresponding to the action include a process that is sequentially performed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the pause, the steps corresponding to the action include a process that is sequentially performed: closing and releasing; and/or, in the case that the action is the discard, the steps corresponding to the action include a process that is sequentially executed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the operation, the steps corresponding to the action include a process that is sequentially performed: equipment inspection, anomaly inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build, shut down, and release.
Thus, the actual design is more attached through the process flow diagrams generated by various actions and steps actually corresponding to the target item.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the target information further comprises a jump condition, wherein the jump condition indicates a condition to be met when the process is switched according to the execution sequence; the process flow diagram is also marked with the jump condition.
In this way, the production process information can be more comprehensively displayed by marking the steps and the jump conditions in the process flow diagrams corresponding to the actions.
According to another aspect of the present disclosure, there is provided a data generating apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the data generation method described above when executing the instructions stored by the memory.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the above-described data generation method.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features and aspects of the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of a data generation method provided according to an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of a data generation method provided according to an embodiment of the present disclosure.
Fig. 3 shows a process flow diagram corresponding to a stop action provided in accordance with an embodiment of the present disclosure.
Fig. 4 shows a process flow diagram corresponding to a stop action provided in accordance with an embodiment of the present disclosure.
Fig. 5 shows a schematic diagram of a data generation method provided according to an embodiment of the present disclosure.
Fig. 6 shows a block diagram of a data generating apparatus provided according to an embodiment of the present disclosure.
Fig. 7 shows a block diagram of an apparatus for performing a data generation method provided in accordance with an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present disclosure by those skilled in the art, a technical environment in which the technical solutions are implemented is described below.
In the design of an automatic control system for batch production processing in the industries of pharmacy, daily chemicals, bio-pharmaceuticals and the like, for a conventionally written process flow chart, manual writing is adopted at present, so that time is consumed, errors are easy to occur, and the difficulty of generating the process flow chart is increased. In addition, the required production process information is different for different project designs, and the corresponding process flow diagrams are also different, so that no suitable scheme can cope with various project drawing tasks at present.
The embodiment of the disclosure provides a data generation method, by acquiring an action form of a target item in response to a data generation instruction of a process flow chart for generating the target item, the action form of the target item records production process information required for executing the target item, then the action form of the target item is subjected to feature extraction to obtain the target information, the target information can comprise all actions in the target item and steps required for executing various actions, the steps can indicate corresponding production process information, and finally the process flow chart showing the production process information required for executing the actions is generated based on the target information, so that the process flow chart required in an automatic control system design for automatically generating pharmaceutical related batch production processes in a standardized manner can be uniformly generated by only one data generation instruction, and especially, the process flow chart comprising the required specific production process information can be generated according to the specific target item, so that the automatic design requirements of various items can be met, the design efficiency and the accuracy can also be improved, and the problems of low efficiency, easy error and the like caused by manual drawing can be avoided.
Fig. 1 shows a flowchart of a data generation method provided according to an embodiment of the present disclosure. As shown in fig. 1, the data generation method may include steps S101 to S103 described below.
Step S101, responding to the data generation instruction, and acquiring an action form of the target item.
And step S102, extracting characteristics of an action form of the target item to obtain target information.
Step S103, generating a process flow chart based on the target information.
The action form of the target item may be read in response to the data generation instruction through step S101.
Wherein the data generation instructions are operable to generate a process flow diagram of the target item. For example, in the design of an automated control system for a pharmaceutical-related batch process, buttons may be provided in a preset interface, and in the event that a triggering operation of a button is detected, data generation instructions are generated and executed, thereby generating a process flow diagram by one key.
The action form of the target item may be recorded with production process information required for executing the target item. In one possible implementation, in the design of an automated control system for a pharmaceutical-related batch process, the number of action forms for a target item may be one, which may cover all process data required to execute the target item, e.g., all actions required to be performed, the type of actions, the order in which the actions are performed, and the specific steps, jump conditions, etc. required to perform a certain action. The relevant user may update the action form.
In one possible implementation, in an automated control system design for a pharmaceutical-related batch process, the number of action forms for a target item may be multiple, in other words, the action form for a target item may include multiple sub-forms, each of which may encompass a portion of the process data required to execute the target item. The number of sub-forms may be the same as the number of categories of actions required for the target item, in which case each sub-form may include a different action as well as the specific steps, jump conditions, etc. required to perform the action. The number of sub-forms may be less than the number of categories of actions required for the target item, in which case a sub-form may include at least one action, the category of action, and the specific steps required to perform the action, jump conditions, etc. It should be noted that, the contents and storage forms of the action form and the sub-form may be flexibly set according to the actual application scenario, which is not limited in the embodiment of the present disclosure. The relevant user may update one or more of these sub-tables.
In addition to the actions to be performed and the types, order, and specific steps required for performing a certain action, the action form corresponding to the target item may further include information that need not be shown in a large number of process flow charts, such as policy information and specific item information, performed by each device, so in one possible implementation, step S101 (i.e. obtaining the action form of the target item in response to the data generation instruction) may include: under the condition that the target item is determined according to the data generation instruction, generating a search term according to the target item, and searching in a database based on the search term to obtain an action form of the target item, wherein the database stores the action forms of the selectable items, and the target item is at least one of the selectable items. Therefore, the search term is generated according to the target item, and the search is carried out in the database based on the search term, so that the action form of the target item can be obtained rapidly and accurately.
In the case that the user needs to generate the process flow chart, all selectable items stored in the database (the action forms for the selectable items are also stored in the database) can be displayed in the preset interface so that the user can select one or more selectable items as target items, and thus a data generation instruction for the target items can be generated.
takingthetargetitemasanexample,whenthetargetitemisdeterminedbasedonthedatagenerationinstruction,thesearchtermmaybegeneratedbasedontheitemnameofthetargetitem,forexample,PROJECT_COM-A,andtheitemnumberofthetargetitem,forexample,2023-001. The term may be generated according to a predetermined rule, the predetermined rule may be at least one of directly taking the whole item name as the term, taking the part of the item name as the term, directly taking the whole item number as the term, taking the part of the item number as the term, and correspondingly, the term generated based on the predetermined rule may be at least one of PROJECT_COM-A, COM-A, 2023-001, wherein the term generated according to the predetermined rule may be presented in the form of options in the interface for the user to select one or more. And/or the search term can be other keywords customized by the user, such as an item A, and can be set according to the actual situation, wherein the search term determined according to the user customization can be obtained by setting a keyword input box in the interface. In the case of generating a search term, an action form for the target item may be retrieved in the database based on the search term. Since the number of the search terms is one or more, when searching is performed based on a plurality of search terms, the stored form in the database can be used as the action form of the target item as long as any one of the plurality of search terms is satisfied.
The case where the target items are plural is similar to the case where the target item is one, and when the target item is plural, reference is made to the above description, and details are not repeated here.
It should be noted that, although the search terms are described by taking the examples of PROJECT_COM-A, COM-A, 2023-001, item A, those skilled in the art will understand that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly set the search term according to personal preference and/or actual application scene.
The action form of the target item read in step S101 may be subjected to feature extraction in step S102 to obtain target information.
In one possible implementation, the target information may include actions in the target item and steps required to perform the actions. These actions and steps may all be required for a target item determined in the automated control system design of a pharmaceutical-related batch process. The actions and steps required will also vary for different project designs. The required actions and steps may also be different at different time nodes for the same item, so the data generation method may further comprise: in response to selecting a partial action of all actions of the target item, a process flow diagram for the selected partial action is generated. The steps may indicate corresponding production process information. The steps may include a name of the process and a serial number corresponding to the process, the number of the process in the steps being at least one, and the serial number may indicate an execution order of the process. Table 1 shows an action table of stopping actions provided according to an embodiment of the present disclosure. Taking table 1 as an example, the pre-cooling, final cooling, pressure build, shut down, and release in table 1 are names of processes, the serial number corresponding to the process pre-cooling is S7000, the serial number corresponding to the process final cooling is S7010, that is, the process pre-cooling is performed before the process final cooling is performed when the stopping action is performed.
Table 1 action table for stopping action
In one possible implementation, the target information may include jump conditions in addition to the kind of action and the steps required to perform the various actions. The jump condition may indicate a condition to be satisfied when switching the process according to the execution order. It should be noted that, whether the jump condition exists in the target information may be flexibly set according to the actual application scenario, which is not limited in the embodiment of the present disclosure.
In one possible implementation, the kind of action may include at least one of stop (stop), pause (hold), abort (abort), run (run). In the case that the action is stopped, the steps corresponding to the action include the processes sequentially executed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is a pause, the steps corresponding to the action include a process that is sequentially executed: closing and releasing; and/or, in the case that the action is to give up, the steps corresponding to the action include the processes performed in sequence: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is running, the steps corresponding to the action include a process that is sequentially executed: equipment inspection (EM inspection), anomaly inspection (or error message), jacket purge, preheat, heat, stabilize, sterilize, pre-cool, finish cool, build pressure, shut down, release. Thus, the actual design is more attached through the process flow diagrams generated by various actions and steps actually corresponding to the target item.
In one example, the complete pharmaceutical field process tube tank equipment control system is a complex control system meeting GMP computerized regulation requirements, and is generally designed with CIP cleaning related Phase program, SIP sterilization related Phase program, production operation related Phase program, tightness test related Phase program, filter integrity test related Phase program and other Phase programs related to various process tube tank system requirements, and corresponding Phase file design and process flow diagram design need to be completed before the pharmaceutical batch production process automation control system program is written, so that the consistency of program design accuracy and program design and file design is ensured, and verification and confirmation of the control system are facilitated. In the design of an automatic control system for a pharmaceutical-related batch process, stainless steel tanks of a conventional process tube-and-tank system need to be cleaned in place (cleaning in place, CIP) for cleaning and system-in-package (System In Package, SIP) for sterilization and disinfection before use in pharmaceutical production, so that dead-angle-free, omnibearing CIP cleaning and SIP sterilization and disinfection of all tanks and auxiliary pipelines of a pharmaceutical equipment module, inner parts, bottoms, middle parts, upper parts, inlets, outlets, pipelines directly or indirectly contacting materials, and the like, are ensured.
Table 2 action table of running actions
Table 2 shows an action table of the running actions provided according to an embodiment of the present disclosure. In one example, in an automated control system design for a pharmaceutical-related batch process, referring to table 2, when the action to be performed is an operation, the operation action may be performed to implement SIP sterilization of the canister according to the following steps:
step one, a process with serial number S0010 and named equipment checking is executed to check whether the equipment module is normal. And when all the equipment modules are idle, executing the following step III, otherwise, executing the following step II.
Step two, a process with the serial number of S0020 and the name of abnormality checking (or error message) is executed. If an abnormal condition exists in the equipment module, an error message is prompted. When all the error messages of the device modules are "acknowledged", the above step one is re-performed. The "confirmed" (i.e. the skip condition of the anomaly checking process in table 2) may refer to a word of "confirmed/confirmed" displayed on the man-machine interface display screen of the device after the anomaly checking operation is confirmed or a preset color displayed by the device through indication thereof, so as to inform the user whether the device can normally perform the anomaly checking operation, thereby assisting the user in judging whether the current step is properly performed.
And step three, executing a process with the serial number of S1010 and the name of jacket purging to ensure that the jacket has no condensed water in the sterilization process, and entering a steam preheating stage after the condensed water is discharged by the jacket. When the discharge time is over, the following step four is performed.
And step four, executing a process with the serial number of S1020 and the name of preheating so as to ensure that the temperature of all equipment in the process flow is pre-increased to a preset value. When all the equipment temperatures of the process flow are greater than or equal to the sterilization preheating temperature set value, the following step five is executed. The sterilization pre-heating temperature set point can be from 90 ℃ to 100 ℃, namely, the heating stage is carried out after the temperature of all equipment is pre-heated to the sterilization pre-heating temperature set point. The sterilization preheating temperature set point, the sterilization temperature set point in the step five, the precooling temperature set point in the step eight, the final cooling temperature set point in the step nine and the build-up pressure set point in the step ten can be flexibly set according to actual application scenes, and the embodiment of the disclosure is not limited to this.
And step five, executing a process with the serial number of S1030 and named heating so as to ensure that the pure steam is continuously heated until the temperature of all equipment in the process flow is increased to a preset value. When all the equipment temperatures of the process flow are greater than or equal to the sterilization temperature set value, the following step six is executed. The sterilization temperature set point can be 121 ℃, namely, the temperature stabilization timing stage is carried out when the temperature of all equipment in the process flow is increased to be more than 121 ℃. And starting the maximum heating time in the heating process, and carrying out heating overtime alarm prompt under the overtime condition.
And step six, executing a stable process with the serial number of S1040 to ensure that all equipment temperatures in the process flow are stabilized above the sterilization temperature set value of 121 ℃ for a period of time, and entering a sterilization and disinfection stage. When the settling time is over, the following step seven is performed.
And step seven, executing a process with the serial number of S1050 and named sterilization, so as to realize sterilization and disinfection of the pot. If the sterilization time is over and all the equipment temperatures of the process flow are greater than or equal to the sterilization temperature set point during sterilization, an alarm indicates "sterilization is successful" and step eight below is performed. If, however, the temperature of any equipment during sterilization is less than the sterilization temperature set point, an alarm prompts "sterilization failure", and the number of sterilization failures is increased by 1, and the process stage of performing the fifth heating is returned to continue to perform the above steps. The sterilization time may be generally set to 30 minutes.
Step eight, a process with serial number S1060 and named pre-cooling may be performed by clean compressed air. When all the equipment temperatures of the process flow are less than or equal to the pre-cooling temperature set point, the following step nine is performed. The pre-cooling temperature set point may be taken from 90 ℃ to 100 ℃, i.e. the final cooling stage is entered after all the equipment temperatures of the process flow in the pre-cooling stage have been pre-cooled below the pre-cooling temperature set point.
Step nine, a process with the serial number of S1070 and the name of final cooling is performed, in which the cooling water is introduced into the jacket of the tank to rapidly cool while maintaining clean compressed air. When all the equipment temperatures of the process flow are less than or equal to the final cooling temperature set point, the following step ten is performed. And starting the maximum cooling time in the final cooling process, and carrying out cooling overtime alarm prompt under the condition of overtime. The final temperature value may be taken from 40 ℃ to 60 ℃, i.e. the pressure build-up stage is entered after the temperature of all the equipment in the final cooling stage has cooled below the final temperature value.
And step ten, executing a process with the serial number of S1080 and the name of pressure building so as to ensure that micro positive pressure is ensured in a pot or a pipeline of related equipment after the process flow is sterilized, and avoiding the deformation and bacteria contamination risk of the equipment caused by negative pressure back suction. When all the equipment pressures of the process flow are greater than or equal to the set point of the build pressure, the following step eleven is executed. The pressure build-up value may be taken from 1-2bar, i.e. the sterilization procedure is ended when all equipment pressures in the build-up stage of the process flow rise to about 1-2bar, and the next stage is entered.
Step eleven, the process with serial number S1980 and named shutdown is executed, and after the correct shutdown process is executed for all the devices in the process flow, the following step twelve is executed. The "correct" (i.e. the skip condition of the shutdown process in table 2) may refer to a preset color of the shutdown state displayed on the man-machine interface display screen of the device after the shutdown operation is correctly performed, so as to inform the user that the device can normally respond to the shutdown operation, thereby helping the user to determine whether the current step is correctly performed.
Step twelve, executing a process with the serial number of S1990 and named release, and after the correct release process is executed on all the devices in the process flow, completing the execution of the operation. The "correct" (i.e. the jump condition of the release process in table 2) may refer to a preset color of the initial state displayed on the man-machine interface display screen of the device after the release operation is correctly performed, so as to inform the user that the device can normally respond to the release operation, thereby assisting the user in judging whether the current step is correctly performed.
In the design of an automated control system for a pharmaceutical-related batch process, referring to table 1, when an action to be performed is a stop, the stop action may be performed according to the following steps:
step one, a process with the serial number of S7000 and named pre-cooling is executed, and when all the equipment temperatures in the process flow are smaller than or equal to the pre-cooling temperature set value, the following step two is executed. The pre-cooling temperature set value and the final temperature set value to be later can be flexibly set according to the actual application scene, and the embodiment of the disclosure is not limited to this.
Step two, the process with the serial number of S7010 and the name of final cooling is executed, and when all the equipment temperatures in the process flow are less than or equal to the final temperature set value, the following step three is executed. And starting the maximum cooling time in the final cooling process, and carrying out cooling overtime alarm prompt under the condition of overtime.
Step three, executing the process with the serial number of S7020 and named pressure building, and executing the following step four when all the equipment pressures in the process flow are greater than or equal to the pressure building pressure set value.
Step four, the process with the serial number of S7030 and the name of shutdown is executed, and after the correct shutdown process is executed for all the devices in the process flow, the following step five is executed. The "correct" (i.e. the skip condition of the shutdown process in table 1) may refer to a preset color of the shutdown state displayed on the man-machine interface display screen of the device after the shutdown operation is correctly performed, so as to inform the user that the device can normally respond to the shutdown operation, thereby helping the user to determine whether the current step is correctly performed.
And step five, executing a process with the serial number of S7040 and the name of release, and stopping executing after the correct release process is executed on all the devices in the process flow. The "correct" (i.e. the jump condition of the release process in table 1) may refer to a preset color of the initial state displayed on the man-machine interface display screen of the device after the release operation is correctly performed, so as to inform the user that the device can normally respond to the release operation, thereby assisting the user in judging whether the current step is correctly performed.
Table 3 action table of pause action
Table 3 shows an action table of pause actions provided in accordance with an embodiment of the present disclosure. In the design of an automated control system for a pharmaceutical-related batch process, referring to table 3, when the action to be performed is a pause, the pause action may be performed as follows:
step one, a process with the serial number of S8000 and the name of shutdown is executed, and after all the devices in the process flow are executed with the shutdown process, the following step two is executed. The "correct" (i.e. the skip condition of the closing process in table 3) may refer to a preset color of the closing state displayed on the man-machine interface display screen of the device after the closing operation is correctly performed, so as to inform the user that the device can normally respond to the closing operation, thereby helping the user to determine whether the current step is correctly performed.
And step two, executing a process with the serial number of S8010 and the name of release, and after the release process is executed on all the equipment in the process flow, finishing the execution of the suspension action. The "correct" (i.e. the jump condition of the release process in table 3) may refer to a preset color of the release state displayed on the man-machine interface display screen of the device after the release operation is correctly performed, so as to inform the user that the device can normally respond to the release operation, thereby assisting the user in judging whether the current step is correctly performed.
Table 4 action table for giving up actions
Table 4 shows an action table of the discard actions provided according to embodiments of the present disclosure. In the design of an automated control system for a pharmaceutical-related batch process, referring to table 4, when the action to be performed is a discard, the discard action may be performed as follows:
step one, a process with the serial number of S9000 and named pre-cooling is executed, and when all the equipment temperatures in the process flow are smaller than or equal to the pre-cooling temperature set value, the following step two is executed. The pre-cooling temperature set value and the final cooling temperature set value later can be flexibly set according to the actual application scene, and the pressure build-up pressure set value is not limited in this embodiment of the disclosure.
And step two, executing a process with the serial number of S9010 and the name of final cooling, and executing the following step three when all equipment temperatures in the process flow are smaller than or equal to the final cooling temperature set value. And starting the maximum cooling time in the final cooling process, and carrying out cooling overtime alarm prompt under the condition of overtime.
And step three, executing a process with the serial number of S9020 and named as pressure building, and executing the following step four when all the equipment pressures in the process flow are greater than or equal to the pressure building pressure set value.
Step four, executing a process with the serial number of S9030 and the name of shutdown, and executing step five below after executing the shutdown process for all the devices in the process flow. The "correct" (i.e. the skip condition of the shutdown process in table 4) may refer to a preset color of the shutdown state displayed on the man-machine interface display screen of the device after the shutdown operation is performed, so as to inform the user that the device can normally respond to the shutdown operation, thereby helping the user to determine whether the current step is performed correctly.
And step five, executing a process with the serial number of S9040 and the name of release, and after the release process is executed on all the equipment in the process flow, giving up the execution of the action. The "correct" (i.e. the jump condition of the release process in table 4) may refer to a preset color of the initial state displayed on the man-machine interface display screen of the device after the release operation is correctly performed, so as to inform the user that the device can normally respond to the release operation, thereby assisting the user in judging whether the current step is correctly performed.
It should be noted that, although the types of actions are described by way of example with respect to running, stopping, pausing, and giving up, and the steps included in each action are described, those skilled in the art will understand that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly set the actions and steps required by each item design according to personal preference and/or actual application scene.
In one possible implementation, where the target information includes actions (i.e., types of actions) and steps required to perform the actions, step S102 (i.e., feature extraction of an action form of the target item, resulting in the target information) may include: determining each action in the target item based on the acquired action form of the target item; and identifying each action in the target item in the action form of the target item, so as to obtain the steps required for executing each action.
In one possible implementation manner, in the case that the number of the acquired action forms of the target item is one, determining each action in the target item based on the acquired action form of the target item in step S102 may include searching in the action form based on a keyword, where the keyword is determined according to a noun used to describe the action in the target item; the step of identifying each action in the target item based on the action list of the target item in step S102, the step of obtaining the need to perform each action may include identifying each action in the target item based on the action list, and extracting the need to perform each action. Thus, by identifying each action required for the target item in the action form, the steps required for each action can be obtained quickly and accurately.
Taking the target item as an example, when the action form of the target item is retrieved based on the search term, the keyword may be generated according to the noun for describing the action in the target item. In the case that the number of ACTION forms of the target item is one, since all ACTIONs and steps in the target item are stored in one form, on one hand, words such as "ACTION" or other words having similar meanings to "ACTION" may directly appear in the one form, and various ACTIONs are listed in the sub-list under the words, so that the words such as "ACTION", "ACTION" and "ACTION" may be directly searched in the one form as keywords for each ACTION in the target item in the target information. When each action is determined, the action can be further identified in the form according to the name of each action, so that the action is positioned to a specific row and a specific column where the step required by executing each action is positioned, and the content in the specific row and column is extracted as the step required by executing each action in the target information.
Similarly to the search term, the keyword may be automatically generated according to as many arrangement and combination rules as possible, and may be displayed in an interface in the form of options so that a user may select one or more keywords according to naming situations of actual projects, and/or the keyword may also be other keywords customized by the user, may be automatically set according to actual situations, and the keyword determined according to the user customization may be obtained by setting a keyword input box in the interface. It should be noted that, although keywords are described with "ACTION", and "behavior" as examples, those skilled in the art will understand that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly set keywords according to personal preference and/or actual application scenes.
The process of obtaining target information will now be described by way of example: in this example, the actions required to execute the target item may include stopping and running. After reading an action form of the target item stored in the xls format file, a corresponding program can be written based on the macro language of the program language (Visual Basic for Applications, VBA) to realize retrieval in the action form based on the keyword "action", thereby obtaining the action required for executing the target item, i.e. stopping and running. Then, the recognition may be continued in the action table based on the row and column where the stopping action is located, and it is determined that the row where the step required for stopping action is located is, for example, the column 2 of the above table 1, so that the content of the column 2 of the table 1 may be extracted as all the steps required for executing the stopping action, and the running action is the same as the stopping action, and will not be repeated here. Finally, the stop action and the step required for executing the stop action, the operation action and the step required for executing the operation action may be set as target information. It should be noted that, although the procedure of acquiring the target information is described taking the macro language of the xls format file, VBA as an example, those skilled in the art will understand that the embodiment of the present disclosure should not be limited thereto. In fact, the user can flexibly set the storage format and programming language of the action form according to personal preference and/or practical application scene.
When the target items are plural, the target information for any one of the plural target items may refer to the description when the target item is one, and will not be described here.
In one possible implementation manner, in the case that the number of acquired action forms of the target item is a plurality of pieces, determining each action in the target item based on the acquired action form of the target item in step S102 may include: searching in each action form based on keywords to obtain each action in the target item, wherein the keywords are determined according to nouns used for describing the actions in the target item; and/or determining each action in the target item based on the naming situation of each action form, wherein the naming situation reflects the name of an action form file or a header in the action form; the identifying in the action form of the target item based on each action in the target item in step S102, the steps required for executing each action may include: and identifying a first action in a first form to obtain a step required for executing the first action, wherein the first action is any one of all actions in the target item, and the step required for executing the first action is stored in the first form. Thus, by determining each action required by the target item by using the keyword and/or the naming situation and identifying each action in the corresponding action form according to each action, the steps required by each action can be obtained quickly and accurately.
In the case where the number of action forms of the target item is plural, since all actions and steps in the target item are stored in plural forms in a scattered manner, there may be cases where:
in the first case, the naming of each action form of the target item (which may refer to the name of the form file or the header within the form) is related to the action in the target item. thatis,thenamingofeachactionformofthetargetitemmaybedeterminedbasedontheitemnameandactionname,itemnumberandactionname,formnumberandactionname,andthelike,andthenamingoftheactionformmaybe,forexample,PROJECT_COM-A_stop&pauseaction,2023-001-runaction,02-pauseaction. In this case, each action required for the target item (one or more actions can be determined by one action form) can be directly determined by naming the action form, so that the corresponding step can be determined in the corresponding form directly according to each action. For example, the naming of the target item a is sequentially two sub-tables of "a-running action" and "a-pause & stop action", and each action in the target item a can be directly obtained from the two sub-tables to be running, paused and stopped, so that in this case, the running action can be directly identified in the sub-table "a-running action", so as to obtain all steps required for executing the running action, and the pause action and the stop action are identical to the running action, which are not repeated herein, so as to determine the target information for the target item a.
In the second case, the naming of each action form of the target item (which may refer to the name of the form file or the header within the form) is independent of the action in the target item. In other words, naming of each action form of a target item (which may refer to the file name of the form or the header of the form) is independent of the action. thatis,thenamingofeachactionformofthetargetitemmaybedetermineddirectlybasedonatleastoneofitemname,itemnumber,formnumber,etc.,forexample,thenamingoftheactionformsmaybethenamesofPROJECT_COM-A_01,PROJECT_COM-A_02,2023-001-01,2023-001-02,whichdonotdirectlyrepresentactions. In this case, it is difficult to determine each ACTION required for the target item (which may be regarded as a case where the number of ACTION forms of the acquired target item is one) by naming the ACTION forms, and then the same may be said as a case where the number of ACTION forms of the acquired target item is one, and the words "ACTION", "ACTION" and "behavior" may be directly searched in each ACTION form as keywords, so as to obtain each ACTION in the target item in the target information, where the manner of generating the keywords may be referred to above and will not be repeated here. In the case of determining each action, all steps required for executing the action may be further obtained with reference to the example in the first case, which will not be described herein.
In a third case, the naming of a partial action form of a target item (which may refer to the name of a form file or a header within a form) is related to an action in the target item, while the naming of a partial action form (which may refer to the name of a form file or a header within a form) is unrelated to an action in the target item. The case includes the first case and the second case, and accordingly, the manner of determining the target information may also be combined with the processing manner corresponding to the first case and the second case, which are not described herein.
In one possible implementation, where the target information includes each action (i.e., the type of action) and steps and jump conditions required to perform various actions, step S102 (i.e., feature extraction of an action form of the target item, resulting in the target information) may include: determining each action in the target item based on the acquired action form of the target item; and identifying each action in the target item in the action form of the target item, and obtaining the steps and the jump conditions required for executing each action. The execution of step S102 in the case where the target information includes the steps necessary for each action and executing the various actions and the skip condition is the same as the execution of step S102 in the case where the target information includes the steps necessary for each action and executing the various actions described above, except that the former also determines the skip condition and takes the skip condition as one of the target information.
The process flow chart may be generated based on the target information obtained in step S102 through step S103. The process flow diagrams may be used to graphically illustrate production process information required to perform an action. The process flow chart can comprise flow blocks and connecting lines, wherein characters in the flow blocks can be steps, the flow blocks are connected through the connecting lines, and the specific connection sequence can be determined according to the step sequence.
In this way, the action form of the target item is obtained through step S101 to respond to the data generation instruction of the process flow chart for generating the target item, the action form of the target item records the production process information required by executing the target item, then the action form of the target item is subjected to feature extraction through step S102 to obtain the target information, the target information can include each action in the target item and steps required by executing various actions, the steps can indicate corresponding production process information, and finally the process flow chart displaying the production process information required by executing the actions is generated based on the target information through step S103, so that the process flow chart required in the automatic control system design of the pharmaceutical related batch production process can be automatically generated in a unified and standardized manner only by using one data generation instruction, and especially, the process flow chart including the required specific production process information can be generated according to the specific target item, thereby not only meeting the design requirements of the automatic control system of various items, but also improving the design efficiency and accuracy, and avoiding the problems of low efficiency, easy mistakes caused by manual drawing.
In one possible implementation, a process flow diagram may show the actions and steps required for a target item.
In one possible implementation, the process flow diagram may be presented in a variety of forms. The picture display process flow diagram may be generated directly based on the target information and/or the process form display process flow diagram may be generated based on the target information. The user can flexibly select to display in the form of pictures in the interface, display pictures in the interface and display pictures and the interface at the same time. Thus step S103, i.e. generating a process flow diagram based on the target information, may comprise: generating a plurality of images based on the target information, wherein the different images show process flow charts of different actions in the target project, and the mode of generating the plurality of images comprises a mode of generating the plurality of images at one time or a mode of generating the plurality of images one by one; and/or generating a plurality of process forms based on the target information, wherein different process forms show process flow charts of different actions in the target project, and the mode of generating the plurality of process forms comprises a mode of generating the plurality of process forms at one time or a mode of generating the plurality of process forms one by one. Therefore, the required images (and/or process forms) are generated at one time and/or the required images (and/or process forms) are generated sequentially, so that the requirement that a user views all the process charts at one time can be met, other process charts can be generated in the process that the user views the process charts generated earlier, the waiting time of the user is saved, the user experience is improved, and different browsing requirements of the user can be met.
For the situation that the process flow chart is displayed by generating the process form based on the target information, a mode of constructing all the process forms and drawing the process flow chart in each process form can be selected. Thus in one possible implementation, generating a plurality of process forms based on the target information in step S103 may include: at a preset interface, a plurality of process forms are constructed at one time aiming at each action in the target item, so that each action in the target item corresponds to one process form, and simultaneously, a process flow chart of the corresponding action is drawn in each process form. The preset interface may be an interface of software capable of drawing a table, an interface of software capable of drawing a chart, or an interface of other platforms. Therefore, all the required process forms are constructed at one time, and corresponding steps are drawn in each process form, so that process flow diagrams corresponding to various actions can be obtained at one time, and browsing requirements of different users can be met.
Fig. 2 shows a schematic diagram of a data generation method provided according to an embodiment of the present disclosure. In one example, the preset interface may be an interface of software capable of drawing a table, and the process form may be a worksheet in the software capable of drawing a table, and the actions required to execute the target item include stop, pause, discard, run. As shown in FIG. 2, after the design description of the process function action table is obtained through the FDS standard phase file (namely, after the required target information of Stopping, pausing, giving up, running actions and corresponding steps are obtained), the process forms corresponding to the various actions can be respectively constructed at the table interface by utilizing one-key operation buttons, namely, stopping the stop ping operation table, pausing the Holding operation table, giving up the warming operation table and Running the Running operation table, and then the steps required by the corresponding actions in the three tables are respectively drawn, so that the process flow charts corresponding to the Stopping, pausing, giving up and Running actions are obtained, and the completion steps of the standard file are realized.
For the case of generating a process form based on the target information to show a process flow chart, a mode of drawing the process flow charts one by one can be selected. Thus in one possible implementation, generating a plurality of process forms based on the target information in step S103 may include: traversing each action in the target item and executing each time traversing to the current action: and constructing a process form corresponding to the action at a preset interface, and drawing steps required by executing the action in the process form to obtain a process flow chart corresponding to the action. The preset interface may be an interface of software capable of drawing a table, an interface of software capable of drawing a chart, or an interface of other platforms. In this way, by drawing the process flow diagram corresponding to one action and drawing the process flow diagram corresponding to another action, other process flow diagrams can be generated in the process of checking the process flow diagram generated first by a user, so that the waiting time of the user is saved, and the user experience is improved.
In one example, the preset interface may be an interface of software capable of drawing a chart, and the process form may be a worksheet in the software capable of drawing a chart, and the actions required to execute the target item include running, pausing, and discarding. After the required target information (i.e. running, pause, discard action and corresponding steps) is obtained, a process form corresponding to the running action, i.e. a running page, can be constructed at the chart interface, then the steps required when the running action is executed are drawn in the running page, the process flow chart corresponding to the running action is obtained, and then the process flow charts corresponding to the pause action and discard action are drawn in the same way, which is not repeated here.
It should be noted that, although the manner of generating the process flow chart is described by taking software capable of drawing a table, software capable of drawing a chart as an example, those skilled in the art will understand that the embodiments of the present disclosure should not be limited thereto. In fact, the user can flexibly select software suitable for project design according to personal preference and/or practical application scene, so that the user can view the process flow chart.
For the case of directly generating a picture display process flow chart based on the target information, the image generation manner is the same as that for the case of generating a process form display process flow chart based on the target information, and for brevity, the description is omitted here.
The drawing process of the process flow chart is involved in both the case of directly generating a picture presentation process flow chart based on the target information and the case of generating a process form presentation process flow chart based on the target information.
In one possible implementation, the data generating method further includes a drawing process of a process flow chart, and the drawing process may include: acquiring a process and a sequence number corresponding to the process in the steps required by executing the action; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; and connecting the process blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions. That is, whether the process flow chart is shown in a picture or in a process form, for a certain action of a target item, all the processes and the process sequences required for executing the action can be obtained, the process blocks with the same number as the processes can be drawn at one time, all the processes are respectively filled into one process block, and the process blocks are sequentially connected according to the execution sequence of each process, so that the process flow chart for the action is obtained. 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.
Fig. 3 shows a process flow diagram corresponding to a stop action provided in accordance with an embodiment of the present disclosure. In one example, the process in the steps required to perform the stopping actions shown in table 1, i.e., pre-cooling, final cooling, build-up of pressure, shut-down, release, is obtained. Drawing flow blocks corresponding to the processes one by one in the constructed process form, namely pre-cooling, final cooling, pressure building, closing and releasing, wherein the pre-cooling, final cooling, pressure building, closing and releasing are used as characters in each flow block, and the flow blocks are connected according to the execution sequence of pre-cooling, final cooling, pressure building, closing and releasing, so that a process flow diagram corresponding to the stopping action shown in fig. 3 is obtained.
Other types of process flow diagrams corresponding to the actions may be similar to the process of generating the process flow diagrams corresponding to the stopping actions, and are not repeated herein for brevity.
In one possible implementation, the data generating method further includes a drawing process of a process flow chart, and the drawing process may include: acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions. That is, whether the process flow chart is shown in a picture or in a process form, for a certain action of a target item, all the processes and the process sequences required for executing the action can be obtained, corresponding process blocks are sequentially drawn for each process according to the process sequences, the processes are filled into the process blocks, and the process blocks are sequentially connected according to the execution sequences of the processes, so that the process flow chart for the action is obtained. 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.
In one example, the process in the steps required to perform the stopping actions shown in table 1, i.e., pre-cooling, final cooling, build-up of pressure, shut-down, release, is obtained. Drawing a flow frame in the constructed blank image, taking pre-cooling as characters in the flow frame, drawing a flow frame again, taking final cooling as characters in the flow frame, and the like, drawing flow frames of the rest processes, and connecting the flow frames according to the execution sequence of pre-cooling, final cooling, pressure building, closing and releasing to obtain the process flow diagram corresponding to the stopping action shown in fig. 3.
Other types of process flow diagrams corresponding to the actions may be similar to the process of generating the process flow diagrams corresponding to the stopping actions, and are not repeated herein for brevity.
In one possible implementation, where the target information includes a jump condition, the process flow diagram may also be marked with a jump condition. The process flow diagram may show the actions, steps, and jump conditions required for the target item. The jump condition may be marked at the connection in the process flow diagram. In this way, the production process information can be more comprehensively displayed by marking the steps and the jump conditions in the process flow diagrams corresponding to the actions.
The process flow chart showing the actions, steps and jump conditions required by the target item is displayed in the same manner as the process flow chart showing the actions and steps required by the target item, namely, the picture display process flow chart can be directly generated based on the target information and/or the process flow chart showing the process flow chart can be generated based on the target information, and the mode of constructing all the process flow charts and then drawing the process flow charts in each process flow chart can be selected, or the mode of drawing the process flow charts one by one can be selected, and the description of the display mode of the process flow chart showing the actions and steps required by the target item can be seen, and the description is omitted herein for brevity.
Where the process flow diagrams may exhibit actions, steps, and jump conditions required for a target item, in one possible implementation, the drawing process of the process flow diagrams included in the data generating method may further include: acquiring a process in a step required by executing an action and a sequence number corresponding to the process and a jump condition; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; and connecting the flow blocks according to the serial numbers corresponding to the processes, and marking corresponding jump conditions at the connecting line to obtain the process flow diagrams corresponding to the actions. That is, whether the process flow chart is displayed in a picture or in a process form, for a certain action of a target item, all the processes, the process sequence and the skip conditions required for executing the action can be obtained, the process blocks with the same number as the processes can be drawn at one time, all the processes are respectively filled into one process block, the process blocks are sequentially connected according to the execution sequence of each process, and the corresponding skip conditions are marked at the connecting line, so that the process flow chart for the action is obtained. 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.
Where the process flow diagrams may exhibit actions, steps, and jump conditions required for a target item, in one possible implementation, the drawing process of the process flow diagrams included in the data generating method may further include: acquiring a process in the steps required by executing the action and a sequence number corresponding to the process and a jump condition; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes, and marking corresponding jump conditions at the connecting line to obtain the process flow diagrams corresponding to the actions. That is, whether the process flow chart is shown in a picture or in a process form, for a certain action of a target item, all processes required for executing the action, the process sequence and the skip condition can be obtained, for each process in turn according to the process sequence, the corresponding process blocks are drawn and filled in the process blocks, the process blocks are sequentially connected according to the execution sequence of each process, and the corresponding skip condition is marked at the connecting line, so that the process flow chart for the action is obtained. 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.
Fig. 4 shows a process flow diagram corresponding to a stop action provided in accordance with an embodiment of the present disclosure. In one example, the process in the steps required to perform the stopping actions shown in table 1, i.e., pre-cooling, final cooling, build-up of pressure, shut-down, release, is obtained. Drawing flow blocks corresponding to the pre-cooling, final cooling, pressure building, closing and releasing processes one by one at the constructed process form, connecting the flow blocks according to the execution sequence of pre-cooling, final cooling, pressure building, closing and releasing, marking jump conditions at the connecting line between the flow blocks, namely marking the jump conditions of the pre-cooling at the connecting line between the two flow blocks corresponding to the pre-cooling and the final cooling, and carrying out the same process on other jump conditions, thereby obtaining the process flow diagram corresponding to the stopping action shown in fig. 4.
Other types of process flow diagrams corresponding to the actions may be similar to the process of generating the process flow diagrams corresponding to the stopping actions, and are not repeated herein for brevity.
In one possible implementation manner, the data generating method may further include: under the condition that the version of the current action form of the acquired target item is the latest version, extracting the characteristics of the current action form; and under the condition that the acquired version of the current action form of the target item is not the latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form.
For example, in the case of retrieving the action form of the target item in the database, the user may confirm whether to perform feature extraction with the action form of the current version by displaying the operation logs of all the action forms in a certain interface and popping up a confirmation box. The operation log may display information such as a version of the action form and an operator, and the user may determine whether to perform subsequent processing with the action form of the version by viewing the operation log. A confirmation button for performing feature extraction based on the current action form and an update button for acquiring the latest action form of the target item and performing feature extraction with the latest action form may be provided in the confirmation box. When the triggering operation of the confirm button is detected, the version of the current action form of the acquired target item is regarded as the latest version, and thus the feature extraction is performed on the current action form. And under the condition that the triggering operation of the update button is detected, regarding the acquired version of the current action form of the target item as not the latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form.
Therefore, the action form of the target item is refreshed, the subsequent generation of the process flow chart based on the latest action form is facilitated, and convenience is provided for the real-time follow-up of the process flow of the target item.
Fig. 5 shows a schematic diagram of a data generation method provided according to an embodiment of the present disclosure. In one example, as shown in fig. 5, by acquiring a process function action table (i.e., action table) from the FDS standard file, pressing a one-key operation button, before feature extraction is performed on the action table of the target item, it may be determined whether a condition exists, and if so, the old work table and the flowchart are removed, so as to generate a new work table and flowchart; if not, a new worksheet and flow chart is generated. After the new worksheets and flowcharts are generated, the worksheet and flowcharts print format settings may be performed, thereby implementing the completion step of the standard file. The judging condition may be that the creation time or the update time of the action form is closest to the current time, and if the judging condition exists, the action form may be used as an execution object to perform feature extraction; if the judging condition does not exist, the latest action form can be acquired again to extract the characteristics. Wherein removing old worksheets and flowcharts may also be used as options, which are not limited by the disclosed embodiments.
In one possible implementation manner, the data generating method may further include: the resulting process flow diagram is shown. The manner of display may be determined in accordance with the manner of generating the process flow diagrams described above. If all of the process flow diagrams are generated at once, then all of the process flow diagrams may be displayed at once at the display interface. If all the process flow charts are generated one by one, the first generated process flow chart can be displayed at the display interface, and the later generated process flow charts can be miniaturized and not displayed. The specific display mode may be set according to the operation habit or actual situation of the user, which is not limited in the embodiment of the present disclosure. Therefore, the use experience of the user can be improved by setting different display modes.
The data generation method provided by the embodiment of the disclosure can be applied to batch processes in the pharmaceutical field. The batch process in the pharmaceutical field refers to a process of orderly processing a certain amount of input pharmaceutical raw materials in a certain time through one or more devices, thereby producing a certain amount of pharmaceutical products. The data generation method provided by the embodiment of the disclosure can ensure that the batch process production meets different requirements in terms of process automation control, and ensures the stability, flexibility and diversity of the system.
The data generation method provided by the embodiment of the disclosure can be applied to pharmaceutical related batch production, and can automatically generate the stop, pause, discard and run worksheets defined in the action form in sequence by clicking the buttons in the action form through retrieving, identifying and grabbing the data information of all process descriptions in the action form of the target project, and automatically generate the process flow charts corresponding to the stop, pause, discard and run actions. And especially, a process FDS functional flow chart can be efficiently and accurately generated by writing a program in the VBA project macro language through the VBA project macro language, the control system program design is better guided, a unified standardized automatic FDS generating flow chart is formed, and the automatically generated FDS functional flow chart accords with an S88.01 model structure. Meanwhile, the process flow chart automation generation design provided by the embodiment of the disclosure meets three main model requirements of ISA-S88.01 standard: process models (including production process, process stage, process operation, process action); program models (including product flow, unit operations, unit phases); physical models (including product lines, production units, equipment stages, control modules).
The embodiment of the disclosure also provides a data generation device which is applied to pharmaceutical related batch production processing. Fig. 6 shows a block diagram of a data generating apparatus provided according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus 600 includes: an obtaining module 601, wherein the obtaining module 601 is configured to obtain an action form of a target item in response to a data generation instruction, and the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required for executing the target item; a feature extraction module 602, wherein the feature extraction module 602 is configured to perform feature extraction on an action form of the target item to obtain target information, and the target information includes each action in the target item and steps required for executing the actions, and the steps indicate production process information; a generation module 603, the generation module 603 being configured to generate a process flow diagram based on the target information, the process flow diagram exhibiting production process information required to perform the action.
In this way, the acquisition module acquires the action form of the target item in response to the data generation instruction of the process flow chart for generating the target item, the action form of the target item records the production process information required by executing the target item, then the feature extraction module extracts the action form of the target item to obtain the target information, the target information can comprise all actions in the target item and steps required by executing all actions, the steps can indicate corresponding production process information, and finally the generation module generates the process flow chart showing the production process information required by executing the actions based on the target information, so that the process flow chart required in the design of the automatic control system for the related pharmaceutical batch production process can be automatically generated in a unified mode by only one data generation instruction, and especially, the process flow chart comprising the required specific production process information can be generated according to the specific target item, thereby not only meeting the design requirements of the automatic control system of various items, but also improving the design efficiency and the accuracy, and avoiding the problems of low efficiency, easy error and the like caused by manual drawing.
In one possible implementation manner, the responding to the data generating instruction, acquiring the action form of the target item, includes: and under the condition that the target item is determined according to the data generation instruction, generating a search word according to the target item, and searching in a database based on the search word to obtain an action form of the target item, wherein the database stores the action forms of all selectable items, and the target item is at least one of the selectable items. Therefore, the search term is generated according to the target item, and the search is carried out in the database based on the search term, so that the action form of the target item can be obtained rapidly and accurately.
In one possible implementation manner, the feature extraction of the action form of the target item, to obtain target information, includes: determining each action in the target item based on the acquired action form of the target item; and identifying each action in the target item in an action form of the target item based on each action in the target item, and obtaining steps required for executing each action. Thus, by identifying each action required for the target item in the action form, the steps required for each action can be obtained quickly and accurately.
In one possible implementation manner, the determining each action in the target item based on the acquired action form of the target item includes: searching in each action form based on keywords to obtain each action in the target item, wherein the keywords are determined according to nouns used for describing the actions in the target item; and/or determining each action in the target item based on the naming situation of each action form, wherein the naming situation reflects the name of an action form file or a header in the action form; the steps for identifying each action in the target item in the action form of the target item and obtaining the requirement for executing each action comprise the following steps: and identifying a first action in a first form to obtain a step required for executing the first action, wherein the first action is any one of all actions in the target item, and the step required for executing the first action is stored in the first form. Thus, by determining each action required by the target item by using the keyword and/or the naming situation and identifying each action in the corresponding action form according to each action, the steps required by each action can be obtained quickly and accurately.
In one possible implementation, the apparatus further includes an update module configured to: under the condition that the acquired current action form of the target item is determined to be the latest version, extracting the characteristics of the current action form; or if the acquired current action form of the target item is determined to be the non-latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form. Therefore, the action form of the target item is refreshed, the subsequent generation of the process flow chart based on the latest action form is facilitated, and convenience is provided for the real-time follow-up of the process flow of the target item.
In one possible implementation manner, the generating a process flow chart based on the target information includes: generating a plurality of images based on the target information, wherein different images show process flow charts of different actions in the target item, and the mode of generating the plurality of images comprises a mode of generating the plurality of images at one time or a mode of generating the plurality of images one by one; and/or generating a plurality of process forms based on the target information, wherein different process forms show process flow charts of different actions in the target item, and the mode of generating the plurality of process forms comprises a mode of generating the plurality of process forms at one time or a mode of generating the plurality of process forms one by one. Therefore, the required images (and/or process forms) are generated at one time and/or the required images (and/or process forms) are generated sequentially, so that the requirement that a user views all the process charts at one time can be met, other process charts can be generated in the process that the user views the process charts generated earlier, the waiting time of the user is saved, the user experience is improved, and different browsing requirements of the user can be met.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the process flow chart comprises flow blocks and connecting lines, wherein the flow blocks are connected through the connecting lines; the apparatus further includes a drawing module for performing a drawing process of the process flow diagram, the drawing process including: acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; connecting each flow box according to the serial numbers corresponding to each process to obtain a process flow diagram corresponding to the action; or, acquiring a process in the steps required for executing the action and a serial number corresponding to the process; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions. In this way, an accurate process flow chart can be generated by plotting the process of each step and the execution order of the process.
In a possible implementation manner, in the case that the action is the stop, the steps corresponding to the action include a process that is sequentially performed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the pause, the steps corresponding to the action include a process that is sequentially performed: closing and releasing; and/or, in the case that the action is the discard, the steps corresponding to the action include a process that is sequentially executed: pre-cooling, final cooling, pressure build, closing and releasing; and/or, in the case that the action is the operation, the steps corresponding to the action include a process that is sequentially performed: equipment inspection, anomaly inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build, shut down, and release. Thus, the actual design is more attached through the process flow diagrams generated by various actions and steps actually corresponding to the target item.
In one possible implementation manner, the steps required for executing the actions include a process and a serial number corresponding to the process, where the serial number indicates an execution sequence of the process; the target information further comprises a jump condition, wherein the jump condition indicates a condition to be met when the process is switched according to the execution sequence; the process flow diagram is also marked with the jump condition. In this way, the production process information can be more comprehensively displayed by marking the steps and the jump conditions in the process flow diagrams corresponding to the actions.
In some embodiments, functions or modules included in the data generating apparatus provided by the embodiments of the present disclosure may be used to perform the methods described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing data generating method embodiments, which are not repeated herein for brevity.
The embodiment of the disclosure also provides a data generating device, which comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the data generation method described above when executing the instructions stored by the memory.
In some embodiments, functions or modules included in the data generating apparatus provided by the embodiments of the present disclosure may be used to perform the methods described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing data generating method embodiments, which are not repeated herein for brevity.
The disclosed embodiments also provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described data generation method. The computer readable storage medium may be a volatile or nonvolatile computer readable storage medium.
In some embodiments, functions or modules included in the computer readable storage medium provided by the embodiments of the present disclosure may be used to perform the methods described in the above method embodiments, and specific implementations thereof may refer to descriptions of the above data generation method embodiments, which are not repeated herein for brevity.
Embodiments of the present disclosure also provide a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, performs the above-described data generation method.
In some embodiments, a function or a module included in a computer program product provided by the embodiments of the present disclosure may be used to perform a method described in the foregoing method embodiments, and a specific implementation of the method may refer to a description of the foregoing data generation method embodiments, which is not repeated herein for brevity.
Fig. 7 shows a block diagram of an apparatus for performing a data generation method provided in accordance with an embodiment of the present disclosure. For example, the apparatus 1900 may be provided as a server or terminal device. Referring to fig. 7, the apparatus 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above.
The apparatus 1900 may further comprise a power component 1926 configured to perform power management of the apparatus 1900, a wired or wireless network interface 1950 configured to connect the apparatus 1900 to a network, and an input/output interface 1958 (I/O interface). The apparatus 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1932, including computer program instructions executable by processing component 1922 of apparatus 1900 to perform the above-described methods.
The present disclosure may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic 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 (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (12)

1. A data generation method, comprising:
responding to a data generation instruction, and acquiring an action form of a target item, wherein the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required by executing the target item;
extracting characteristics of an action form of the target item to obtain target information, wherein the target information comprises all actions in the target item and steps required by executing the actions, and the steps indicate production process information;
A process flow diagram is generated based on the target information, the process flow diagram showing production process information required to perform the action.
2. The method of claim 1, wherein the obtaining an action form for the target item in response to the data generation instruction comprises:
and under the condition that the target item is determined according to the data generation instruction, generating a search word according to the target item, and searching in a database based on the search word to obtain an action form of the target item, wherein the database stores the action forms of all selectable items, and the target item is at least one of the selectable items.
3. The method according to claim 1, wherein the feature extracting the action form of the target item to obtain target information includes:
determining each action in the target item based on the acquired action form of the target item;
and identifying each action in the target item in an action form of the target item based on each action in the target item, and obtaining steps required for executing each action.
4. A method according to claim 3, wherein said determining each action in said target item based on said acquired action form of said target item comprises: searching in each action form based on keywords to obtain each action in the target item, wherein the keywords are determined according to nouns used for describing the actions in the target item; and/or determining each action in the target item based on the naming situation of each action form, wherein the naming situation reflects the name of an action form file or a header in the action form;
The steps for identifying each action in the target item in the action form of the target item and obtaining the requirement for executing each action comprise the following steps: and identifying a first action in a first form to obtain a step required for executing the first action, wherein the first action is any one of all actions in the target item, and the step required for executing the first action is stored in the first form.
5. The method according to claim 1, wherein the method further comprises:
under the condition that the acquired current action form of the target item is determined to be the latest version, extracting the characteristics of the current action form; or,
and under the condition that the acquired current action form of the target item is determined to be the non-latest version, acquiring the latest action form of the target item, and extracting the characteristics of the latest action form.
6. The method of claim 1, wherein the generating a process flow diagram based on the target information comprises:
generating a plurality of images based on the target information, wherein different images show process flow charts of different actions in the target item, and the mode of generating the plurality of images comprises a mode of generating the plurality of images at one time or a mode of generating the plurality of images one by one;
And/or the number of the groups of groups,
and generating a plurality of process forms based on the target information, wherein different process forms show process flow charts of different actions in the target project, and the mode of generating the plurality of process forms comprises a mode of generating the plurality of process forms at one time or a mode of generating the plurality of process forms one by one.
7. The method of claim 1, wherein the steps required to perform the actions include a process and a sequence number corresponding to the process, the sequence number indicating an order of execution of the process;
the process flow chart comprises flow blocks and connecting lines, wherein the flow blocks are connected through the connecting lines;
the method further includes a drawing process of the process flow diagram, the drawing process including:
acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; drawing flow blocks with the same number as the process number; filling each process in each flow box respectively; connecting each flow box according to the serial numbers corresponding to each process to obtain a process flow diagram corresponding to the action;
or,
acquiring a process in the steps required by executing the action and a sequence number corresponding to the process; sequentially traversing each process according to the sequence number corresponding to each process, and executing when traversing to the current process each time: drawing a flow block, and filling the current process in the flow block; and connecting the flow blocks according to the serial numbers corresponding to the processes to obtain the process flow diagrams corresponding to the actions.
8. The method of any one of claims 1 to 7, wherein the action comprises at least one of stopping, pausing, discarding, running;
in the case that the action is the stop, the steps corresponding to the action include a process of sequentially executing: pre-cooling, final cooling, pressure build, closing and releasing; and/or the number of the groups of groups,
in the case that the action is the pause, the steps corresponding to the action include the processes performed in sequence: closing and releasing; and/or the number of the groups of groups,
in the case that the action is the discard, the steps corresponding to the action include the processes performed in sequence: pre-cooling, final cooling, pressure build, closing and releasing; and/or the number of the groups of groups,
in the case that the action is the operation, the steps corresponding to the action include a process that is sequentially performed: equipment inspection, anomaly inspection, jacket purging, preheating, heating, stabilization, sterilization, pre-cooling, final cooling, pressure build, shut down, and release.
9. The method according to any one of claims 1 to 7, wherein the steps required to perform the actions include a process and a sequence number corresponding to the process, the sequence number indicating the order of execution of the process; the target information further comprises a jump condition, wherein the jump condition indicates a condition to be met when the process is switched according to the execution sequence; the process flow diagram is also marked with the jump condition.
10. A data generating apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to respond to a data generation instruction, and acquire an action form of a target item, wherein the data generation instruction is used for generating a process flow chart of the target item, and the action form of the target item records production process information required by executing the target item;
the feature extraction module is configured to perform feature extraction on an action form of the target item to obtain target information, wherein the target information comprises actions in the target item and steps required by executing the actions, and the steps indicate production process information;
a generation module configured to generate a process flow diagram based on the target information, the process flow diagram exhibiting production process information required to perform the action.
11. A data generating apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any one of claims 1 to 9 when executing the instructions stored by the memory.
12. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1 to 9.
CN202410008731.4A 2024-01-03 2024-01-03 Data generation method, device and medium Pending CN117850368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410008731.4A CN117850368A (en) 2024-01-03 2024-01-03 Data generation method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410008731.4A CN117850368A (en) 2024-01-03 2024-01-03 Data generation method, device and medium

Publications (1)

Publication Number Publication Date
CN117850368A true CN117850368A (en) 2024-04-09

Family

ID=90543128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410008731.4A Pending CN117850368A (en) 2024-01-03 2024-01-03 Data generation method, device and medium

Country Status (1)

Country Link
CN (1) CN117850368A (en)

Similar Documents

Publication Publication Date Title
US10824810B2 (en) System and method for identifying correlated operator action events based on text analytics of operator actions
US10373107B2 (en) Generation of actions to correct physical configurations
KR101968850B1 (en) Information processing apparatus, information processing system, and recording medium
TW201421177A (en) Apparatus for supporting the preparation of a program, method thereof, and a recording medium
JP3565839B2 (en) Parts catalog creation device
JP6354178B2 (en) Image processing apparatus, management system, and management method
WO2018031306A1 (en) Localization platform that leverages previously translated content
CN117850368A (en) Data generation method, device and medium
CN111669622A (en) Method and device for determining default play relationship of videos and electronic equipment
CN112685288A (en) Method, device, equipment and medium for generating test data of association table
US20180365341A1 (en) Three-Dimensional Cad System Device, and Knowledge Management Method Used in Three-Dimensional Cad
JP2009070319A (en) Traceability management system and traceability management method
JP6612800B2 (en) Design support system and design support method
US10346251B2 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method
WO2011071016A1 (en) System design support device and method
WO2018163421A1 (en) System configuration creation assistance device
US10684295B2 (en) Apparatus and methods for processing and cataloging of samples
JP6782187B2 (en) Plant operation monitoring device and plant operation monitoring method
CN112949265A (en) Test question setting method and system
JP2008257286A (en) Project progress management system and method
JP7176434B2 (en) Information processing system, information processing device and data storage program
JP5349103B2 (en) Substrate processing apparatus and failure factor elucidation program
JP2007172155A (en) Defective product information input device and defective product information input method
JPH07262210A (en) Drawing display device
JP2006039654A (en) Information managing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination