CN102163162A - Task management method - Google Patents
Task management method Download PDFInfo
- Publication number
- CN102163162A CN102163162A CN 201110109498 CN201110109498A CN102163162A CN 102163162 A CN102163162 A CN 102163162A CN 201110109498 CN201110109498 CN 201110109498 CN 201110109498 A CN201110109498 A CN 201110109498A CN 102163162 A CN102163162 A CN 102163162A
- Authority
- CN
- China
- Prior art keywords
- application program
- plug
- unit
- pool
- management method
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a task management method, which relates to the technical field of application program management. The method comprises the following steps of: adding startup, activation, deactivation and close events for a plugin or an application program before starting the plugin or the application program, and storing the added events in an application program pool, wherein a plugin ID or an ID of the application program is stored in the application program pool. The method provided by the invention is suitable for all the hardware products of which bottoms are WINDOWS systems, and is featured by being strong in adaptability and stability, simple to maintain, high in visibility, less in consumption of system resource, clear in flows, convenient to use and the like.
Description
Technical field
The present invention relates to the application program management technical field, relate in particular to a kind of task management method.
Background technology
Along with popularizing and application of portable computer, provide the operator of portable computer to be on the increase, its product of producing is also enriched constantly.The product of a large amount of different models is to himself plug-in unit and application program when managing, the task manager that only re-designs himself uniqueness is managed disaggregatedly to its business software or plug-in unit, the rate of reusing of its code reduces greatly, the grade of service to the user is not carried out stronger control yet, does not possess the stability and the ease for use of height simultaneously yet.At present palm PC (Personal DigitalAssistant, PDA) in, mostly adopt own unique system and task manager, Saipan S60 mobile phone for example, its task manager has: 1, CPU service recorder comprises the utilization rate situation of checking mobile phone CPU with numeral, chart and curve; 2, internal memory service recorder comprises with numeral, chart and curve and checks the internal memory operating position; 3, Thread Count, process number, the numeral of on time are checked; And 4, the process in the current cell phone system that is using function such as checks, but these functions do not possess very strong reusability, and are incompatible in new system, cause every money mobile phone that own unique task manager is all arranged.Same problem exists in individual PDA in a large number.
The currently used task manager of forming in application program is used in the system mostly, as cell phone system, and the system architecture complexity of itself, poor for applicability, the cost costliness.The LC802 of Linkage mobile phone for example, the system of himself can't be suitable in other products of its company, and task manager must independently be write, consuming time of a specified duration, shortage technology precipitation can't be upgraded upgrading, same problem is present in other the mobile phone or PDA, after must formulating hardware at it, the ability operate as normal, and the value of itself does not have applicability, can't in other system, reuse, and programming language is also of a great variety, and efficient is uneven, makes the user choose.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention is: a kind of task management method is provided, makes it be applicable to that all bottoms are hardware products of WINDOWS system, and have adaptability, stability by force, safeguard that succinctly visual strong, it is few to account for system resource, clear process, characteristics such as easy to use.
(2) technical scheme
For addressing the above problem, the invention provides a kind of task management method, this method is: before starting a plug-in unit or application program, start, activate, do not activate and close event for it adds, and be stored in the application pool, described application pool internal memory contains the ID of plug-in unit ID or application program.
Wherein, this method storage space of the described application pool of initialization in system also.
Wherein, when starting plug-in unit or application program, in described application pool, find corresponding plug-in unit ID or application program ID, and according to described plug-in unit ID or application program ID, find its corresponding process,, obtain its internal memory and the CPU value of taking according to the process of described correspondence.
Wherein, when activation or shut off plug or application program, the incident of correspondence is nullified, in described application pool, find corresponding plug-in unit ID or application program ID, and according to the described application program ID of plug-in unit ID, find its corresponding process and close.
(3) beneficial effect
Method of the present invention has significantly reduced the complexity of task manager, makes the structure of task manager more clear, carries out compactness, good reliability.Programming language can be selected the C# programming language for use, and good stability is practical and convenient, mustn't artificially be provided with, and it is simple to have reduced the recruitment cost control, and durability is extremely strong.Its controlled application program management mode has in addition been managed the application program of system class effectively, avoids in response to the system lock that causes with the misprogramming phenomenon of waiting indefinitely.This method can directly be integrated into and need not in any equipment to get in touch with hardware, has reduced human cost, and the characteristics of its reusability have obtained sufficient displaying.
Description of drawings
Fig. 1 is according to a kind of task management method theory diagram of the present invention.
Embodiment
The task management method that the present invention proposes reaches embodiment in conjunction with the accompanying drawings and is described in detail as follows.
The present invention is by carrying out the modular coding to task manager, improve the reusability of coding, coded system is preferably the C# programming language, in system bottom, adopt the system of windows framework, at different types of service, as long as integration servers manager in application program, monitoring just can effectively be managed plug-in unit and application program in real time.
As shown in Figure 1, the task management method according to one embodiment of the present invention is: when moving in system, the storage space of an application pool of initialization is used to deposit the plug-in unit of needs management or the ID of application program; Before starting a plug-in unit or application program, start, activate, do not activate and close event for it adds, and be stored in this application pool, the effect of these four incidents is exactly that the ruuning situation of plug-in unit or application program is monitored in real time.
When starting plug-in unit or application program, generated the corresponding application program way to manage immediately, in this application pool, find corresponding plug-in unit ID or application program ID, and according to plug-in unit ID or application program ID, in WINDOS, find its corresponding process, according to the process of correspondence, obtain its internal memory and the CPU value of taking.
Can also in plug-in unit is activated and closes, make things convenient for the user directly plug-in unit to be operated, saved the time, simplified the management of software.When activation or shut off plug or application program, the incident of correspondence is nullified, in this application pool, find corresponding plug-in unit ID or application program ID, and according to the described application program ID of plug-in unit ID, find its corresponding process and close.
Above embodiment only is used to illustrate the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (4)
1. a task management method is characterized in that, this method is:
Before starting a plug-in unit or application program, start, activate, do not activate and close event for it adds, and be stored in the application pool, described application pool internal memory contains the ID of plug-in unit ID or application program.
2. task management method as claimed in claim 1 is characterized in that, this method is the storage space of the described application pool of initialization in system also.
3. task management method as claimed in claim 1, it is characterized in that, when starting plug-in unit or application program, in described application pool, find corresponding plug-in unit ID or application program ID, and according to described plug-in unit ID or application program ID, find its corresponding process,, obtain its internal memory and the CPU value of taking according to the process of described correspondence.
4. task management method as claimed in claim 1, it is characterized in that, when activation or shut off plug or application program, the incident of correspondence is nullified, in described application pool, find corresponding plug-in unit ID or application program ID, and, find its corresponding process and close according to the described application program ID of plug-in unit ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110109498 CN102163162A (en) | 2011-04-26 | 2011-04-26 | Task management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110109498 CN102163162A (en) | 2011-04-26 | 2011-04-26 | Task management method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102163162A true CN102163162A (en) | 2011-08-24 |
Family
ID=44464399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110109498 Pending CN102163162A (en) | 2011-04-26 | 2011-04-26 | Task management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102163162A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294489A (en) * | 2012-02-23 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Internet application management method in open platform and task manager |
CN105468397A (en) * | 2014-09-11 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Software running data processing method and software running data processing apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924813A (en) * | 2005-09-02 | 2007-03-07 | 国际商业机器公司 | Apparatus, system, and method for managing task instances |
CN1924800A (en) * | 2005-09-02 | 2007-03-07 | 北京灵图软件技术有限公司 | Control-based insert management system and method for secondary development platform |
CN101604371A (en) * | 2009-07-22 | 2009-12-16 | 阿里巴巴集团控股有限公司 | The control method of authority of plug-in unit and system |
-
2011
- 2011-04-26 CN CN 201110109498 patent/CN102163162A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1924813A (en) * | 2005-09-02 | 2007-03-07 | 国际商业机器公司 | Apparatus, system, and method for managing task instances |
CN1924800A (en) * | 2005-09-02 | 2007-03-07 | 北京灵图软件技术有限公司 | Control-based insert management system and method for secondary development platform |
CN101604371A (en) * | 2009-07-22 | 2009-12-16 | 阿里巴巴集团控股有限公司 | The control method of authority of plug-in unit and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294489A (en) * | 2012-02-23 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Internet application management method in open platform and task manager |
CN103294489B (en) * | 2012-02-23 | 2017-12-01 | 腾讯科技(深圳)有限公司 | The management method and task manager of the Internet, applications in open platform |
CN105468397A (en) * | 2014-09-11 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Software running data processing method and software running data processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701025B (en) | A kind of method for recovering internal storage and device | |
CN103329063B (en) | System and method for monitoring and managing data center resource in real time | |
CN103477326A (en) | Infrastructure control fabric system and method | |
US20140028611A1 (en) | Method and Apparatus for Reporting Touch Event and Mobile Terminal | |
CN103329109A (en) | System and method for monitoring and managing data center resources in real time incorporating manageability subsystem | |
CN109902255B (en) | Page mixed browsing record generation method, device, equipment and storage medium | |
CN103460184A (en) | System and method for monitoring and managing data center resources incorporating a common data model repository | |
CN109299088A (en) | Mass data storage means, device, storage medium and electronic equipment | |
CN104714725A (en) | Display method and device of floating window | |
CN102023627A (en) | Monitoring system for high-voltage sub-module test | |
CN104636406A (en) | Method and device for pushing information according to user behaviors | |
CN105610946A (en) | Docker technology based cloud jump server system | |
CN103269347A (en) | Server-side-based resource optimization method, server, client side and system | |
CN107729063A (en) | Call method, device and the terminal of SDK | |
CN103646348A (en) | Method for saving factory station wiring diagram panoramic inversion context | |
CN114157679A (en) | Cloud-native-based distributed application monitoring method, device, equipment and medium | |
CN100495983C (en) | Digital household information management system | |
CN104239178A (en) | Monitoring system and monitoring method | |
CN106293327A (en) | End application fast operating method and system | |
CN102163162A (en) | Task management method | |
CN107832403A (en) | Catalogue file management method, device, electric terminal and readable storage medium storing program for executing | |
CN103870762A (en) | Partition accessing method and electronic equipment | |
CN102902614A (en) | Dynamic monitoring and intelligent guide method | |
CN104361000A (en) | Access method and system for relational database based on self-built database connection pool | |
CN104156057A (en) | Control method and device of mobile device and mobile 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110824 |