CN102999388A - Process control device and method - Google Patents

Process control device and method Download PDF

Info

Publication number
CN102999388A
CN102999388A CN2012104479586A CN201210447958A CN102999388A CN 102999388 A CN102999388 A CN 102999388A CN 2012104479586 A CN2012104479586 A CN 2012104479586A CN 201210447958 A CN201210447958 A CN 201210447958A CN 102999388 A CN102999388 A CN 102999388A
Authority
CN
China
Prior art keywords
script
script process
duration
timing
timer
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
Application number
CN2012104479586A
Other languages
Chinese (zh)
Other versions
CN102999388B (en
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210447958.6A priority Critical patent/CN102999388B/en
Publication of CN102999388A publication Critical patent/CN102999388A/en
Application granted granted Critical
Publication of CN102999388B publication Critical patent/CN102999388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a process control device and method. The method comprises the following steps of timing the running time of each script process, wherein a plurality of scripts are processed in parallel, and the running duration of each script process is preset; quitting the script process when the timing duration of a random script process reaches the running duration set for the script process, and triggering a new script process to run; judging whether user data exist in a current user queue when the timing duration of a random script process does not reach the running duration, processing the user data if the user data exists, otherwise judging once again after the duration is designated. By adopting the process control device and method, the technical problem of network application service interruption caused by an operation system or daemon process interruption can be solved.

Description

Progress control unit and method
Technical field
The present invention relates to the network application field, be specifically related to a kind of progress control unit and method.
Background technology
Present network application (for example 360 desktops or browser) is met usually to tens million of online users, and in the situation that a large amount of users uses, can message in time send, and just seems extremely important, directly affects the user and experiences.The online user is placed in the formation, need a finger daemon (Daemon) constantly to remove to process this Subscriber Queue, available technology adopting use PHP(Hypertext Preprocessor, a kind of script, can under command mode, carry out) timed task of script, so a kind of mode of simulating finger daemon realizes finger daemon, obtains good effect.
Finger daemon is a kind of special processing that operates in the backstage.It is independent of control terminal and periodically carry out certain task or etc. pending some event.The most important characteristic of finger daemon is running background.Secondly, finger daemon must with its operation before environment keep apart.These environment comprise the filec descriptor of not closing, control terminal, session and process group, working directory and document creation mask etc.These environment normally finger daemon are inherited from the parent process (software (shell) that particularly provides the user to use the interface) of carrying out it.At last, the Starting mode of finger daemon has its special character.It can start from booting script/etc/rc.d when linux system starts, and can be started by work planning process (crond), can also be carried out by user terminal (normally shell).
In a word, except these singularity, finger daemon and common process there is no any difference.Therefore, writing finger daemon is actually a common process is transformed into finger daemon according to the characteristic of above-mentioned finger daemon.
In instruction (crontab) plan target that periodically is performed is set, write the PHP script, be decided to be per minute and all can utilize process of fork function scheduling to carry out the PHP script.The maximum execution time of supposing each PHP script is 10 minutes, surpasses 10 minutes and just stops to carry out.In 10 minutes, guaranteed 10 processes and carried out, and all the other PHP scripts also continuing execution, were equivalent to the continual execution of this PHP script, have also just simulated the function of finger daemon to after date a PHP script execution time.
The function of nohup among Linux order is exactly the fill order of hanging on, and nohup is put into all outputs of program in the nohup.out file of current directory simultaneously, if file can not be write, then is put into<home directory 〉/the nohup.out file in.Had so after this order, the PHP program just can be rewritten into the shell script, allows script move with circulation always, no matter whether terminal window closes, can both allow the PHP script move so always.Certainly, in the situation that the PHP process is killed or operating system is restarted, the PHP script will have been ended naturally.
But operating system is restarted or finger daemon may cause script process accidental interruption, if can not immediately restart this moment, can't provide for the user so the processing of script process, and then the service that provides of network application will be interrupted.In addition, if the finger daemon long time running causes the script process also to work long hours, if there is the situation of memory overflow in the code of script process, long time running can cause problem to amplify gradually, until system crash.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to provide a kind of progress control unit that overcomes the problems referred to above or address the above problem at least in part and corresponding course control method.
According to one aspect of the present invention, a kind of progress control unit is provided, comprising: timer, be configured to customize the operation duration of a plurality of script processes, wherein, a plurality of script task parallelisms are processed; Timer is configured to carrying out timing the working time of each script process; Trigger is configured to for any one script process, when the timing duration of timer reaches the operation duration of this script process, withdraws from script process corresponding to this timer, triggers new script process operation; Processor, the timing duration that is configured to timer does not reach when moving duration, judges whether there is user data in active user's formation, if, then user data is processed, if not, then after specifying duration, user data is judged again.
Alternatively, above-mentioned progress control unit also comprises: destroy machine is configured to destroy the script process that withdraws from.
Alternatively, timer also is configured to restart or finger daemon accidental interruption when causing the script process to be interrupted in operating system, proceeds timing for the script process of interrupting, until arrive the operation duration.
Alternatively, above-mentioned progress control unit is arranged in the Cron timing script task.
According to a further aspect in the invention, provide a kind of course control method, having comprised: to carrying out timing the working time of each script process, wherein, a plurality of script task parallelisms are processed, and the operation duration of default each script process; When wherein the timing duration of any one script process is reached for the operation duration of this script process setting, withdraws from this script process, and trigger new script process operation; When wherein the timing duration of any one script process does not reach the operation duration, judge whether there is user data in active user's formation, if, then user data is processed, if not, then after specifying duration, rejudge.
Optionally, withdraw from after the current script process, above-mentioned course control method also comprises: destroy current script process.
Optionally, above-mentioned course control method also comprises: restart or finger daemon accidental interruption when causing the script process to be interrupted in operating system, continue the timing operation that each script process of interrupting is continued; And when the timing duration of any one script process reached the operation duration, this script process withdrawed from this script process, and triggered new script process operation.
Optionally, specifying duration is 1 second.
Optionally, the operation duration of each script process is identical or different.
Optionally, when the operation duration of each script process was identical, the operation duration that each script process is set was 10 minutes.
Optionally, the simultaneously parallel processing of 10 scripts is set.
In one embodiment, a plurality of script task parallelisms are set process, be placed on a situation in the formation with respect to the user of prior art and can greatly accelerate to use the speed of processing.Special the parallel processing of a plurality of script processes can improve processing speed when the user of network application is more, improves user's impression and experiences.
In one embodiment, utilize timer that each script process is carried out timing, when the timing duration of timer reached the operation duration of this script process, trigger will trigger new operation, trigger current script process and withdraw from, and trigger new script process operation.This shows, script process among the present invention is that continuous updating starts, guaranteed to have the script process of some to be in running status, even operating system is restarted or the finger daemon accidental interruption, trigger also can trigger new script process operation in the situation that timing arrives, can not cause service disruption.
In one embodiment, because set the working time of each script process, the timer timing arrives then, and trigger triggers this script process state out of service, this shows, the working time of each script process is shorter, even there is the situation of memory overflow in the code of this script process, also can amplify because long time running causes problem, thereby avoid the situation of system crash.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the according to an embodiment of the invention structural representation of progress control unit;
Fig. 2 shows the according to an embodiment of the invention process flow diagram of PHP simulation finger daemon;
Fig. 3 shows the according to an embodiment of the invention process flow diagram of course control method;
Fig. 4 shows according to an embodiment of the invention another process flow diagram of course control method; And
Fig. 5 shows the according to an embodiment of the invention process flow diagram of the disposal route of script process accidental interruption.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Fig. 1 shows the according to an embodiment of the invention structural representation of progress control unit.Referring to Fig. 1, this progress control unit comprises timer 110, timer 120 and trigger 130.Timer 110 has customized the operation duration of a plurality of script processes, and wherein, a plurality of script processes are parallel processings, and the operation duration of each script process can be customized to identical duration, also can be customized to different durations.For example, the operation duration that each script process can be set is 10 minutes, and be 10 minutes the working time that first script process also can be set, and be 5 minutes the working time of second script process, etc.Herein 10 minutes and 5 minutes only is an example, can also be 20 minutes, 30 minutes equal times, and concrete operation duration is selected according to the attribute of script process.
Timer 120 is couple to timer 110, to carrying out timing the working time of timer 110 each script process regularly.If the function of the timer that adopts is comparatively single, can only carry out timing for a script process, then be timer of each script process configuration.If the timer that adopts can be realized a plurality of object synchronization timing, then can be configured according to the quantity of script process and the timing object of timer.For example, one has 10 script processes, and a timer can be that 5 script processes are carried out timing simultaneously, then only needs 2 timers of configuration to get final product.
Trigger 130 is couple to timer 120.For any one script process, when the timing duration of timer 120 reached the operation duration of this script process, trigger 130 triggered new operation, makes the script process state out of service of these timer 120 correspondences, and triggers new script process and move.
In the progress control unit that the embodiment of the invention provides, a plurality of script task parallelisms are set process, be placed on a situation in the formation with respect to the user of prior art and can greatly accelerate to use the speed of processing.Special the parallel processing of a plurality of script processes can improve processing speed when the user of network application is more, improves user's impression and experiences.
Further, utilize timer that each script process is carried out timing, when the timing duration of timer reached the operation duration of this script process, trigger will trigger new operation, triggered current script process and withdrawed from, and trigger new script process operation.This shows, script process among the present invention is that continuous updating starts, guaranteed to have the PHP script of some to be in running status, even operating system is restarted or the finger daemon accidental interruption, trigger also can trigger new script process operation in the situation that timing arrives, can not cause service disruption.
And, in the present invention, because set the working time of each script process, the timer timing arrives then, and trigger triggers this script process state out of service, this shows that the working time of each script process is shorter, even there is the situation of memory overflow in the code of this script process, also can not amplify because long time running causes problem, thereby avoid the situation of system crash.
Wherein, the language of each script process can be any language that can realize its corresponding function, and for example, the language such as comparatively common PHP, C, C++, linux all can.What use was more at present is the PHP script, and certainly, use C language efficiency can be higher.
Be 10 minutes the working time of supposing each PHP script, in the present invention, surpasses after 10 minutes, and just there is not the risk of memory overflow in the operation of PHP script automatic stop yet.And if operating system is restarted or the finger daemon accidental interruption in addition, trigger also can continue to trigger the PHP script, ensures certain PHP script (for example 10) to be in running status, and the stability of message system just can be guaranteed.
In order to prevent memory overflow and rationally reclaim that referring to Fig. 1, the progress control unit that the embodiment of the invention provides also comprises destroy machine 140, destroys the script process that withdraws from.
Occurring that operating system is restarted or finger daemon accidental interruption when causing fortuitous event that the script process interrupts, be to guarantee Systems balanth, each timer 120 can be proceeded timing for the script process of interrupting, until arrive the operation duration.When timer 120 reached the operation duration, the trigger 130 that it will inevitably trigger with 120 couplings of this timer triggered new script process operation, for the user provides service, avoids occurring the situation of service disruption.
Referring to Fig. 1, the progress control unit that the embodiment of the invention provides also comprises processor 150, is couple to timer 120.Processor 150 can be confirmed user data is processed in the implementation of script process.Mention that above user data can be placed in the Subscriber Queue, processes in order.Therefore, when the timing duration of timer 120 did not reach the operation duration, processor 150 can judge whether there is user data in active user's formation.When having user data in the Subscriber Queue, processor 150 is directly processed user data.When not having user data in the Subscriber Queue, processor is judged again to user data after specifying duration.Appointment duration herein can be any duration that arranges, but can not exceed the operation duration of script process.If this script process has been moved a period of time, then on the basis of timer, add the appointment duration, can not exceed the operation duration of script process.If exceed, then this script process is with regard to state out of service, and no longer deal with data need not be carried out the judgement of user data again.
Optionally, the progress control unit that the embodiment of the invention provides is arranged in the Cron timing script task, utilizes the realization of Cron script task to scheduling and the application of script process (for example PHP script).At present, the message system of 360 open platforms is user's providing message service of millions.Because number of users is huge, in order to allow whole users can receive at short notice message, must adopt a plurality of processes to come processing messages to issue.Message issues the PHP script that module is used, if certainly realize that with the C language efficient can be higher.The treatable number of users of single PHP script is 50,000/second, utilizes a plurality of PHP script parallel of Cron plan target start by set date to process, and will greatly improve the message downloading speed, has also guaranteed the stability of messenger service simultaneously.In addition, be 10 minutes if each PHP script maximum working time is set, mean 10 minutes after, this script will stop, current process withdraws from, thereby has guaranteed that internal memory does not leak.
Fig. 2 shows the process flow diagram of PHP simulation finger daemon according to an embodiment of the invention.Referring to Fig. 2, configuring timing tasks in this flow process originates in the Cron plan target.After the timed task configuration finished, system's per minute was carried out a PHP script.Carry out duration when each PHP script and surpass 10 minutes, this process of auto-destruct, the PHP script stops.And in script process implementation, can judge whether user data is arranged in the Subscriber Queue, and wait for then that (sleep) carried out judgement PHP script in 1 second again, so circulation is carried out, until overtime withdrawing from.
Fig. 3 illustrates the process flow diagram of course control method according to an embodiment of the invention.Referring to Fig. 3, this flow process originates in step S302.In step S302, to carrying out timing the working time of each script process.Wherein, a plurality of script task parallelisms of mentioning among the step S302 are processed,
Improve the speed that the script process is processed.Wherein, the operation duration of default each script process all presets, and for example is preset as 10 minutes.The operation duration of each script process can be identical, also can be different.When the operation duration of each script process was identical, the operation duration that each script process for example can be set was 10 minutes.When the operation duration of each script process not simultaneously, the operation duration that first script process then for example can be set is 10 minutes, and the operation duration of second script process is 20 minutes, etc.Optionally, the simultaneously parallel processing of 10 script processes can be set.Certainly, 10 scripts herein only are preferred embodiments, in implementation process, can determine as the case may be the quantity of script, this quantity usually depend on the shared resource of the resource residual amount of client and every script process what.For example, if the resource of client is mostly idle, then can carry out dozens or even hundreds of script process, still, if the resource of client is comparatively nervous, then may can only carry out several script processes.
When the timing duration of wherein any one the script process among the step S302 was reached for the operation duration of this script process setting, setting up procedure S304 namely, withdrawed from this script process, and triggered new script process operation.In this example, for so that the timing effect is accurate, and can trigger timely the flow process that withdraws from of script process, consider to use timer that each script process is carried out timing.For any one script process, when the timer timing finishes (namely reaching the timing duration of this script process), can notify control module or the administration module of client, make it finish this script process, perhaps, also can trigger this script process by this timer withdraws from automatically.
Fig. 4 shows another process flow diagram of process control according to an embodiment of the invention.Referring to Fig. 4, step S304 is when implementing, and after withdrawing from current script process, all right execution in step S306 destroys the current script process that has withdrawed from.In this example, adopt to destroy the operation of current script process, can discharge the resource that the script process of this operation takies, and then improve the utilization factor of system resource, avoided simultaneously the problem of the memory overflow that may cause because of long-time running.
During enforcement, the fortuitous event that may the script process interrupts, for example, may restart because of operating system causes the script process to be interrupted, again for example, in the time of also may causing the script process to be interrupted because of the finger daemon accidental interruption, more for example, thereby also may cause the script process to be forced to interrupt because new script process or finger daemon need to take ample resources.Accordingly, provide processing mode for the situation of script process accidental interruption in this example.Fig. 5 shows the processing mode of script process accidental interruption according to an embodiment of the invention, comprises that step S502 is to step S504.
Step S502, when script process accidental interruption, continue the timing operation that each script process of interrupting is continued.
Step S504, when the timing duration of any one script process reaches the operation duration, this script process withdraws from this script process, and triggers new script process operation.
What deserves to be explained is that after the script process among the step S504 was out of service, if for the purpose that improves resource utilization ratio, this script process also should be destroyed, its resource that takies is discharged, so that new script process is used.
With reference to method shown in Figure 5, although restart or the finger daemon accidental interruption causes the script process to be interrupted because of operating system,, the timing operation is still being carried out.When the timing duration reaches certain threshold value, can trigger new script process operation, for the user provides service, can because fortuitous event cause service disruption, not improve user's impression and experience.
After the script process was created, if be not interrupted or destroy, then this script process was in implementation or is called running status.In this example, for any one script process, when the timing duration of this script process did not reach the operation duration, namely this script process was in running status, then the processing object of this script process is judged, judged whether in running order or idle it is.Concrete, judge whether there is user data in active user's formation, if, then user data is processed, if not, then after specifying duration, rejudge.Optionally, specify duration can be set to 1 second.
To sum up, the embodiment of the invention reaches following beneficial effect:
In one embodiment, a plurality of script task parallelisms are set process, be placed on a situation in the formation with respect to the user of prior art and can greatly accelerate to use the speed of processing.Special the parallel processing of a plurality of script processes can improve processing speed when the user of network application is more, improves user's impression and experiences.
In one embodiment, utilize timer that each script process is carried out timing, when the timing duration of timer reached the operation duration of this script process, trigger will trigger new operation, trigger current script process and withdraw from, and trigger new script process operation.This shows, script process among the present invention is that continuous updating starts, guaranteed to have the script process of some to be in running status, even operating system is restarted or the finger daemon accidental interruption, trigger also can trigger new script process operation in the situation that timing arrives, can not cause service disruption.
In one embodiment, because set the working time of each script process, the timer timing arrives then, and trigger triggers this script process state out of service, this shows, the working time of each script process is shorter, even there is the situation of memory overflow in the code of this script process, also can amplify because long time running causes problem, thereby avoid the situation of system crash.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the progress control unit of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (11)

1. progress control unit comprises:
Timer is configured to customize the operation duration of a plurality of script processes, and wherein, described a plurality of script task parallelisms are processed;
Timer is configured to carrying out timing the working time of each script process;
Trigger is configured to for any one script process, when the timing duration of described timer reaches the operation duration of this script process, withdraws from script process corresponding to this timer, triggers new script process operation;
Processor when the timing duration that is configured to described timer does not reach described operation duration, judges whether there is user data in active user's formation, if, then user data is processed, if not, then after specifying duration, user data is judged again.
2. device according to claim 1 is characterized in that, also comprises: destroy machine is configured to destroy the script process that withdraws from.
3. device according to claim 1 and 2, it is characterized in that, described timer also is configured to restart or finger daemon accidental interruption when causing the script process to be interrupted in operating system, proceeds timing for the script process of interrupting, until arrive described operation duration.
4. according to claim 1 to 3 each described devices, it is characterized in that described device is arranged in the Cron timing script task.
5. course control method comprises:
To carrying out timing the working time of each script process, wherein, a plurality of script task parallelisms are processed, and the operation duration of default each script process;
When wherein the timing duration of any one script process is reached for the operation duration of this script process setting, withdraws from this script process, and trigger new script process operation;
When wherein the timing duration of any one script process does not reach described operation duration, judge whether there is user data in active user's formation, if, then user data is processed, if not, then after specifying duration, rejudge.
6. method according to claim 5 is characterized in that, described withdrawing from after the current script process also comprises: destroy described current script process.
7. according to claim 5 or 6 described methods, it is characterized in that, also comprise: restart or finger daemon accidental interruption when causing the script process to be interrupted in operating system, continue the timing operation that described each script process of interrupting is continued; And
When the timing duration of any one script process reached described operation duration, this script process withdrawed from this script process, and triggered new script process operation.
8. each described method in 7 according to claim 5 is characterized in that described appointment duration is 1 second.
9. according to claim 5 to 8 each described methods, it is characterized in that the operation duration of described each script process is identical or different.
10. method according to claim 9 is characterized in that, when the operation duration of described each script process was identical, the operation duration that described each script process is set was 10 minutes.
11. to 10 each described methods, it is characterized in that according to claim 5, the simultaneously parallel processing of 10 scripts be set.
CN201210447958.6A 2012-11-09 2012-11-09 Progress control unit and method Active CN102999388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210447958.6A CN102999388B (en) 2012-11-09 2012-11-09 Progress control unit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447958.6A CN102999388B (en) 2012-11-09 2012-11-09 Progress control unit and method

Publications (2)

Publication Number Publication Date
CN102999388A true CN102999388A (en) 2013-03-27
CN102999388B CN102999388B (en) 2016-06-29

Family

ID=47927989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447958.6A Active CN102999388B (en) 2012-11-09 2012-11-09 Progress control unit and method

Country Status (1)

Country Link
CN (1) CN102999388B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245922A (en) * 1998-03-10 2000-03-01 朗迅科技公司 Context controller with time slice task switching capability and its application processor
CN1963764A (en) * 2005-11-09 2007-05-16 株式会社日立制作所 Information processing device and process control method
CN101246437A (en) * 2008-01-28 2008-08-20 中兴通讯股份有限公司 Built-in real-time system course equalization scheduling method
CN101630262A (en) * 2009-07-17 2010-01-20 北京数帅科技有限公司 Method for monitoring and controlling subprocess based on Linux system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245922A (en) * 1998-03-10 2000-03-01 朗迅科技公司 Context controller with time slice task switching capability and its application processor
CN1963764A (en) * 2005-11-09 2007-05-16 株式会社日立制作所 Information processing device and process control method
CN101246437A (en) * 2008-01-28 2008-08-20 中兴通讯股份有限公司 Built-in real-time system course equalization scheduling method
CN101630262A (en) * 2009-07-17 2010-01-20 北京数帅科技有限公司 Method for monitoring and controlling subprocess based on Linux system

Also Published As

Publication number Publication date
CN102999388B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN102999387A (en) Process running device and method
CN110020323B (en) Page switching method and system for hybrid application, computer equipment and storage medium
CN108121543B (en) Software code compiling processing method and device
CN104123162A (en) Method and device controlling self-starting of application programs
CN107491346A (en) A kind of task processing method of application, apparatus and system
CN107329792B (en) Docker container starting method and device
CN106533817A (en) Method and device for setting attribute information of BMC
CN104461563A (en) Method for regularly detecting newly-added file of FTP server under linux
CN104503750A (en) Process clearing method and process clearing device
CN108304296A (en) A kind of server monitoring method, system, equipment and computer readable storage medium
CN107643937B (en) Virtual machine monitor upgrading method and device
CN112711474B (en) Timer management method and device and electronic equipment
CN113542256A (en) Method, device, equipment and storage medium for updating login credentials in client
CN110609710A (en) Android system starting speed control method, intelligent device and storage medium
CN109086115B (en) Android animation execution method, device, terminal and readable medium
CN102999388A (en) Process control device and method
CN109471630B (en) Application processing method and device
CN111026526B (en) Timer configuration method and device for program, storage medium and terminal equipment
CN108196982B (en) Configuration method for automatic restart service of LINUX system
CN104216780A (en) Control method and control device for application program association operation
CN114721876A (en) Data backup method, device and medium
CN101944056B (en) Method and device for monitoring multitask system
CN110362314B (en) Information processing method and device, computer readable medium and electronic equipment
CN109254782B (en) Operating system installation method and device
CN110083405B (en) Function starting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220719

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right