Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention aims to provide a method, an apparatus, a system and a medium for dynamically editing a stem cell preparation process flow, and aims to solve the problem of increased preparation cost caused by the inability of dynamically editing the stem cell preparation process flow in the prior art.
The technical scheme of the invention is as follows:
a dynamic editing method of stem cell preparation process flow comprises the following steps:
acquiring a main body template of a process flow to be edited and a sub-flow module in the main body template;
receiving an editing instruction input by a user to adjust the combination relationship between the sub-process modules, and carrying out feasibility judgment on the adjusted combination relationship of the sub-process modules;
if the judgment is feasible, updating the main body template of the process flow according to the combined relation of the adjusted sub-flow modules, otherwise, outputting infeasible prompt information.
In the dynamic editing method for a stem cell preparation process flow, before the obtaining of the main template of the process flow to be edited and the sub-process module in the main template, the method further includes:
and carrying out flow disassembly on the main body template according to the preparation requirement to obtain a plurality of sub-flow modules.
In the dynamic editing method of the stem cell preparation process flow, the main body template comprises a plurality of layers of sub-templates, and each layer of sub-template comprises a plurality of sub-flow modules.
In the dynamic editing method for a stem cell preparation process flow, the receiving an editing instruction input by a user to adjust the combination relationship between the sub-process modules, and performing feasibility judgment on the adjusted combination relationship of the sub-process modules includes:
receiving an editing instruction input by a user;
adjusting the content and the combination sequence of each sub-flow module in the corresponding sub-template according to the editing instruction;
and carrying out feasibility judgment on the adjusted contents and combination sequence of the sub-process modules.
In the dynamic editing method for the stem cell preparation process flow, the feasibility judgment of the contents and the combination sequence of the adjusted sub-process modules includes:
acquiring corresponding preset relation types according to the adjusted contents of the sub-process modules;
and judging whether the adjusted combination sequence meets the preset dependency relationship or not according to the preset relationship type of each sub-process module, if so, judging that the combination sequence is feasible, otherwise, judging that the combination sequence is not feasible.
In the dynamic editing method for a stem cell preparation process flow, the determining whether the adjusted combination sequence satisfies a preset dependency relationship according to the preset relationship type of each sub-process module specifically includes:
and judging whether the preset dependency relationship is met between the adjacent sub-process modules in the same layer of sub-templates and between the adjacent sub-templates according to the preset relationship type of each sub-process module.
In the dynamic editing method of the stem cell preparation process flow, the preset relationship type at least comprises an upstream module, a downstream module, a father module, a submodule, a parallel module and a circulating module.
The invention also provides a dynamic editing device for stem cell preparation process flow, which comprises:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a main body template of a process flow to be edited and a sub-flow module in the main body template;
the editing and judging module is used for receiving an editing instruction input by a user to adjust the combination relationship between the sub-process modules and carrying out feasibility judgment on the adjusted combination relationship of the sub-process modules;
and the updating and adjusting module is used for updating the main template of the process flow according to the combination relation of the adjusted sub-flow modules if the judgment is feasible, and otherwise, outputting infeasible prompt information.
The invention also provides a dynamic editing system of the stem cell preparation process flow, which comprises at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for dynamic editing of a stem cell preparation process flow described above.
Another embodiment of the present invention also provides a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the above-described method for dynamically editing a stem cell preparation process flow.
Another embodiment of the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a processor, cause the processor to perform the above-described method of dynamic editing of a stem cell preparation process flow.
Has the advantages that: compared with the prior art, the embodiment of the invention realizes free and reliable dynamic editing of the stem cell preparation process flow and effectively improves the process flexibility and the application range of a stem cell preparation system by splitting a main template of the process flow into sub-process modules, flexibly adjusting the combination relation between the sub-process modules according to dynamically input editing instructions and automatically judging whether the adjusted combination is feasible or not.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a dynamic editing method of a stem cell preparation process according to a preferred embodiment of the present invention. As shown in fig. 1, it includes the following steps:
s100, acquiring a main body template of a process flow to be edited and a sub-flow module in the main body template;
s200, receiving an editing instruction input by a user to adjust the combination relationship between the sub-process modules, and carrying out feasibility judgment on the adjusted combination relationship of the sub-process modules;
and S300, if the judgment is feasible, updating the main template of the process flow according to the combined relation of the adjusted sub-flow modules, otherwise, outputting infeasible prompt information.
In the embodiment, when the process flow of the stem cell preparation system needs to be changed, the main template of the process flow to be edited and the sub-flow modules therein are obtained first, that is, each process flow is divided into a plurality of sub-flow modules for editing by a user, so that the editing flexibility of the process flow is effectively improved, the user can input corresponding editing instructions according to the actual process requirements to adjust the combination relationship between the sub-flow modules, the complex process flow customization process is converted into simple selection and mobile combination, and the feasibility judgment is automatically performed on the combination relationship of the current sub-flow modules after the adjustment, because the dependency relationship among the operations of each step in the process flow is strong, the preparation may fail or the system may crash and other consequences if any editing without limitation is performed, the automatic judgment is performed after the user finishes editing in the embodiment, if the adjusted combination relationship is feasible, updating the main template of the process flow according to the adjusted combination relationship of the sub-flow module to obtain a brand new process flow, and if the adjusted combination relationship is not feasible, outputting corresponding prompt information to prompt a user that the currently edited process flow violates the process specification of stem cell preparation, so that the reliability of the stem cell preparation flow is ensured while flexible dynamic editing of the process flow is realized.
Further, before the obtaining of the main body template of the process flow to be edited and the sub-flow modules in the main body template, the method further includes:
and carrying out flow disassembly on the main body template according to the preparation requirement to obtain a plurality of sub-flow modules.
In the embodiment, before the process flow is edited, the main body template of each process flow is disassembled in advance to obtain the plurality of sub-flow modules, and a user can edit the process flow by editing the sub-flow modules, so that the defects that the traditional process flow is too solidified and cannot be flexibly adjusted and only can be redesigned and developed are overcome.
Specifically, the main body template comprises a plurality of layers of sub-templates, and each layer of sub-template comprises a plurality of sub-process modules.
In this embodiment, the process flow is sequentially layered and modularized, so that sub-templates with different levels can be obtained in the main template of each process flow, and each layer of sub-template further comprises a plurality of sub-process modules, specifically as shown in fig. 2, in an application embodiment, taking the case that the main template of the process flow is further divided into three sub-template levels, the first sub-template can be a process stage sub-template, for example, including passage, harvest and cryopreservation, each stage is often independent, and there is often a period of interval time between each stage, and the beginning of each stage needs to perform material preparation related operations; the second sub-template can be a logic operation sub-template, for example, comprising preparation, recovery, seed bottle, culture, harvest, freezing and packing, etc., which is a specific purpose and logic operation of the process flow, and the operations are relatively independent; the third sub-template may be a mechanical action sub-template, for example, including washing, counting, mechanical hand bin seed bottle, material bin feeding and bottle taking, solution preparation bin seed bottle, culture box storing, culturing, observing, harvesting, bottle losing, freezing and the like, and these specific mechanical actions often have dependency relationships, such as a front-back relationship, a parallel relationship, a cyclic relationship and the like, and each action is actually a series of mechanical equipment action sets written by the PLC. Therefore, after the process flow is layered and modularized respectively, a sub-flow module set with different layers can be obtained, and a user can flexibly adjust the combination relation of sub-flow modules at different layers according to actual requirements, so that flexible and convenient process flow editing is realized.
Further, the receiving an edit instruction input by a user to adjust the combination relationship between the sub-process modules, and performing feasibility judgment on the adjusted combination relationship of the sub-process modules includes:
receiving an editing instruction input by a user;
adjusting the content and the combination sequence of each sub-flow module in the corresponding sub-template according to the editing instruction;
and carrying out feasibility judgment on the adjusted contents and combination sequence of the sub-process modules.
In this embodiment, when performing dynamic editing, an editing instruction input by a user is received first, where the editing instruction may include, for example, a selection instruction, a drag instruction, a move instruction, a replace instruction, and the like, the content and the combination sequence of each target sub-process module in the selected sub-template are adjusted correspondingly by the editing instruction, complex process editing is converted into simple, for example, building block, combination operations, and feasibility judgment is performed on the content and the combination sequence of all the adjusted sub-process modules, so that it is ensured that logic and quality requirements of stem cell preparation are met among the edited process operations, and stability and reliability of dynamic editing are ensured.
Further, the performing feasibility judgment on the content and the combination sequence of the adjusted sub-process module includes:
acquiring corresponding preset relation types according to the adjusted contents of the sub-process modules;
and judging whether the adjusted combination sequence meets the preset dependency relationship or not according to the preset relationship type of each sub-process module, if so, judging that the combination sequence is feasible, otherwise, judging that the combination sequence is not feasible.
In this embodiment, when the feasibility is determined, the corresponding preset relationship type is obtained according to the adjusted content of each sub-process module, namely, the sub-process modules with different contents are correspondingly provided with preset relationship types, specifically, the preset relationship types at least comprise an upstream module, a downstream module, a father module, sub-modules, a parallel module, a circulation module and the like, the correctness of the preparation logic can be ensured only when the modules with different preset relationship types meet the corresponding preset dependency relationship, therefore, the user does not need to consider the specific relationship of each sub-process module during editing, and the system can automatically judge whether the combination sequence of the sub-process modules which are automatically combined by the current user meets the preset dependency relationship according to the acquired preset relationship type of each sub-process module, so that the automatic verification of the dynamic editing combination dependency relationship is realized, and the operation difficulty of the dynamic editing of the user is reduced.
Further, the determining, according to the preset relationship type of each sub-process module, whether the adjusted combination order satisfies the preset dependency relationship specifically includes:
and judging whether the preset dependency relationship is met between the adjacent sub-process modules in the same layer of sub-templates and between the adjacent sub-templates according to the preset relationship type of each sub-process module.
In this embodiment, when specifically performing automatic determination of the dependency relationship, it is necessary to check the sub-process modules in the same level and the sub-process modules in the sub-templates in adjacent levels according to the preset relationship types of the sub-process modules, in an application embodiment, the dependency relationship between a part of the hierarchical sub-templates and the included sub-process modules is as shown in fig. 3, that is, a certain preset dependency relationship exists between adjacent sub-process modules in the same layer of sub-templates and between adjacent sub-templates, and the normal operation of stem cell preparation can be ensured only if the preset dependency relationship is satisfied, specifically, the preset dependency relationship at least includes a context relationship, an inclusion relationship, a parallel relationship, a cyclic relationship, and the like. Therefore, the checking and judgment of the dependency relationship can be performed according to the preset relationship type of each sub-process module, for example, the sequential relationship between the upstream module and the downstream module is inevitably that the upstream module is executed first and then the downstream module is executed, the context relationship needs to be satisfied, the sub-template level where the parent module is located is inevitably higher than the sub-template level where the sub-module is located between the parent module and the sub-module, the inclusion relationship needs to be satisfied, and the setting of the dependency relationship can be specifically performed according to different contents and preparation logics, so that a user can be ensured to obtain a smoothly executable process main template through automatic checking after arranging and combining each sub-process module by himself, and the time and economic cost for dynamically adjusting the stem cell preparation process are greatly saved.
According to the method embodiment, the main template of the stem cell preparation process flow is divided into the sub-flow modules, the combination relation between the sub-flow modules is flexibly adjusted according to the dynamically input editing instruction, whether the adjusted combination is feasible or not is automatically judged, the stem cell preparation process flow is freely and reliably dynamically edited, and the process flexibility and the application range of the stem cell preparation system are effectively improved.
It should be noted that, a certain order does not necessarily exist between the above steps, and those skilled in the art can understand, according to the description of the embodiments of the present invention, that in different embodiments, the above steps may have different execution orders, that is, may be executed in parallel, may also be executed interchangeably, and the like.
Another embodiment of the present invention provides a dynamic editing apparatus for stem cell preparation process, as shown in fig. 4, the apparatus 1 includes:
the obtaining module 11 is configured to obtain a main template of a process flow to be edited and a sub-flow module in the main template;
the editing and judging module 12 is configured to receive an editing instruction input by a user to adjust a combination relationship between the sub-process modules, and perform feasibility judgment on the adjusted combination relationship of the sub-process modules;
and the updating and adjusting module 13 is used for updating the main template of the process flow according to the combination relation of the adjusted sub-flow modules if the judgment is feasible, and otherwise, outputting infeasible prompt information.
The obtaining module 11, the editing and judging module 12, and the updating and adjusting module 13 are connected in sequence, and for the specific implementation, reference is made to the above corresponding method embodiment, which is not described herein again.
Another embodiment of the present invention provides a dynamic editing system for stem cell preparation process, as shown in fig. 5, the system 10 includes:
one or more processors 110 and a memory 120, where one processor 110 is illustrated in fig. 5, the processor 110 and the memory 120 may be connected by a bus or other means, and where fig. 5 illustrates a connection by a bus.
Processor 110 is used to implement various control logic for system 10, which may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a single chip, an ARM (Acorn RISC machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Also, the processor 110 may be any conventional processor, microprocessor, or state machine. Processor 110 may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The memory 120 is a non-volatile computer readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions corresponding to the dynamic editing method of the stem cell preparation process flow in the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the system 10, i.e., implementing the dynamic editing method of the stem cell preparation process flow in the above method embodiments, by executing the non-volatile software programs, instructions and units stored in the memory 120.
The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the system 10, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from processor 110, which may be connected to system 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more units are stored in memory 120, which when executed by one or more processors 110, perform the dynamic editing method of the stem cell preparation process flow in any of the method embodiments described above, e.g., performing method steps S100-S300 in fig. 1 described above.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions for execution by one or more processors, for example, to perform method steps S100-S300 of fig. 1 described above.
By way of example, non-volatile storage media can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Synchronous RAM (SRAM), dynamic RAM, (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The disclosed memory components or memory of the operating environment described herein are intended to comprise one or more of these and/or any other suitable types of memory.
Another embodiment of the invention provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of dynamic editing of a stem cell preparation process flow of the above method embodiment. For example, the method steps S100 to S300 in fig. 1 described above are performed.
In summary, in the method, the apparatus, the system and the medium for dynamically editing the stem cell preparation process flow disclosed by the present invention, the method includes obtaining a main template of a process flow to be edited and a sub-process module in the main template; receiving an editing instruction input by a user to adjust the combination relationship between the sub-process modules, and carrying out feasibility judgment on the adjusted combination relationship of the sub-process modules; if the judgment is feasible, updating the main body template of the process flow according to the combined relation of the adjusted sub-flow modules, otherwise, outputting infeasible prompt information. According to the embodiment of the invention, the main template of the process flow is divided into the sub-flow modules, the combination relation among the sub-flow modules is flexibly adjusted according to the dynamically input editing instruction, and whether the adjusted combination is feasible or not is automatically judged, so that the free and reliable dynamic editing of the stem cell preparation process flow is realized, and the process flexibility and the application range of the stem cell preparation system are effectively improved.
The above-described embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. With this in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer electronic device (which may be a personal computer, a server, or a network electronic device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Conditional language such as "can," "might," or "may" is generally intended to convey that a particular embodiment can include (yet other embodiments do not include) particular features, elements, and/or operations, unless specifically stated otherwise or otherwise understood within the context as used. Thus, such conditional language is also generally intended to imply that features, elements, and/or operations are in any way required for one or more embodiments or that one or more embodiments must include logic for deciding, with or without input or prompting, whether such features, elements, and/or operations are included or are to be performed in any particular embodiment.
What has been described herein in the specification and drawings includes examples of methods, apparatus, systems and media capable of providing dynamic editing of a stem cell preparation process flow. It will, of course, not be possible to describe every conceivable combination of components and/or methodologies for purposes of describing the various features of the disclosure, but it can be appreciated that many further combinations and permutations of the disclosed features are possible. It is therefore evident that various modifications can be made to the disclosure without departing from the scope or spirit thereof. In addition, or in the alternative, other embodiments of the disclosure may be apparent from consideration of the specification and drawings and from practice of the disclosure as presented herein. It is intended that the examples set forth in this specification and the drawings be considered in all respects as illustrative and not restrictive. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.