CN110188491A - The processing method and processing device of computational efficiency during raising simulation calculation - Google Patents
The processing method and processing device of computational efficiency during raising simulation calculation Download PDFInfo
- Publication number
- CN110188491A CN110188491A CN201910478517.4A CN201910478517A CN110188491A CN 110188491 A CN110188491 A CN 110188491A CN 201910478517 A CN201910478517 A CN 201910478517A CN 110188491 A CN110188491 A CN 110188491A
- Authority
- CN
- China
- Prior art keywords
- simulation calculation
- sub
- parameter
- execute
- simulation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of processing method and processing devices of computational efficiency during raising simulation calculation;Wherein, this method comprises: the simulation calculation process is divided into multiple sub- simulation calculation processes, wherein have corresponding parameter during each sub- simulation calculation;Receive user's triggering for after modifying the instruction of parameter, pause currently to operate the simulation calculation of the multiple sub- simulation calculation process, and save the result that simulation calculation has been completed during the multiple sub- simulation calculation;It is modified according to described instruction to the parameter during the simulation calculation, and simulation calculation operation is continued to execute based on modified parameter.Through the invention, the problem of simulation calculation waste of time early period that will lead to if modified to the parameter during simulation calculation is solved in the related technology.
Description
Technical field
The present invention relates to imitation technology fields, calculate effect in the process in particular to a kind of raising simulation calculation
The processing method and processing device of rate.
Background technique
As simulation calculation is in the extensive use of all trades and professions, generally can all have in many industrial control softwares or platform now
The process that analog simulation calculates.However, usually requiring to set industry control before simulation calculation during current simulation calculation
Parameter just can be carried out simulation calculation, can not modify setting parameter in original project once into calculating process, at this moment only
Can build a project again to recalculate once.But during actual emulation, early period when parameter is set often by
In staff carelessness in parameter setting mistake or later period because project setting needs adjustment member parameter, cause project to exist
In the case where completing partial simulation calculating process, need to be adjusted parameter.Therefore, during simulation calculation, if needed
The parameter of setting be adjusted, not only waste the simulation calculation early period time in this way, but also rebuild project can also give engineering people
Member brings the trouble of repetitive operation.
In view of the above problems in the related art, not yet there is effective solution at present.
Summary of the invention
The embodiment of the invention provides a kind of processing method and processing devices of computational efficiency during raising simulation calculation, so that
Few simulation calculation time early period for solving to will lead in the related technology if modified to the parameter during simulation calculation
The problem of waste.
According to one embodiment of present invention, provide it is a kind of raising simulation calculation during computational efficiency processing side
Method, comprising: terminal emulation calculating process is divided into multiple sub- simulation calculation processes, wherein each sub- simulation calculation process
In have corresponding parameter;Receiving the imitative for after modifying the instruction of parameter, suspending currently sons multiple to terminal of user's triggering
The simulation calculation operation of true calculating process, and save the knot that the multiple sub- simulation calculations of terminal have completed simulation calculation in the process
Fruit;It is modified according to end command to the parameter in terminal emulation calculating process, and is continued to execute based on modified parameter
Simulation calculation operation.
Optionally, judge whether modified parameter is in during the sub- simulation calculation that simulation calculation is completed;According to
Judging result determines the sub- simulation calculation process for continuing to execute simulation calculation operation;Continued according to determining sub- simulation calculation process
Execute simulation calculation operation.
Optionally, terminal determines the sub- simulation calculation process for continuing to execute simulation calculation operation according to judging result, comprising:
In the case that parameter after the modification is not in during the sub- simulation calculation that simulation calculation is completed, determination continues to execute emulation
The sub- simulation calculation process of calculating operation sub- simulation calculation process locating when being pause;Parameter after the modification is in and is completed
In the case where during the sub- simulation calculation of simulation calculation, determine that the sub- simulation calculation process for continuing to execute simulation calculation operation is
Sub- simulation calculation process locating for parameter after terminal modifications.
Optionally, terminal continues to execute simulation calculation operation according to determining sub- simulation calculation process, comprising: from when pause
Locating sub- simulation calculation process continues to execute simulation calculation operation;Or, the son locating for the parameter after terminal modifications is imitative again
True calculating process starts to continue to execute simulation calculation operation.
Optionally, the simulation result of upper one sub- simulation calculation process of current sub- simulation calculation process is obtained;According to
Terminal emulation calculated result and corresponding parameter during terminal currently sub- simulation calculation are to the current sub- simulation calculation process of terminal
Carry out simulation calculation.
According to another embodiment of the invention, provide it is a kind of raising simulation calculation during computational efficiency processing dress
It sets, comprising: division module, for terminal emulation calculating process to be divided into multiple sub- simulation calculation processes, wherein each height
There is corresponding parameter during simulation calculation;Processing module, for receive user triggering for modify parameter instruction it
Afterwards, suspend the simulation calculation operation of sub- simulation calculation processes currently multiple to terminal, and save the multiple sub- simulation calculation mistakes of terminal
The result of simulation calculation has been completed in journey;Execution module, for according to end command to the ginseng in terminal emulation calculating process
Number is modified, and continues to execute simulation calculation operation based on modified parameter.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in terminal storage medium
Calculation machine program, wherein terminal computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor, terminal are additionally provided
Computer program is stored in memory, terminal handler is arranged to run terminal computer program to execute any of the above-described
Step in embodiment of the method.
Through the invention, simulation calculation process is divided into multiple sub- simulation calculation processes, in the use for receiving user's triggering
After the instruction of modification parameter, pause currently operates the simulation calculation of multiple sub- simulation calculation processes, and saves multiple sons
Completed during simulation calculation simulation calculation as a result, parameter during according to instruction to simulation calculation is modified
Afterwards, simulation calculation operation is continued to execute based on modified parameter, that is to say, that user can be directed to during simulation calculation
The instruction for modifying parameter of triggering modifies to parameter, locating for the parameter after remodifying after the completion of parameter modification
Sub- simulation calculation process starts to continue to execute simulation calculation operation, to solve in the related technology if to simulation calculation process
In parameter modify, the problem of simulation calculation waste of time early period that will lead to, reached raising computation efficiency
Effect.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 be the embodiment of the present invention raising simulation calculation during computational efficiency processing method terminal hardware knot
Structure block diagram;
Fig. 2 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing method flow chart;
Fig. 3 is to continue to hold based on modified parameter in the processing method of simulation calculation process according to an embodiment of the present invention
The specific flow chart of row simulation calculation operation;
Fig. 4 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing unit structural frames
Figure;
Fig. 5 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing unit in optionally tie
Structure block diagram.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting
In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment of the method provided by the embodiment of the present application one can be filled in terminal, terminal or similar operation
Set middle execution.For running at the terminal, Fig. 1 is a kind of end of the processing method of simulation calculation process of the embodiment of the present invention
The hardware block diagram at end.As shown in Figure 1, terminal 10 may include one or more (only showing one in Fig. 1) processors 102
It (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) and is used for
The memory 104 of storing data, optionally, above-mentioned terminal can also include for the transmission device 106 of communication function and defeated
Enter output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to above-mentioned end
The structure at end causes to limit.For example, terminal 10 may also include than shown in Fig. 1 more perhaps less component or have with
Different configuration shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of processing method of simulation calculation process in bright embodiment, processor 102 are stored in by operation
Computer program in reservoir 104 realizes above-mentioned method thereby executing various function application and data processing.Storage
Device 104 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device,
Flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processing
The remotely located memory of device 102, these remote memories can pass through network connection to terminal 10.The example packet of above-mentioned network
Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes a network adapter
(Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to
It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF)
Module is used to wirelessly be communicated with internet.
A kind of place of computational efficiency during the raising simulation calculation for running on above-mentioned terminal is provided in the present embodiment
Reason method, Fig. 2 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing method flow chart, such as
Shown in Fig. 2, which includes the following steps:
Terminal emulation calculating process is divided into multiple sub- simulation calculation processes by step S102, wherein each height emulation
There is corresponding parameter in calculating process.
It is also equipped with the industrial control software or platform of operation simulation calculation in above-mentioned terminal, executes above-mentioned terminal imitative
True calculating process.The industrial control software or platform of terminal before carrying out simulation calculation, need according to the value of user's typing to parameter into
Row is arranged and saves, and further according to the different phase of entire simulation calculation process, entire simulation calculation process is divided into multiple sons
Simulation calculation process, i.e. every sub- simulation calculation process can individually calculate an intermediate data, and it is imitative to participate in next son
The calculating of true calculating process enters last sub- simulation calculation process until calculating, and result calculated final in this way is
The result of entire simulation calculation.And terminal also needs to mark the parameter for participating in the sub- simulation calculation process of each difference
Know, establish each sub- simulation calculation process and participate in the corresponding relationship of the parameter of the sub- simulation calculation process, in this way, terminal is entire
It can be accurately positioned during simulation calculation to the sub- simulation calculation process that simulation calculation is currently completed and participate in emulation meter
The parameter of calculation.
Step S104, receive user's triggering for suspending currently to the multiple sons of terminal after modifying the instruction of parameter
The simulation calculation of simulation calculation process operates, and saves the knot that the multiple sub- simulation calculations of terminal have completed simulation calculation in the process
Fruit.
After above-mentioned steps S102 has been executed, industrial control software or platform in terminal can start simulation calculation, imitative
In true calculating process, if terminal receives the instruction for being used to modify parameter of user's triggering, need to suspend currently to multiple sons
The simulation calculation of simulation calculation process operates, and saves the result that multiple sub- simulation calculations have completed simulation calculation in the process.
Specifically, during simulation calculation, if user needs editing parameter, user can pass through virtually pressing in touch display screen
Key of the key perhaps in terminal can also send the instruction of modification parameter by gesture induction or voice, so that terminal is temporary
Simulation calculation before ready operates and saves the result for having completed the sub- simulation calculation process of simulation calculation.
Step S106 modifies to the parameter in terminal emulation calculating process according to end command, and is based on after modifying
Parameter continue to execute simulation calculation operation.
While terminal suspends simulation calculation, terminal display parameters editing interface, the ginseng for facilitating user to adjust needs
Number is modified.After having modified parameter and having saved, user passes through the virtual key in touch display screen or pressing in terminal
Key can also send the instruction for continuing simulation calculation by gesture induction or voice, and terminal can be based on modified at this time
Parameter continues simulation calculation.Specifically, terminal needs to judge whether modified parameter is the son that simulation calculation is completed
Parameter during simulation calculation, if it is, indicating that the parameter of this time modification participates in the son emulation meter that simulation calculation is completed
The calculating of calculation process has an impact to the result of the simulation calculation currently saved, needs the emulation of the son locating for the modified parameter
Calculating process starts simulation calculation again;If it is not, then indicating that the parameter of this time modification has neither part nor lot in is completed simulation calculation
The calculating of sub- simulation calculation process, does not influence the result of the simulation calculation currently saved, can be from son locating when pause
Simulation calculation process starts to calculate.
In the present embodiment, the parameter modification instruction of user's triggering can be primary, be also possible to repeatedly, the present embodiment is not
It is restricted.When those skilled in the art is believed that terminal receives the parameter modification instruction of user's triggering every time, can all it hold
Row step S104 and S106.Since the modification parameter being related to is different, restart the sub- simulation calculation process of simulation calculation also not
Together, but principle be it is identical, will not repeat them here.
Simulation calculation process is divided into multiple sub- simulation calculation processes by S102 to step S106 through the above steps,
After the instruction for modifying parameter for receiving user's triggering, pause currently grasps the simulation calculation of multiple sub- simulation calculation processes
Make, and save completed during multiple sub- simulation calculations simulation calculation as a result, according to instruction to simulation calculation process
In parameter modify after, based on modified parameter continue to execute simulation calculation operation, that is to say, that in simulation calculation mistake
It can modify for the instruction for modifying parameter of user's triggering to parameter in journey, be repaired again after the completion of parameter modification
Sub- simulation calculation process locating for parameter after changing starts to continue to execute simulation calculation operation.Therefore, it can solve and counted in emulation
The problem of parameter being arranged during calculating can not be modified reaches the work for saving simulation calculation time and reduction personnel reconstruction project
The effect of amount.
Further, referring to figure 3., to be related in step S106 in this present embodiment based on modified parameter after
It is continuous to execute simulation calculation operation, it can be achieved in that
Step S302, judges whether modified parameter is in during the sub- simulation calculation that simulation calculation is completed.
After user completes parameter modification, terminal needs to judge whether modified parameter is in and simulation calculation is completed
During sub- simulation calculation.Reason with during multiple sub- simulation calculations, terminal can obtain current sub- simulation calculation process
Upper one sub- simulation calculation process simulation result, and according to the simulation result and current sub- simulation calculation during
Corresponding parameter carries out simulation calculation to current sub- simulation calculation process, and so on, until entire simulation calculation process reaches
Last sub- simulation calculation process, entire simulation calculation process just terminate.And it emulates and counts in any one height of this process
During calculation, if user has modified any parameter during the sub- simulation calculation that simulation calculation is completed, subsequent imitative
It will lead to simulation result in true calculating process and deviation occur.For example, entire simulation calculation process is divided into first, second,
Third and the 4th 4 sub- simulation calculation process, wherein the parameter that the first sub- simulation calculation process participates in calculating has an a parameter, and second
The parameter that sub- simulation calculation process participates in calculating has b parameter, and the parameter that the sub- simulation calculation process of third participates in calculating has c parameter,
The parameter that 4th sub- simulation calculation process participates in calculating has d parameter, when terminal starts simulation calculation, directly according to a parameter meter
Calculation obtains the result a ' of the first sub- simulation calculation process, is calculated during the second sub- simulation calculation according to a ' and b parameter
As a result result c ' is calculated according to b ' and c parameter during third sub- simulation calculation in b ', similarly, in the 4th son emulation meter
Result d ' is calculated according to c ' and d parameter during calculation.Due to the not upper son emulation meter of first sub- simulation calculation process
The simulation result of calculation process, therefore be the parameter using itself as calculation basis, and last sub- simulation calculation process
There is no next sub- simulation calculation processes, therefore last sub- simulation calculation process is the result of entire simulation calculation.
Those skilled in the art is believed that the present embodiment to the number of sub- simulation calculation process and every height emulation meter
Corresponding number of parameters with no restriction, can be configured according to the actual situation during calculation.
Step S304 determines the sub- simulation calculation process for continuing to execute simulation calculation operation according to judging result.
Specifically, determine that continuing to execute emulation counts according to judging result to what is be related in step S304 in this present embodiment
The sub- simulation calculation process for calculating operation, can be achieved in that
Step S304-11, parameter after the modification are not in the feelings during the sub- simulation calculation that simulation calculation is completed
Under condition, determines and continue to execute sub- simulation calculation process locating when the sub- simulation calculation process of simulation calculation operation is pause;
Step S304-12, parameter after the modification is in the case where being completed during the sub- simulation calculation of simulation calculation
Under, determine that the sub- simulation calculation process for continuing to execute simulation calculation operation is sub- simulation calculation locating for the parameter after terminal modifications
Process.
Terminal is according to judging whether modified parameter is in sentencing during the sub- simulation calculation that simulation calculation is completed
Break as a result, determining the sub- simulation calculation process for continuing to execute simulation calculation operation.Specifically, parameter after the modification is not in
In the case where completing during the sub- simulation calculation of simulation calculation, the sub- simulation calculation mistake for continuing to execute simulation calculation operation is determined
Journey sub- simulation calculation process locating when being pause;Parameter after the modification is in the sub- simulation calculation mistake that simulation calculation is completed
In the case where in journey, determine the sub- simulation calculation process for continuing to execute simulation calculation operation for locating for the parameter after terminal modifications
Sub- simulation calculation process.Continue by taking above-mentioned first, second, third and the 4th 4 sub- simulation calculation process as an example, starts in terminal
When simulation calculation, the result a ' of the first sub- simulation calculation process is directly calculated according to a parameter, in the second sub- simulation calculation mistake
Result b ' is calculated according to a ' and b parameter in journey, knot is calculated according to b ' and c parameter during third sub- simulation calculation
Fruit c ', at this point, if user has modified the value of b parameter, then, after user has modified b parameter, terminal will be since b parameter be most
The the second sub- simulation calculation process for participating in calculating restarts to calculate, rather than since the sub- simulation calculation process of the third of pause
It calculates;If user modifies the value of d parameter at this time, since d parameter also has neither part nor lot in simulation calculation is completed first, second, the
The calculating of three sub- simulation calculation processes, therefore user can open after having modified d parameter from the sub- simulation calculation process of third of pause
Begin to calculate, and result d ' is calculated according to c ' and d parameter.
Step S306 continues to execute simulation calculation operation according to determining sub- simulation calculation process.
Specifically, continue to hold according to determining sub- simulation calculation process to what is be related in step S306 in this present embodiment
The operation of row simulation calculation, can be achieved in that
Step S306-11 continues to execute simulation calculation operation from sub- simulation calculation process locating when pause;Or,
Step S306-12 is continued to execute sub- simulation calculation process locating for the parameter after terminal modifications imitative again
True calculating operation.
If it is determined that sub- simulation calculation process locating sub- simulation calculation process when being pause, then terminal is from pause when institute
The sub- simulation calculation process at place continues to execute simulation calculation operation;If it is determined that sub- simulation calculation process be modified parameter institute
The sub- simulation calculation process at place, then terminal continues to execute the sub- simulation calculation process locating for the modified parameter again
Simulation calculation operation completes entire simulation calculation process until going to last sub- simulation calculation process.
Through the above scheme, after user completes parameter modification, by judging the emulation meter of son locating for modified parameter
Simulation calculation or unfinished simulation calculation is completed in calculation process, and thus the son emulation to determine that terminal restarts to calculate is counted
Calculation process not only ensure that the accuracy that subsequent simulation calculates, the time of the whole simulation calculation also saved in this way.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) method that executes each embodiment terminal of the present invention.
Additionally provide in the present embodiment it is a kind of raising simulation calculation during computational efficiency processing unit, the device use
In realizing above-described embodiment and preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term
The combination of the software and/or hardware of predetermined function may be implemented in " module ".Although device is preferably described in following embodiment
It is realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Fig. 4 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing unit structural frames
Figure, as shown in figure 4, the device includes: division module 10, for simulation calculation process to be divided into multiple sub- simulation calculation mistakes
Journey, wherein have corresponding parameter during each sub- simulation calculation;Processing module 20 is coupled with division module 10 and is linked, and is used
In receive user's triggering for suspending currently to the emulation meter of multiple sub- simulation calculation processes after modifying the instruction of parameter
Operation is calculated, and saves the result that multiple sub- simulation calculations have completed simulation calculation in the process;Execution module 30, with processing module
20 coupling links, for being modified according to instruction to the parameter during simulation calculation, and are continued based on modified parameter
Execute simulation calculation operation.
Fig. 5 be it is according to an embodiment of the present invention raising simulation calculation during computational efficiency processing unit in optionally tie
Structure block diagram, as shown in figure 5, the execution module 30 in Fig. 4 can further include: judging unit 301, it is modified for judging
Whether parameter is in during the sub- simulation calculation that simulation calculation is completed;Determination unit 302, for being determined according to judging result
Continue to execute the sub- simulation calculation process of simulation calculation operation;Execution unit 303, for according to determining sub- simulation calculation process
Continue to execute simulation calculation operation.
Optionally it is determined that unit includes: the first determining subelement, it is not in for parameter after the modification and emulation is completed
In the case where during the sub- simulation calculation calculated, determine that the sub- simulation calculation process for continuing to execute simulation calculation operation is pause
When locating sub- simulation calculation process;Second determines subelement, is in for parameter after the modification and simulation calculation is completed
In the case where during sub- simulation calculation, determine the sub- simulation calculation process for continuing to execute simulation calculation operation for after terminal modifications
Parameter locating for sub- simulation calculation process.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
Terminal emulation calculating process is divided into multiple sub- simulation calculation processes by S1, wherein each sub- simulation calculation mistake
There is corresponding parameter in journey;
S2, receive user's triggering for suspending sub- emulation meters currently multiple to terminal after modifying the instruction of parameter
The simulation calculation of calculation process operates, and saves the result that the multiple sub- simulation calculations of terminal have completed simulation calculation in the process;
S3 modifies to the parameter in terminal emulation calculating process according to end command, and is based on modified parameter
Continue to execute simulation calculation operation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method
Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
Terminal emulation calculating process is divided into multiple sub- simulation calculation processes by S1, wherein each sub- simulation calculation mistake
There is corresponding parameter in journey;
S2, receive user's triggering for suspending sub- emulation meters currently multiple to terminal after modifying the instruction of parameter
The simulation calculation of calculation process operates, and saves the result that the multiple sub- simulation calculations of terminal have completed simulation calculation in the process;
S3 modifies to the parameter in terminal emulation calculating process according to end command, and is based on modified parameter
Continue to execute simulation calculation operation.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein
Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or
Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The above terminal is merely a preferred embodiment of the present invention, and is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.
With replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of processing method of simulation calculation process characterized by comprising
The simulation calculation process is divided into multiple sub- simulation calculation processes, wherein have during each sub- simulation calculation
Corresponding parameter;
Receive user's triggering for suspending currently to the multiple sub- simulation calculation process after modifying the instruction of parameter
Simulation calculation operation, and save the result that the multiple sub- simulation calculation has completed simulation calculation in the process;
It is modified according to described instruction to the parameter during the simulation calculation, and is continued to execute based on modified parameter
Simulation calculation operation.
2. the method according to claim 1, wherein described continue to execute simulation calculation based on modified parameter
Operation, comprising:
Judge whether modified parameter is in during the sub- simulation calculation that simulation calculation is completed;
The sub- simulation calculation process for continuing to execute simulation calculation operation is determined according to judging result;
Simulation calculation operation is continued to execute according to determining sub- simulation calculation process.
3. according to the method described in claim 2, it is characterized in that, described continue to execute simulation calculation according to judging result determination
The sub- simulation calculation process of operation, comprising:
In the case that parameter after the modification is not in during the sub- simulation calculation that simulation calculation is completed, determination is continued to execute
The sub- simulation calculation process of simulation calculation operation sub- simulation calculation process locating when being pause;
In the case that parameter after the modification is in during the sub- simulation calculation that simulation calculation is completed, determination continues to execute imitative
The sub- simulation calculation process of true calculating operation is sub- simulation calculation process locating for modified parameter.
4. according to the method described in claim 3, it is characterized in that, described continue to execute according to determining sub- simulation calculation process
Simulation calculation operation, comprising:
Simulation calculation operation is continued to execute from sub- simulation calculation process locating when pause;Or, again from modified parameter institute
The sub- simulation calculation process at place starts to continue to execute simulation calculation operation.
5. method according to claim 1 to 4, which is characterized in that described to the multiple sub- simulation calculation
The simulation calculation of process operates, comprising:
Obtain the simulation result of upper one sub- simulation calculation process of current sub- simulation calculation process;
According to the simulation result with corresponding parameter during the current sub- simulation calculation to the current sub- emulation
Calculating process carries out simulation calculation.
6. a kind of processing unit of simulation calculation process characterized by comprising
Division module, for the simulation calculation process to be divided into multiple sub- simulation calculation processes, wherein each height emulation
There is corresponding parameter in calculating process;
Processing module, for receive user's triggering for suspending currently to the multiple son after modifying the instruction of parameter
The simulation calculation of simulation calculation process operates, and saves the knot that the multiple sub- simulation calculation has completed simulation calculation in the process
Fruit;
Execution module for being modified according to described instruction to the parameter during the simulation calculation, and is based on after modifying
Parameter continue to execute simulation calculation operation.
7. device according to claim 6, which is characterized in that the execution module includes:
Judging unit, for judging whether modified parameter is in during the sub- simulation calculation that simulation calculation is completed;
Determination unit, for determining the sub- simulation calculation process for continuing to execute simulation calculation operation according to judging result;
Execution unit, for continuing to execute simulation calculation operation according to determining sub- simulation calculation process.
8. device according to claim 7, which is characterized in that the determination unit includes:
First determines subelement, is not in during the sub- simulation calculation that simulation calculation is completed for parameter after the modification
In the case of, it determines and continues to execute sub- simulation calculation process locating when the sub- simulation calculation process of simulation calculation operation is pause;
Second determines subelement, is in the feelings during the sub- simulation calculation of simulation calculation is completed for parameter after the modification
Under condition, determine that the sub- simulation calculation process for continuing to execute simulation calculation operation is sub- simulation calculation mistake locating for modified parameter
Journey.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer
Program is arranged to execute method described in any one of claim 1 to 5 when operation.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to run the computer program to execute side described in any one of claim 1 to 5
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910478517.4A CN110188491B (en) | 2019-06-03 | 2019-06-03 | Processing method and device for improving calculation efficiency in simulation calculation process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910478517.4A CN110188491B (en) | 2019-06-03 | 2019-06-03 | Processing method and device for improving calculation efficiency in simulation calculation process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110188491A true CN110188491A (en) | 2019-08-30 |
CN110188491B CN110188491B (en) | 2020-12-18 |
Family
ID=67720074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910478517.4A Active CN110188491B (en) | 2019-06-03 | 2019-06-03 | Processing method and device for improving calculation efficiency in simulation calculation process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110188491B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6445964B1 (en) * | 1997-08-04 | 2002-09-03 | Harris Corporation | Virtual reality simulation-based training of telekinegenesis system for training sequential kinematic behavior of automated kinematic machine |
CN1382280A (en) * | 1999-02-05 | 2002-11-27 | 坦斯利卡公司 | Automatic processor generation system and method for designing configurable processor |
US20110184687A1 (en) * | 2010-01-25 | 2011-07-28 | Advantest Corporation | Test apparatus and test method |
CN103020337A (en) * | 2012-11-28 | 2013-04-03 | 河南科技大学东海硅产业节能技术研究院 | Method for controlling ore melting of electric heating furnace by utilizing parametric modeling |
CN105005658A (en) * | 2015-07-15 | 2015-10-28 | 国家电网公司 | Logic simulation method of comprehensive automation system equipment of transformer substation |
CN106227931A (en) * | 2016-07-19 | 2016-12-14 | 中国人民解放军63920部队 | The control method of a kind of Spacecraft malfunction emulation and device |
CN107918585A (en) * | 2016-10-07 | 2018-04-17 | 福特全球技术公司 | Method and apparatus for test software programs |
-
2019
- 2019-06-03 CN CN201910478517.4A patent/CN110188491B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6445964B1 (en) * | 1997-08-04 | 2002-09-03 | Harris Corporation | Virtual reality simulation-based training of telekinegenesis system for training sequential kinematic behavior of automated kinematic machine |
CN1382280A (en) * | 1999-02-05 | 2002-11-27 | 坦斯利卡公司 | Automatic processor generation system and method for designing configurable processor |
US20110184687A1 (en) * | 2010-01-25 | 2011-07-28 | Advantest Corporation | Test apparatus and test method |
CN103020337A (en) * | 2012-11-28 | 2013-04-03 | 河南科技大学东海硅产业节能技术研究院 | Method for controlling ore melting of electric heating furnace by utilizing parametric modeling |
CN105005658A (en) * | 2015-07-15 | 2015-10-28 | 国家电网公司 | Logic simulation method of comprehensive automation system equipment of transformer substation |
CN106227931A (en) * | 2016-07-19 | 2016-12-14 | 中国人民解放军63920部队 | The control method of a kind of Spacecraft malfunction emulation and device |
CN107918585A (en) * | 2016-10-07 | 2018-04-17 | 福特全球技术公司 | Method and apparatus for test software programs |
Also Published As
Publication number | Publication date |
---|---|
CN110188491B (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108057249A (en) | A kind of business data processing method and device | |
CN108899082A (en) | Maintenance service management method, system, terminal and computer readable storage medium | |
CN108828966B (en) | Method and device for displaying equipment information in smart home system | |
US20160246278A1 (en) | Simulation system, programmable controller, simulation device, and engineering tool | |
CN108289246A (en) | Data processing method, device, storage medium and electronic device | |
CN109918805A (en) | A kind of member impacts analysis method, device and equipment based on BIM model | |
CN108375390A (en) | Configurable data concentrated collection method, apparatus and equipment | |
CN108052444A (en) | A kind of method and apparatus of performance test for mobile application | |
US20060235674A1 (en) | Method for controlling sequential object-oriented system-simulations | |
CN105468817A (en) | Multi-model real-time simulation system | |
CN107561933A (en) | Speed adjusting method, device, computer equipment and storage medium | |
CN109815557B (en) | Robot model display method and device and intelligent terminal | |
CN107769986A (en) | A kind of network performance testing system, extension system and method for testing | |
CN107566204A (en) | Excited message produces control method, device and logic detection equipment | |
CN110324203B (en) | Multichannel high accuracy network flow generates device | |
CN110188491A (en) | The processing method and processing device of computational efficiency during raising simulation calculation | |
KR20180034356A (en) | Game system and method of implementing artificial intelligence of game character by user setting | |
CN105468455B (en) | A kind of method and device of the dynamic task allocation for more equipment | |
CN107577530A (en) | Board, the method and system of balanced board memory usage | |
CN112388625A (en) | Task issuing method and device and task executing method and device | |
CN103747088B (en) | A kind of method and data transmission system that data are transmitted for Full scope simulator | |
CN113434421A (en) | Virtual equipment testing method and device | |
CN110109372B (en) | Apparatus and method for simulating a machine or installation to be controlled | |
CN114301805A (en) | Method and device for determining number of devices and electronic device | |
JP2018014441A (en) | Optimization determination support system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |