CN105022639A - Execution method and device for process management universal program - Google Patents

Execution method and device for process management universal program Download PDF

Info

Publication number
CN105022639A
CN105022639A CN201510498209.XA CN201510498209A CN105022639A CN 105022639 A CN105022639 A CN 105022639A CN 201510498209 A CN201510498209 A CN 201510498209A CN 105022639 A CN105022639 A CN 105022639A
Authority
CN
China
Prior art keywords
working routine
time
progress
universal program
routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510498209.XA
Other languages
Chinese (zh)
Inventor
魏岩懿
赖顺昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
USI Electronics Shenzhen Co Ltd
Original Assignee
USI Electronics Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by USI Electronics Shenzhen Co Ltd filed Critical USI Electronics Shenzhen Co Ltd
Priority to CN201510498209.XA priority Critical patent/CN105022639A/en
Publication of CN105022639A publication Critical patent/CN105022639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides an execution method and device for a process management universal program. The process management universal program is used for embedding at least one working program. The execution method comprises: establishing at least two working parameters comprising a name parameter and an estimated time parameter; invoking the working program according to the name parameter and starting the working program and generating a process display interface; and detecting the working program and displaying a detection result in the process display interface. Therefore, under the condition that the program code of the working program needs not to be changed, the process when a special working program is executed is persistently obtained.

Description

The manner of execution of progress control universal program and device
Technical field
The present invention relates to a kind of program that can perform in the computer installation with calculation function, particularly relate to a kind of universal program that can perform in computer installation.
Background technology
A kind of program after execution; usually the window that has customizing messages can be jumped out; but still have a kind of conventional " AA program " as shown in Figure 1 after execution; jump out window 10a; its windows content only informs user's " AA program upgrades; please wait for ... (Program is updating AA, Please waiting ...) ", and user cannot know the executing state of " AA program ".Make common programs increase progress status display, then must distinguish the source code of update routine.If the program code complexity of common programs is huge, or, when having multiple common programs to have this demand, all additionally can increase development cost and the time of user or managerial personnel simultaneously.
Summary of the invention
The object of the present invention is to provide a kind of progress control universal program, it can nested any program, can show the progress status of said procedure under the state without the need to changing program source code.
The object of the present invention is to provide a kind of progress control universal program, it can nested any program, only needs the input adjusting parameter, can show the progress status of said procedure, can save development time and expense.
For this reason, the invention provides a kind of manner of execution of progress control universal program, this progress control universal program can perform in the computer installation with calculation function; Preset at least one working routine in this computer installation, and the manner of execution of this progress control universal program comprises the following steps:
At least two running parameters comprising name parameter and estimated time parameter are set up according to selected working routine;
Call this working routine according to this name parameter, start this working routine and generate progress display interface; And
Detect this working routine, and show testing result in this progress display interface; Wherein, when detection obtains settling signal, in this progress display interface, show picture; When detection obtains non-settling signal, the elapsed time of this working routine and this estimated time of this working routine compared and obtains this ratio, and in this progress display interface, showing this ratio picture, and repeatedly carrying out this step.
For this reason, the invention provides a kind of computer installation of display routine progress, it includes screen and the arithmetic element for performing at least one working routine, it is characterized in that: this computer installation has progress control universal program, to arrange at this progress control universal program according to selected working routine and set up name parameter and estimated time parameter; This arithmetic element is called according to this name parameter and is started this working routine, and in this screen progress displaying display interface; This arithmetic element detects this working routine repeatedly: when detection obtains settling signal, in this progress display interface, shown picture; When detection obtains non-settling signal, the elapsed time of this working routine and this estimated time of this working routine compared and obtains this ratio, and in this progress display interface, showing this ratio picture.
Accompanying drawing explanation
Fig. 1 is the display window jumped out after performing common programs.
Fig. 2 is the system diagram of the computer installation in the present invention.
Fig. 3 is the flow chart of steps of progress control universal program of the present invention.
Fig. 4 is the local process flow diagram of Fig. 3.
Fig. 5 is the local process flow diagram of Fig. 3.
Fig. 6 is the command interface of progress control universal program.
Fig. 7 is the progress display interface generated after calling working routine.
Fig. 8 is another embodiment of command interface.
(symbol description)
10 computer installation 12 arithmetic elements
20,30 working routine 14 screens
16 firmware 40 progress control universal programs
41 command interface 42 progress display interfaces
S1 ~ S5, S11 ~ S12, S21 ~ S25, S31 ~ S33, S331 ~ S332 step
A replaces frame
Embodiment
Please also refer to Fig. 2, computer installation 10 at least has arithmetic element 12 and screen 14, the working routine 20,30 that can be performed is preset in computer installation 10, be preset with the runnable interface (not shown) of oneself in this working routine 20,30 respectively, arithmetic element 12 has calculation function and can perform working routine 20,30.Progress control universal program 40 can be performed by the arithmetic element 12 of computer installation 10, please also refer to Fig. 3, progress control universal program 40 can be nested to above-mentioned working routine 20,30 by following step, to obtain the progress msg of working routine 20,30 when performing, above-mentioned steps includes but not limited to following steps.
Start progress control universal program 40, enter step S1, it at least comprises step S11, S12.
Step S11: progress control universal program 40 (in the present embodiment called after " usiprogress ") first loads command interface 41 as shown in Figure 6.Now, initialization comprises at least two running parameters of name parameter " FILENAME " and estimated time parameter " TIME ".
Step S12: progress control universal program 40 accepts title that user inputs and estimated time, is respectively " AA_update.exe ", " 20 " (chronomere is preset as " second ") in the present embodiment.Wherein, first select working routine 20 by user, and correspond to title " AA_update.exe " and the estimated time tp " 20 (second) " of working routine 20 respectively for name parameter " FILENAME " and estimated time parameter " TIME " input on command interface 41.Estimated time tp about execution working routine 20 is arbitrary estimated value, also can be experience estimated value, artificially can predict or drawn by other program computation.Because parameterized object is to make multiple variable express in an equation, therefore, in step s 12, can determine that variable is title " AA_update.exe " and estimated time " 20 (second) " for specific working routine 20.
Enter step S2, it at least comprises step S21, S22, S23.Step S22, S23 perform all after step s 21, and both can perform simultaneously and also can not simultaneously perform.Step S24 both can perform and also can not perform.Step S22, S24 both can perform simultaneously and also can not simultaneously perform.
Step S21: call working routine 20 according to title.
Step S22: start working routine 20.
Step S23: display progress display interface 42 is as shown in Figure 7 progress bar in the present embodiment.
Step S24: the runnable interface hiding working routine 20.This step S24, parameter " HIDE " can be hidden by initialization while of in step s 11, and the program name " Update AA Firmware " hidden accepting input in step s 12 realizes, also can by Automatically invoked in the management of writing progress in advance universal program 40 and the runnable interface hiding working routine 20 realize.
As shown in Figure 3, step S3 at least comprises step S31, S32, S33, wherein, can terminate progress control universal program 40, and all come back to step S31 after step S33 after step S32.In addition, step S33 or can by step S4, S5 substitute (as Fig. 4 and Fig. 5).
Step S31: whether progress control universal program 40 is complete according to period of time T periodically testing program 20, wherein Y represents "Yes", N represents "No".Wherein, estimated time tp is non-essential is the multiple of period of time T.When working routine 20 executed completes, progress control universal program 40 obtains settling signal Df, and enters step S32.When working routine 20 is not yet complete, progress control universal program 40 obtains non-settling signal Dnf, and enters step S33.
Step S32: shown picture in progress display interface 42 is in progress bar, be shown as full lattice in the present embodiment.
Step S33: obtain the elapsed time tr that working routine 20 has performed, and judge whether elapsed time tr is less than estimated time tp.Because progress control universal program 40 periodically detects, therefore elapsed time tr rational expectation is the multiple of period of time T.When elapsed time tr not yet reaches (being less than) estimated time tp, enter step S331.When elapsed time tr meets or exceeds (being more than or equal to) estimated time tp, enter step S332.
Step S331: the elapsed time tr of progress control universal program 40 pairs of working routines 20 and the estimated time tp of working routine 20 compare and obtain this ratio, and in progress display interface 42, show this ratio picture, in the present embodiment, be illustrated in figure 7 progress bar part to be filled out.
Step S332: progress control universal program 40 ratio picture once on maintaining in progress display interface 42, that is, suspend the progress shown by renewal progress display interface 42.
In addition, the situation of estimated time tp may be greater than in order to tackle working routine actual finish time, can preset further or manually set the lead time ts pushed away by estimated time tp forward, and judge whether elapsed time tr reaches lead time ts, the estimated time is pushed away 2 seconds forward, then ts=tp-2 in the present embodiment.Equally, enter step S331 when elapsed time tr not yet reaches lead time ts, enter step S332 when elapsed time tr meets or exceeds estimated time tp.This is the step S4 of alternative step S33.
Step S4: simultaneously with reference to figure 4, can preset or manually set the lead time ts pushed away by estimated time tp forward, and judge whether elapsed time tr reaches lead time ts, be estimated time tp is pushed away 2 seconds forward, therefore ts=tp-2 in the present embodiment.After step s4, enter step S331 when elapsed time tr not yet reaches lead time ts equally, enter step S332 when elapsed time tr meets or exceeds estimated time tp.
What remark additionally is, due to lead time ts belongs to user or managerial personnel can one of the parameter of sets itself, therefore, step S4 in the replacement frame A of step S33 and the Fig. 4 in the replacement frame A of Fig. 3 can be integrated, i.e. step S5: simultaneously with reference to figure 5, judge whether the elapsed time tr of working routine 20 carries out computing according to the lead time ts pushed away by estimated time tp forward.If there is no lead time ts or there is lead time ts but be not carry out computing according to lead time ts, all belongs to and not according to lead time ts judges, then enter step S33.If there is lead time ts and judge according to lead time ts, then enter step S4.
Progress control universal program 40 of the present invention is specially adapted to involve firmware more news, because typical hardware can promote its performance and reliability by carrying out upgrading to firmware, along with technology is maked rapid progress, continuous renewal or the upgrading of firmware can guarantee that hardware remains on up-to-date state, and guarantee that it is compatible.But corresponding renewal or upgrading requirement, will increase the weight of the burden of user or managerial personnel further.Therefore, go back to Fig. 2, make computer installation 10 comprise at least one firmware 16 further, working routine 30 " BB_update.exe " is connected with firmware 16 " BB Frimware ", for upgrading firmware 16 or upgrading.And further reference diagram 8, progress control universal program 40 is on command interface 41 during initialization, can initialization firmware parameter " SWNAME " further, and accept the firmware name " BBFrimware " that user's input corresponds to the firmware 16 of working routine 30 " BB_update.exe ".Simultaneously with reference to figure 3, and step S25 can be comprised further after step s 21: call firmware 16, make working routine 30 can upgrade firmware 16.
In sum, known progress control universal program 40 of the present invention really can nested any program, as working routine 20,30, can show the progress status that said procedure performs under the state of the source code without the need to changing working routine 20,30.Therefore, the present invention can show the progress status of said procedure by the input of adjustment parameter, can save development time and expense.Further, the example of progress display interface 42 is also unrestricted, is neither limited to the progress bar (as circle etc.) of long strip type, is not also limited to graphic picture (as word etc.).
In addition, above-described embodiment all discusses working routine 20 and is selected by user, and in command interface 41, input title and estimated time isoparametric situation voluntarily.Also can preset in the program code of progress control universal program 40 and connect specific working routine 20, namely above-mentioned running parameter builds in progress control universal program 40, and be not limited to via manually input or in advance write-in program code.
The present invention and specific embodiment thereof are not limited to above-mentioned example, and its concept can substitute or convert under the concept of claims and category.

Claims (10)

1. a manner of execution for progress control universal program, described progress control universal program can perform in the computer installation with calculation function, presets at least one working routine in described computer installation,
The feature of the manner of execution of described progress control universal program is, comprises the following steps:
At least two running parameters comprising name parameter and estimated time parameter are set up according to selected working routine;
Call selected working routine according to described name parameter, start the working routine selected generate progress display interface; And
Detect the working routine selected, when detection obtains settling signal, picture has been shown in described progress display interface, when detection obtains non-settling signal, to elapsed time of selected working routine with estimated time of working routine of selecting compare and obtain this ratio, and in described progress display interface, show this ratio picture, and repeatedly carry out this step.
2. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that,
When detection obtains non-settling signal, judge further elapsed time of working routine of selecting whether be less than the described estimated time; When the elapsed time of selected working routine is less than the described estimated time, show this ratio picture; When the elapsed time of selected working routine is more than or equal to the described estimated time, maintain last ratio picture.
3. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that,
When detection obtains non-settling signal, further judge elapsed time of working routine of selecting whether be less than the lead time, when the elapsed time of selected working routine is less than the described lead time, show this ratio picture; When the elapsed time of selected working routine is more than or equal to the described estimated time, maintain last ratio picture, wherein, the described lead time is the time being pushed away forward the described estimated time and arrange.
4. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that,
When detection obtains non-settling signal, judge further elapsed time of working routine of selecting whether carry out computing according to the lead time; When the elapsed time of selected working routine be judge according to the described lead time time, show this ratio picture; When the elapsed time of selected working routine be not judge according to the described lead time time, maintain last ratio picture, wherein, the described lead time is the time being pushed away forward the described estimated time and arrange.
5. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that, detect the operation of working routine select be periodically carry out.
6. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that, further comprises the step of the runnable interface that working routine that cache selectes is preset.
7. the manner of execution of progress control universal program as claimed in claim 1, is characterized in that,
After calling selected working routine, further comprise the firmware calling and correspond to selected working routine, the working routine selected for upgrading this firmware.
8. the manner of execution of progress control universal program as claimed in claim 7, is characterized in that,
When setting up described running parameter, further comprising and setting up firmware parameters, and accept user corresponds to the firmware name of this working routine step for the input of selected working routine.
9. a computer installation for display routine progress, it includes screen and the arithmetic element for performing at least one working routine, and the feature of described computer installation is,
Described computer installation has progress control universal program, sets up name parameter and estimated time parameter according to selected working routine in described progress control universal program;
Described arithmetic element is called according to described name parameter and is started selected working routine, and in described screen progress displaying display interface;
Described arithmetic element detects selected working routine repeatedly, when detection obtains settling signal, in described progress display interface, has shown picture; When detection obtains non-settling signal, to elapsed time of selected working routine with described estimated time of working routine of selecting compare and obtain this ratio, and in described progress display interface, show this ratio picture.
10. the computer installation of display routine progress as claimed in claim 9, it is characterized in that, described computer installation also includes firmware, the working routine selected for upgrading described firmware.
CN201510498209.XA 2015-08-14 2015-08-14 Execution method and device for process management universal program Pending CN105022639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510498209.XA CN105022639A (en) 2015-08-14 2015-08-14 Execution method and device for process management universal program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510498209.XA CN105022639A (en) 2015-08-14 2015-08-14 Execution method and device for process management universal program

Publications (1)

Publication Number Publication Date
CN105022639A true CN105022639A (en) 2015-11-04

Family

ID=54412630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510498209.XA Pending CN105022639A (en) 2015-08-14 2015-08-14 Execution method and device for process management universal program

Country Status (1)

Country Link
CN (1) CN105022639A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196815A (en) * 2007-12-27 2008-06-11 腾讯科技(深圳)有限公司 Installation package generating device and method, installation progress transferring method
US20130239039A1 (en) * 2012-03-09 2013-09-12 Apple Inc. Rocket effect in a progress bar
CN103593210A (en) * 2013-10-09 2014-02-19 北京奇虎科技有限公司 Progress display method and device
CN103942496A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Display method and device for system scanning
CN104113681A (en) * 2013-04-19 2014-10-22 上海联影医疗科技有限公司 Control method of progress column, method and device for displaying image acquisition progress

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196815A (en) * 2007-12-27 2008-06-11 腾讯科技(深圳)有限公司 Installation package generating device and method, installation progress transferring method
US20130239039A1 (en) * 2012-03-09 2013-09-12 Apple Inc. Rocket effect in a progress bar
CN103942496A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Display method and device for system scanning
CN104113681A (en) * 2013-04-19 2014-10-22 上海联影医疗科技有限公司 Control method of progress column, method and device for displaying image acquisition progress
CN103593210A (en) * 2013-10-09 2014-02-19 北京奇虎科技有限公司 Progress display method and device

Similar Documents

Publication Publication Date Title
US10241649B2 (en) System and methods for application discovery and trial
CN103345405A (en) Application program starting method and device and client
RU2010145182A (en) SYSTEMS AND METHODS FOR CUSTOMER INTERFACES BETWEEN PORTABLE DEVICE AND COMPUTER
CN102647515B (en) Terminal state displaying control method and device
AU2013213683B2 (en) A method and system of application development for multiple device client platforms
US11201806B2 (en) Automated analysis and recommendations for highly performant single page web applications
WO2009107589A1 (en) User interface generation device
CN110471679B (en) Client resource allocation updating method and device, storage medium and server
CN108898229B (en) Method and system for constructing machine learning modeling process
CN108197024B (en) Embedded browser debugging method, debugging terminal and computer readable storage medium
US10768947B2 (en) Method for interface refresh synchronization,terminal device, and non-transitory computer-readable storage medium
CN113419941A (en) Evaluation method and apparatus, electronic device, and computer-readable storage medium
CN114218890A (en) Page rendering method and device, electronic equipment and storage medium
CN106681759A (en) Software updating method and mobile terminal
CN112732145A (en) Dynamic switching method, system, equipment and storage medium of desktop theme
CN105022639A (en) Execution method and device for process management universal program
US7992022B2 (en) Method and apparatus for setting computer-working-hours-based shutdown options
CN105446877A (en) Method and apparatus for testing power consumption of mobile application
CN116069619A (en) Method and device for detecting performance of applet, electronic equipment and medium
CN107391354A (en) The method and system of automatic monitoring terminal performance, storage device
CN110502174B (en) Information display method and device, electronic equipment and storage medium
CN103257868B (en) The method and apparatus of installation procedure
KR101544061B1 (en) NDEF data transmission method using NFC dependent UI framework
CN107193670B (en) Remote management method, device and system for cluster workstations
KR20130009919A (en) Method for displaying recent program execution icon in portable terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151104