Summary of the invention
Based on this, it is necessary to the technical issues of for instrument performance testing process change low efficiency, provide a kind of instrument
Automation control method, device, computer equipment and storage medium.
A kind of automation control method of instrument, which comprises
When getting the flow data for carrying out automation control to instrument, by the flow data with flow chart
Form be showed in process edit page;
It obtains and modifies data for the step of flow data;
New technological process data are constructed according to the flow data and step modification data;
The script file for controlling the instrument is generated according to the new technological process data;
When the script file is called, the new technological process is executed according to the operating procedure that the script file defines
Data, to realize the control to the instrument.
In one embodiment, described obtain modifies data for the step of flow data, comprising:
When detecting modification instruction, the corresponding step parameter of the flow chart is obtained;The step parameter includes movement
Order parameter and timing time;
The step parameter is showed in the process edit page;
Obtain to the step parameter modify gained the step of modify data.
In one embodiment, described obtain modifies data for the step of flow data, comprising:
Receiving step addition instruction;
Instruction, which is added, according to the step chooses corresponding step modification data;
The operating procedure defined according to the script file executes the new technological process data, comprising:
Determine the logical order in the new technological process data between each step;
The sequence for the operating procedure that the logical order is defined as the script file executes the new technological process number
According to.
In one embodiment, described obtain modifies data for the step of flow data, further includes:
The action identification list respectively acted corresponding with the instrument is shown in the process edit page;
The step for adding instruction selection correspondence according to the step modifies data and includes:
In the action identification list of displaying, the specified action identification of selecting step addition instruction;
The corresponding action command parameter of the action identification is obtained, the action command parameter is determined as the process
The step of data, modifies data.
In one embodiment, described obtain modifies data for the step of flow data, comprising:
Sub-process mark is shown in the process edit page;
When detecting that target sub-process mark is triggered in the sub-process mark, the target sub-process mark is obtained
Know corresponding sub-process data;
Data are modified using the sub-process data as the step of flow data.
In one embodiment, the method also includes:
Target step is chosen in the corresponding each step of the new technological process data;
The previous step of the target step is determined from the corresponding each step of the new technological process data;When described preposition
When the quantity of step is multiple, the previous step is used for, be performed simultaneously before executing the target step it is multiple it is described before
Set step.
A kind of automatic control device of instrument, described device include:
Flow data display module, for inciting somebody to action when getting the flow data for carrying out automation control to instrument
The flow data is showed in process edit page in a flowchart;
Step modifies data acquisition module, modifies data for the step of flow data for obtaining;
New technological process data construct module, for constructing new technological process according to the flow data and step modification data
Data;
Script file generation module, for generating the script text for controlling the instrument according to the new technological process data
Part;
New technological process data execution module, for being defined according to the script file when the script file is called
Operating procedure executes the new technological process data, to realize the control to the instrument.
In one embodiment, the step modifies data acquisition module, is also used to:
When detecting modification instruction, the corresponding step parameter of the flow chart is obtained;The step parameter includes movement
Order parameter and timing time;
The step parameter is showed in the process edit page;
Obtain to the step parameter modify gained the step of modify data.
In one embodiment, the step modifies data acquisition module, is also used to:
Receiving step addition instruction;
Instruction, which is added, according to the step chooses corresponding step modification data;
The new technological process data execution module, is also used to:
Determine the logical order in the new technological process data between each step;
The sequence for the operating procedure that the logical order is defined as the script file executes the new technological process number
According to.
In one embodiment, the step modifies data acquisition module, is also used to:
The action identification list respectively acted corresponding with the instrument is shown in the process edit page;
The step modification data decimation module is also used to:
In the action identification list of displaying, the specified action identification of selecting step addition instruction;
The corresponding action command parameter of the action identification is obtained, the action command parameter is determined as the process
The step of data, modifies data.
In one embodiment, the step modifies data acquisition module, is also used to:
Sub-process mark is shown in the process edit page;
When detecting that target sub-process mark is triggered in the sub-process mark, the target sub-process mark is obtained
Know corresponding sub-process data;
Data are modified using the sub-process data as the step of flow data.
In one embodiment, described device further include:
Target step chooses module, for choosing target step in the corresponding each step of the new technological process data;
Previous step determining module, for determining the target step from the corresponding each step of the new technological process data
Previous step;When the quantity of the previous step is multiple, the previous step is used for, and is executing the target step
It is performed simultaneously multiple previous steps before.
A kind of computer readable storage medium, is stored with computer program, and the computer program is executed by processor
When, so that the step of processor executes any one of the automation control method of above instrument the method.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the meter
When calculation machine program is executed by the processor, so that the processor executes any one of the automation control method of instrument institute
The step of stating method.
Automation control method, device, computer equipment and the storage medium of above-mentioned instrument, when needs are in workflow
In increase newly step or to wherein the step of modify when, by obtain for instrument carry out automation control process number
According to flow data to be showed in process edit page in a flowchart;It obtains and modifies number for the step of flow data
According to;New technological process data are constructed according to flow data and step modification data;Then it generates further according to new technological process data for controlling
The script file of instrument;New technological process number can be executed according to the operating procedure that script file defines by calling script file
According to control of the realization to instrument is developed again without the computer program to instrument, improved work efficiency.
Specific embodiment
In order to which the objects, technical solutions and advantages of the application are more clearly understood, with reference to the accompanying drawings and embodiments,
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain this Shen
Please, it is not used to limit the application.
Fig. 1 is the applied environment figure of the automation control method of one embodiment Instrumental.Referring to Fig.1, the instrument from
Dynamicization control method is applied to the automatic control system of instrument.The automatic control system of the instrument includes terminal 110 and instrument
Device 120.Terminal 110 and instrument 120 are by can be locality connection or network connection.Terminal 110 specifically can be terminal console
Or mobile terminal, mobile terminal specifically can be at least one of mobile phone, tablet computer, laptops etc..
As shown in Fig. 2, in one embodiment, providing a kind of automation control method of instrument.The present embodiment is main
It is applied to the terminal 110 in above-mentioned Fig. 1 in this way to illustrate.Referring to Fig. 2, the automation control method of the instrument has
Body includes the following steps:
S202, when getting the flow data for carrying out automation control to instrument, by flow data with flow chart
Form be showed in process edit page.
Wherein, instrument can be the instrument in in-vitro diagnosis field or the instrument of chemical analysis field, such as biochemical analysis
Instrument, chemiluminescent analyzer, Urine Analyzer, blood analyser, molecular diagnosis or GENE Assay analysis instrument etc..For to instrument
The flow data that device carries out automation control includes the letter such as timing time between process step, step parameter and process step
Breath.Flow chart is for intuitively indicating the logical relation between instrument work step.Process edit page is for visual right
Flow data is modified.
In one embodiment, operation has the application program for controller device on instrument, which passes through process
The control flow of instrument is described in data.When terminal is when detecting process edit instruction, obtained according to process edit instruction
Take to instrument carry out automation control flow data, and according to the process step of acquired flow data, step parameter with
And the information such as timing time product process figure between process step, flow chart generated is then showed in process page
It modifies so that user is based on the flow chart shown to process step in face.
S204 is obtained and is modified data for the step of flow data.
In one embodiment, user can be corresponding to flow data based on the flow chart shown in process edit page
Each process step modify, such as amendment step parameter, addition or removing step, nested sub-process, setting previous step
Deng.After modifying to process step, terminal obtains corresponding step and modifies data user, to be modified according to the step
Data construct new flow data.
In one embodiment, user passes through the guarantor on trigger flow editing interface after modifying to process step
Button is deposited, preservation modifies data to the step of flow data.When terminal detects that the save button on process edit page is touched
When hair, obtains corresponding step and modify data.
S206 constructs new technological process data according to flow data and step modification data.
New technological process data are wherein constructed according to flow data and step modification data, can be and increase step modification data
It is added in flow data, is also possible to delete step modification data from flow data, can also be and step is modified into data
Replace corresponding partial data in flow data.
Such as: the process A that process edit page is shown includes: step 1- step 2- step 3- step 4;User's base
Step 5 has been increased newly after step 4 again in the process.When terminal detects that the save button on process edit page is triggered
When, the flow data about step 5 is obtained, and modify data for the flow data as the step of process A, then by process
Modification data increase in the flow data of process A, to obtain new technological process data.It wherein can about the flow data of step 5
To be the step parameter of step 5.
S208 generates the script file for controlling instrument according to new technological process data.
In one embodiment, terminal modifies number according to flow data and step after getting step modification data
According to new technological process data have been constructed, it is then based on the new technological process data and generates corresponding script file, wherein the script file
The workflow of instrument is defined, i.e., by running the script file, the control to instrument various pieces may be implemented, to hold
This document of traveling far and wide passes through each operating procedure of definition of work flow.
S210 executes new technological process data according to the operating procedure that script file defines when script file is called, with
Realize the control to instrument.
In one embodiment, when script file generated is called, the script file is parsed, the script is obtained
Step defined in file executes new technological process data according to defined operating procedure, to realize the control to instrument.
In one embodiment, when script file generated is called, determine each each step of new technological process data it
Between logical order, the sequence for the operating procedure for then defining identified logical order as script file is suitable according to this
Sequence executes new technological process data.
In another embodiment, during the operating procedure defined according to script file executes new technological process data,
Generated data in the process of implementation can also be obtained, and data obtained are showed in analysis according to preset format
As a result displayed page.Wherein, preset format can be chart or text.
In above-described embodiment, when need in workflow increase newly step or to wherein the step of modify when, pass through
The flow data for carrying out automation control to instrument is obtained, flow data is showed in process volume in a flowchart
Collect the page;It obtains and modifies data for the step of flow data;New technological process number is constructed according to flow data and step modification data
According to;Then the script file for controlling instrument is generated further according to new technological process data;Can by call script file, according to
The operating procedure that script file defines executes new technological process data, the control to instrument is realized, without the computer journey to instrument
Sequence is developed again, is improved work efficiency.
In one embodiment, as shown in figure 3, S204 can specifically include following steps:
S302 obtains the corresponding step parameter of flow chart when detecting modification instruction;Step parameter includes that movement refers to
Enable parameter and timing time.
Step parameter is showed in process edit page by S304.
Wherein, modification instruction can be touched in process edit page for the process step of shown flow chart by user
Hair.The step type of process step includes type of action, timing type or flow type.The step parameter of process step includes
Action command parameter and timing time, action command parameter can be the amount of taking of the initial position of movement, sample or reagent
It can be the reaction time of the time interval or sample between two movements Deng, timing time.
In one embodiment, user repairs in process edit page, the process step triggering for the flow chart shown
Change instruction, when terminal detects modification instruction, obtains the corresponding step parameter of flow chart.Wherein, modification instruction can correspond to
Any one or more steps that user in flow chart chooses may correspond to all steps in flow chart.When repairing
When changing any one or more steps that instruction corresponds in flow chart, corresponding terminal obtains any one or more steps
Rapid step parameter;When modification instruction corresponds to all steps of flow chart, corresponding terminal obtains each in the flow chart
The step parameter of step.Terminal after getting the corresponding step parameter of flow chart, by acquired step parameter display in
Process edit page.
S306, obtain to step parameter modify gained the step of modify data.
In one embodiment, terminal is by acquired step parameter display after process edit page, and user is in process
It may browse through the corresponding step parameter of flow chart on edit page, and related amendments carried out to step parameter.User is to step
After parameter is modified, by the save button on trigger flow editing interface, the modification data to step parameter are saved, i.e.,
Step modifies data.When terminal detects that the save button on process edit page is triggered, obtaining step modifies data.
In the above-described embodiments, when terminal detects modification instruction, the corresponding step parameter of flow chart is obtained, will be walked
Rapid parameter display obtains in process edit page, and after user modifies to step parameter and modifies data to step,
Need not the computer program to instrument developed again, can amendment step parameter, to improve work efficiency.
In another embodiment, S204 specifically can also include receiving step addition instruction;It is added and is instructed according to step
It chooses corresponding step and modifies data.
Wherein, step addition instruction can carry the step of target addition step and interior perhaps identify.Wherein mark can be with
It is timing markers, action identification or process identification.Step content is corresponding with mark, such as step content is: handgrip is grabbed cup, is inhaled
Sample needle inhales sample, and corresponding mark, which may is that, grabs cup, inhales sample, and " grabbing cup ", " inhale sample " the two are identified as action identification.
In one embodiment, user instructs in process edit page for shown flow chart triggering step addition,
The step content that target addition step is wherein carried in step addition instruction deserves terminal and detects step addition instruction
When, step addition instruction is parsed, the step of obtaining the step content of target addition step, then add step according to target
Content obtains corresponding step parameter, and modifies data for acquired step parameter as step.
In one embodiment, the mark that each step that instrument is supported is shown in process edit page, when terminal detects
When adding instruction to step, step addition instruction is parsed, and adds the mark of instruction selection target addition step according to the step
Know, then obtains the corresponding step parameter of the mark, and the step of using acquired step parameter as flow data is determined as
Modify data.For example, selected target, which adds the step of step, is identified as timing markers, then corresponding timing time is obtained;
Selected target adds the step of step and is identified as action identification, then obtains corresponding action command parameter;If selected
The step of target addition step, is identified as process identification, then obtains flow data corresponding to the process identification.
In one embodiment, terminal is by acquired step parameter display and process edit page, so that user is to mesh
The step parameter of mark addition step is modified.To user process edit page to target addition step step parameter into
After row modification, the modification data of the step parameter to target addition step are obtained, by the step parameter to target addition step
Modification data the step of being determined as flow data modify data.
In one embodiment, the action identification list respectively acted corresponding to instrument is shown in process edit page, when
When terminal detects step addition instruction, step addition instruction is parsed, and in the action identification list of displaying, chooses step
Rapid addition instructs corresponding action identification, then obtains the corresponding action command parameter of the action identification chosen, will be acquired
The step of action command parameter is determined as flow data modifies data.
In one embodiment, terminal by acquired action command parameter display in process edit page, so as to user
It modifies to the action command parameter of target addition step.Target addition step is moved in process edit page to user
After modifying as order parameter, the modification data of the action command parameter to target addition step are obtained, target will be added
The step of adding the modification data of the action command parameter of step to be determined as flow data, modifies data.
In one embodiment, process identification corresponding to instrument is shown in process edit page.Wherein process identification is
The mark for the process that instrument is supported.When terminal detects step addition instruction, step addition instruction is parsed, and opening up
In the process identification list shown, selecting step addition instructs corresponding process identification, and it is corresponding then to obtain the process identification chosen
Flow data, the step of acquired flow data is determined as flow data modifies data.
In one embodiment, the flow data of acquired process identification is showed in by terminal in a flowchart
Process edit page, so that flow data of the user to target addition step is modified.To user in process edit page pair
After the flow data of target addition step is modified, the modification data of the flow data to target addition step are obtained, it will
The step of being determined as flow data to the modification data of the flow data of target addition step modifies data.
In the above-described embodiments, user can be directed to shown flow chart, triggering step addition in process edit page
Instruction.When terminal detects step addition instruction, step corresponding to instruction selection is added according to step and modifies data, it is not necessary to
The computer program of instrument is developed again, new process step can be added, to improve work efficiency.
In one embodiment, as shown in figure 4, S204 specifically can with the following steps are included:
S402 shows sub-process mark in process edit page.
Wherein, sub-process mark is the mark of sub-process, and sub-process is opposite, such as process A can be nested in process
In B, then process A is sub-process relative to process B.When executing flow data, subflow is executed during executable main flow
Journey executes process A during executing process B.
In one embodiment, terminal determines the son for supporting to be nested into the flow data according to acquired flow data
Process identification, and identified sub-process mark is shown in process edit page.
S404 obtains target sub-process mark pair when detecting that target sub-process mark is triggered in sub-process mark
The sub-process data answered.
Sub-process data are modified data by S406.
In one embodiment, the sub-process mark shown can be selected in process edit page user, and
Chosen target sub-process is triggered, to realize the flow chart that the target sub-process is nested in the main flow currently shown
In.When terminal detects that the target sub-process mark in sub-process mark is triggered, the mark for obtaining target sub-process is corresponding
Sub-process data, and modify data for acquired sub-process data as the step of process editor's data.
In above-described embodiment, user can be corresponding with the process for shown flow chart in process edit page
Sub-process mark, selects the process identification of the sub-process of the embeddable flow chart.When terminal detects target in sub-process mark
When sub-process mark is triggered, obtains target sub-process and identify corresponding sub-process data;Using sub-process data as process number
According to the step of modify data.Need not the computer program to instrument developed again, can obtain including main flow and son
The new technological process step of process, to improve work efficiency.
In one embodiment, the automation control method of instrument further include: terminal is repaired according to flow data and step
Change after data construct new technological process data, new technological process data are showed in process edit page in the form of new technological process figure.In
The process edit page, user can be adjusted the logical order of each step of the new technological process data, for example, it is specified before
Set step.
In one embodiment, according to user in the operation of process edit page, terminal is corresponding each in new technological process data
Target step is chosen in step, and the previous step of target step is then determined from the corresponding each step of new technological process data.Target
The logical order of the previous step of step and target step when being executed are as follows: first carry out the previous step of target step, then execute
Target step.Wherein, when the previous step of target step is multiple, the logical order of multiple previous step when being executed
Are as follows: it is performed simultaneously multiple previous step.
For example, there are four steps for the sample-adding process of a chemiluminescent analyzer, successively are as follows: handgrip grabs reaction cup, grabs
On hand placing response cup to couveuse, sample needle draws sample in sample position, and sample is discharged to anti-on couveuse by sample needle
It answers in cup.When not set previous step, which successively executes according to above-mentioned steps.To " the sample needle general of the sample-adding process
Sample is discharged in the reaction cup on couveuse " the step for previous step is set, set previous step is that " handgrip is placed
In reaction cup to couveuse " and " sample needle sample position draw sample ", then sample-adding process after previous step is arranged holds
Row process are as follows: handgrip grabs reaction cup, and on handgrip placing response cup to couveuse, while sample needle draws sample in sample position
This, above-mentioned steps after the completion of, sample is discharged in the reaction cup on couveuse by sample needle.
In one embodiment, new technological process data are showed in process edit page by terminal in the form of process.The process
Table may include the information such as step content, step parameter and the previous step of each step of new technological process data.Pass through the process
Table user may browse through or modify the step content and step parameter of each step of current institute's editing process, can also determine
The previous step of target step.
In above-described embodiment, by specifying the previous step of target step, multiple previous steps can be made while being held
Row, it is not necessary to the computer program of instrument be developed again, the logical order of process step is just adjusted, to improve work
Make efficiency.
Below by taking chemiluminescent analyzer as an example, illustrate to execute process of the flow data to realize instrument controlling.
There are components, the sample needles such as sample needle, handgrip, reading module to can be used for drawing sample, grab on chemiluminescent analyzer
Hand can be used for shifting sample reaction cup, and reading module can be used for analyzing the sample after reaction.
If corresponding script file generated is a sample-adding process, wherein specific flow content is as shown in table 1.
After operator clicks the button for executing process in the operation interface of instrument, application program brings into operation, and calls script
File, and control instruction is sent to handgrip, control handgrip grabs reaction cup from the position of variable 1, and then handgrip is again by reaction cup
It is placed into No. 1 position of couveuse, while controlling sample needle and drawing sample 50uL, sample needle is then controlled and is discharged in No. 1 position of couveuse
Sample 50uL.
Table 1 is loaded process
If corresponding script file generated is reading process, wherein being nested with sample-adding process in reading process, specifically
Flow content it is as shown in table 2.After operator clicks the button for executing process in the operation interface of instrument, using journey
Sequence brings into operation, and calls script file, is first carried out sample-adding process, and when being loaded process and starting, handgrip is from variable CA1
Position grabs reaction cup.After sample-adding process is finished, start timing, after timing time reaches 40 seconds, handgrip is from incubation
No. 1 position of device grabs reaction cup, and reaction cup is put into reading station, and then the reading module of instrument is read, and is terminated in reading
Afterwards, handgrip is stood from reading grabs reaction cup and reaction cup is put back to No. 1 position in reading station.
Table 2 reads process
Step number |
Step type |
Step content |
Step parameter |
Previous step |
1 |
Flow type |
It is loaded process |
CA1 |
|
2 |
Timing type |
Timing time |
40s |
1 |
3 |
Type of action |
Handgrip grabs cup |
1 |
2 |
4 |
Type of action |
Handgrip puts cup |
Reading station |
3 |
5 |
Type of action |
Reading |
|
4 |
6 |
Type of action |
Handgrip grabs cup |
Reading station |
5 |
7 |
Type of action |
Handgrip puts cup |
1 |
6 |
Fig. 2-4 is the flow diagram of the automation control method of one embodiment Instrumental.Though should be understood that
Each step in the flow chart of right Fig. 2-4 successively shows according to the instruction of arrow, but these steps be not it is inevitable according to
The sequence of arrow instruction successively executes.Unless expressly stating otherwise herein, there is no stringent sequences for the execution of these steps
Limitation, these steps can execute in other order.Moreover, at least part step in Fig. 2-4 may include multiple sons
Perhaps these sub-steps of multiple stages or stage are not necessarily to execute completion in synchronization to step, but can be not
With at the time of execute, the execution in these sub-steps or stage sequence, which is also not necessarily, successively to be carried out, but can be with other steps
The sub-step or at least part in stage of rapid or other steps execute in turn or alternately.
In one embodiment, as shown in figure 5, providing a kind of automatic control device of instrument, which includes:
Flow data display module 502, step modify data acquisition module 504, and new technological process data construct module 506, and script file is raw
At module 508 and new technological process data execution module 510;Wherein:
Flow data display module 502, for working as the flow data got for carrying out automation control to instrument
When, flow data is showed in process edit page in a flowchart;
Step modifies data acquisition module 504, modifies data for the step of flow data for obtaining;
New technological process data construct module 506, for constructing new technological process data according to flow data and step modification data;
Script file generation module 508, for generating the script file for controlling instrument according to new technological process data;
New technological process data execution module 510, the operation for being defined according to script file when script file is called
Step executes new technological process data, to realize the control to instrument.
In above-described embodiment, when need in workflow increase newly step or to wherein the step of modify when, pass through
The flow data for carrying out automation control to instrument is obtained, flow data is showed in process volume in a flowchart
Collect the page;It obtains and modifies data for the step of flow data;New technological process number is constructed according to flow data and step modification data
According to;Then the script file for controlling instrument is generated further according to new technological process data;Can by call script file, according to
The operating procedure that script file defines executes new technological process data, the control to instrument is realized, without the computer journey to instrument
Sequence is developed again, is improved work efficiency.
In one embodiment, step modifies data acquisition module 504, is also used to: when detecting modification instruction, obtaining
Take the corresponding step parameter of flow chart;Step parameter includes action command parameter and timing time;Step parameter is showed in stream
Journey edit page;Obtain to step parameter modify gained the step of modify data.
In the above-described embodiments, when terminal detects modification instruction, the corresponding step parameter of flow chart is obtained, will be walked
Rapid parameter display obtains in process edit page, and after user modifies to step parameter and modifies data to step,
Need not the computer program to instrument developed again, can amendment step parameter, to improve work efficiency.
In one embodiment, step modifies data acquisition module 504, is also used to: receiving step addition instruction;According to
Step addition instruction chooses corresponding step and modifies data;New technological process data execution module, is also used to: determining new technological process data
In logical order between each step;The sequence for the operating procedure that logical order is defined as script file executes new technological process
Data.
When terminal detects modification instruction, the corresponding step parameter of flow chart is obtained, step parameter is showed in process
Edit page, and after user modifies to step parameter, it obtains and data is modified to step, it is not necessary to the calculating to instrument
Machine program is developed again, can amendment step parameter, to improve work efficiency.
In one embodiment, step modifies data acquisition module, is also used to: displaying and instrument in process edit page
The corresponding action identification list respectively acted of device;Step modification data decimation module is also used to: in the action identification list of displaying
In, the specified action identification of selecting step addition instruction;The corresponding action command parameter of action identification is obtained, by action command
Parameter is determined as the step of flow data and modifies data.
In the above-described embodiments, user can be directed to shown flow chart, triggering step addition in process edit page
Instruction.When terminal detects step addition instruction, step corresponding to instruction selection is added according to step and modifies data;It need not
The computer program of instrument is developed again, new process step can be added, to improve work efficiency.
In one embodiment, step modifies data acquisition module, is also used to: showing subflow in process edit page
Journey mark;When detecting that target sub-process mark is triggered in sub-process mark, obtains target sub-process and identify corresponding son
Flow data;Data are modified using sub-process data as the step of flow data.
In above-described embodiment, user can be corresponding with the process for shown flow chart in process edit page
Sub-process mark, selects the process identification of the sub-process of the embeddable flow chart.When terminal detects target in sub-process mark
When sub-process mark is triggered, obtains target sub-process and identify corresponding sub-process data;Using sub-process data as process number
According to the step of modify data.Need not the computer program to instrument developed again, can obtain including main flow and son
The new technological process step of process, to improve work efficiency.
In one embodiment, as shown in fig. 6, the device further include: target step chooses module 512 and previous step
Determining module 514;Wherein:
Target step chooses module 512, for choosing target step in the corresponding each step of new technological process data;
Previous step determining module 514, for determining the preposition of target step from the corresponding each step of new technological process data
Step;When the quantity of previous step be it is multiple when, previous step is used for, be performed simultaneously before performance objective step it is multiple before
Set step.
In above-described embodiment, by specifying the previous step of target step, multiple previous steps can be made while being held
Row, it is not necessary to the computer program of instrument be developed again, the logical order of process step is just adjusted, to improve work
Make efficiency.
Fig. 7 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure
Terminal 110 in 1.As shown in fig. 7, it includes the processing connected by system bus that the computer equipment, which includes the computer equipment,
Device, memory, network interface, input unit and display screen.Wherein, memory includes non-volatile memory medium and interior storage
Device.The non-volatile memory medium of the computer equipment is stored with operating system, can also be stored with computer program, the calculating
When machine program is executed by processor, processor may make to realize the automation control method of instrument.It can also be stored up in the built-in storage
There is computer program, when which is executed by processor, processor may make to execute the automation control side of instrument
Method.The display screen of computer equipment can be liquid crystal display or electric ink display screen, the input unit of computer equipment
It can be the touch layer covered on display screen, be also possible to the key being arranged on computer equipment shell, trace ball or touch-control
Plate can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure
It sets.
In one embodiment, the automatic control device of instrument provided by the present application can be implemented as a kind of computer
The form of program, computer program can be run in computer equipment as shown in Figure 7.It can in the memory of computer equipment
Storage forms each program module of the automatic control device of the instrument, for example, flow data display module shown in Fig. 5
502, step modifies data acquisition module 504, and new technological process data construct module 506, script file generation module 508 and new stream
Number of passes is according to execution module 510.It is described in this specification that the computer program that each program module is constituted executes processor
Step in the automation control method of the instrument of each embodiment of the application.
For example, computer equipment shown in Fig. 7 can be in the automatic control device by instrument as shown in Figure 5
Flow data display module 502 executes S202.Computer equipment can modify data acquisition module 504 by step and execute S204.
Computer equipment can construct module 506 by new technological process data and execute S206.Computer equipment can generate mould by script file
Block 508 executes S208.Computer equipment can execute S210 by new technological process data execution module 510.
In one embodiment, a kind of computer equipment is provided, including memory and processor, memory are stored with
Computer program, when computer program is executed by processor, so that processor executes following steps: when getting for instrument
When device carries out the flow data of automation control, flow data is showed in process edit page in a flowchart;It obtains
Data are modified for the step of flow data;New technological process data are constructed according to flow data and step modification data;According to new stream
Number of passes is according to the script file generated for controlling instrument;When script file is called, walked according to the operation that script file defines
It is rapid to execute new technological process data, to realize the control to instrument.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body executes following steps: when detecting modification instruction, obtaining step corresponding to flow chart
Parameter;Step parameter includes action command parameter and timing time;Step parameter is showed in process edit page;Acquisition pair
Step parameter modify gained the step of modify data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body execute following steps: receiving step addition instruction;Instruction selection pair is added according to step
The step of answering modifies data;Computer program, which is executed by processor, executes new technological process according to the operating procedure that script file defines
When the step of data, so that processing implement body also executes following steps: determining that the logic in new technological process data between each step is suitable
Sequence;The sequence for the operating procedure that logical order is defined as script file executes new technological process data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body executes following steps: showing and with instrument corresponding respectively act in process edit page
Action identification list;Computer program, which is executed by processor, adds step modification data corresponding to instruction selection according to step
When step, so that processing implement body also executes following steps:: in the action identification list of displaying, selecting step addition instruction
Specified action identification;The corresponding action command parameter of action identification is obtained, action command parameter is determined as flow data
Step modifies data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body execute following steps: in process edit page show sub-process mark;When detecting
When target sub-process mark is triggered in sub-process mark, obtains target sub-process and identify corresponding sub-process data;By subflow
Number of passes modifies data according to as the step of flow data.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: In
Target step is chosen in the corresponding each step of new technological process data;Target step is determined from the corresponding each step of new technological process data
Previous step;When the quantity of previous step is multiple, previous step is used for, and is performed simultaneously before performance objective step
Multiple previous steps.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer are stored with
When program is executed by processor, so that processor executes following steps: when getting for carrying out automation control to instrument
When flow data, flow data is showed in process edit page in a flowchart;The step of obtaining for flow data
Modify data;New technological process data are constructed according to flow data and step modification data;It is generated according to new technological process data for controlling
The script file of instrument;When script file is called, new technological process data are executed according to the operating procedure that script file defines,
To realize the control to instrument.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body executes following steps: when detecting modification instruction, obtaining step corresponding to flow chart
Parameter;Step parameter includes action command parameter and timing time;Step parameter is showed in process edit page;Acquisition pair
Step parameter modify gained the step of modify data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body execute following steps: receiving step addition instruction;Instruction selection pair is added according to step
The step of answering modifies data;Computer program, which is executed by processor, executes new technological process according to the operating procedure that script file defines
When the step of data, so that processing implement body also executes following steps: determining that the logic in new technological process data between each step is suitable
Sequence;The sequence for the operating procedure that logical order is defined as script file executes new technological process data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body executes following steps: showing and with instrument corresponding respectively act in process edit page
Action identification list;Computer program, which is executed by processor, adds step modification data corresponding to instruction selection according to step
When step, so that processing implement body also executes following steps:: in the action identification list of displaying, selecting step addition instruction
Specified action identification;The corresponding action command parameter of action identification is obtained, action command parameter is determined as flow data
Step modifies data.
In one embodiment, computer program is executed by processor acquisition and modifies data for the step of flow data
Step when so that processing implement body execute following steps: in process edit page show sub-process mark;When detecting
When target sub-process mark is triggered in sub-process mark, obtains target sub-process and identify corresponding sub-process data;By subflow
Number of passes modifies data according to as the step of flow data.
In one embodiment, when computer program is executed by processor, so that processor also executes following steps: In
Target step is chosen in the corresponding each step of new technological process data;Target step is determined from the corresponding each step of new technological process data
Previous step;When the quantity of previous step is multiple, previous step is used for, and is performed simultaneously before performance objective step
Multiple previous steps.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can
It is completed with instructing relevant hardware by computer program, the program can be stored in a non-volatile computer can
It reads in storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the application institute
Any reference used in each embodiment provided to memory, storage, database or other media, may each comprise non-
Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include depositing at random
Access to memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the application's
Protection scope.Therefore, the scope of protection shall be subject to the appended claims for the application patent.