CN102779066A - Method for reducing influence of antivirus software on operational efficiency of test instrument - Google Patents
Method for reducing influence of antivirus software on operational efficiency of test instrument Download PDFInfo
- Publication number
- CN102779066A CN102779066A CN2012101955398A CN201210195539A CN102779066A CN 102779066 A CN102779066 A CN 102779066A CN 2012101955398 A CN2012101955398 A CN 2012101955398A CN 201210195539 A CN201210195539 A CN 201210195539A CN 102779066 A CN102779066 A CN 102779066A
- Authority
- CN
- China
- Prior art keywords
- software
- priority
- operational efficiency
- testing tool
- cpu usage
- 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
Images
Abstract
The invention discloses a method for reducing influence of antivirus software on operational efficiency of a test instrument. The method comprises the following steps of: creating a high-priority timer monitoring thread in the test instrument software, wherein the time interval can be determined flexibly according to actual conditions, and the monitoring content is the CPU (Central Processing Unit) occupancy rate of the test instrument software; when the CPU occupancy rate is obviously lower than the average case of normal operation of the software, judging that operation of other high-priority threads seriously affects the operational efficiency of the test instrument software, at the moment, taking measures to improve the overall priority of the test software so as to ensure the steady operation of the software; and after the software CPU occupancy rate recovers, a period of time later, reducing the overall priority of the software, thereby avoiding interference on normal operation of other software caused by being in high priority for long term.
Description
Technical field
The present invention relates to a kind of method that reduces antivirus software to the influence of testing tool operational efficiency.
Background technology
The continuous development of, hardware technology soft along with computing machine; Constantly popularizing of application platform, at present common intelligent testing equipment complete upgrading is to main flow PC platform, and operating system also makes the transition to Windows; Make that the function of instrument is more powerful, it is convenient more to use.When bringing big advantages, testing tool has also received the influence of all-pervasive virus, therefore antivirus software need be installed on testing tool; If but open the real-time monitoring of antivirus software and the function of regularly killing virus, a lot of antivirus software resource occupation are relatively more severe, when antivirus software moves; Operate as normal with the appreciable impact testing tool; Make testing tool operation slowly, when serious even cause seemingly-dead phenomenon, and relatively stricter to the real-time test request of instrument usually; This has just produced sharp-pointed contradiction, how to reduce antivirus software the influence of surveying instrument software operation efficiency has just been become numerous instrument producer problem demanding prompt solution.
Mainly contain two kinds of solutions at present: strong producer can cooperate with operating system manufacturer, is optimized to surveying instrument software at the operating system bottom, improves its limit priority, drops to minimum to its influence other running software; Perhaps directly promote the whole priority of surveying instrument software, testing tool software is in operate on the higher priority in the competition with antivirus software to get the mastery.
All there are some defectives in prior art: primary need is cooperated with operating system exploitation producer, and this needs multiple condition to reach an agreement with exploitation producer, and this agreement is good at embarking on journey under a lot of situation; Second directly improves surveying instrument software priority, and this can cause the Survey Software CPU usage to promote greatly, has a strong impact on the normal operation of other software on the instrument.
Summary of the invention
To above-mentioned shortcoming; The present invention adopts dynamic adjustment testing software precedence scheme; Through judging the whole priority of CPU usage real-time regulated testing software, implement fairly simplely, effect is more satisfactory; Effectively reduced the influence of antivirus software, guaranteed the even running of testing tool software the testing tool operational efficiency.
One of the object of the invention is realized by the following technical programs:
The software of operation all has the priority setting under Windows; The control that at first obtains CPU that priority is high; And all application programs are generally operational under the normal priority; Windows makes everybody have an opportunity to obtain control and normally moves for the scheduling mode of the application program employing round-robin of equal priority.And antivirus software relates generally to some bottom operations; Priority is higher; In case operation will have a strong impact on the application program of other normal operation; Phenomenon is more obvious under the lower situation of hardware platform performance, if raise up the influence that can solve antivirus software really to the priority of testing software, but so normal operation that can have influence on other software in the testing tool undoubtedly.
The present invention creates the timer monitoring thread of a high priority at the testing tool software inhouse; Can confirm flexibly according to actual conditions interval time; The monitoring content is the CPU usage of testing tool software, when the occupancy of CPU is starkly lower than the average case of the normal operation of software, can judge that the program run that other high priority is arranged has had a strong impact on the testing tool software operation efficiency; Take measures to promote the whole priority of testing software this moment; Guarantee the even running of software, after the software CPU usage recovers, will reduce the whole priority of software behind the certain interval of time; Avoiding being in for a long time high priority causes the normal operation of other software and disturbs some that should be noted that of the present invention: the one, and the priority of monitoring thread wants high; Monitor thread else and if all have no chance to move, so just can't adjust the priority of testing software, because monitoring thread actual run time is very short; Most of the time all is in dormant state (can't need too frequent the interval time of detecting CPU usage), so high priority does not have substantial effect to other program; The 2nd, the process that promotes priority can promote step by step; The priority setting of Windows is divided into a plurality of grades; Cross when low when the testing software CPU usage, can promote one-level priority, if still on the low side when monitoring once more; Promote one-level again, avoid promoting high priority as far as possible system is caused interference; The 3rd, after priority promotes,, to reduce priority rapidly after a period of time if come on the CPU usage, avoid working long hours at high priority, other normal software that moves on the instrument is caused interference.
Through experiment, prove that the present invention realizes that simply effect is remarkable, have popularization, using value preferably.
Description of drawings
Below in conjunction with accompanying drawing specific embodiment of the present invention is done further detailed explanation.
Fig. 1 is a monitoring thread process flow diagram of the present invention
Embodiment
Below will combine accompanying drawing, the preferred embodiments of the present invention will be carried out detailed description; Should be appreciated that preferred embodiment has been merely explanation the present invention, rather than in order to limit protection scope of the present invention.
Create the timer monitoring thread of a high priority at the testing tool software inhouse; Also can write monitoring facilities separately; Can confirm that the monitoring content is the CPU usage of testing tool software, is starkly lower than the average case (for example CPU usage<25%) of the normal operation of software when the occupancy of CPU interval time according to actual conditions flexibly; Can judge that the program run that other high priority is arranged has had a strong impact on the testing tool software operation efficiency; Take measures to promote the whole priority of testing software this moment, guarantee the even running of software, after the software CPU usage recovers (for example CPU usage>75%); To reduce the whole priority of software behind the certain interval of time, avoid being in for a long time high priority the normal operation of other software is caused interference.
Claims (5)
1. one kind is reduced the method that antivirus software influences the testing tool operational efficiency; Adopt dynamically adjustment testing software priority, it is characterized in that software inhouse is created the monitoring thread of high priority; Perhaps create watchdog routine separately; Confirm that the monitoring content is the CPU usage of testing tool software interval time according to actual conditions flexibly, adopt the dynamic priority adjustment according to CPU usage.
2. a kind of method that reduces antivirus software to the influence of testing tool operational efficiency as claimed in claim 1 is characterized in that: create a high priority monitoring thread, monitor CPU usage in real time.
3. a kind of method that reduces antivirus software to the influence of testing tool operational efficiency as claimed in claim 1 is characterized in that: create an independent watchdog routine, in real time control and measuring instrument software CPU usage.
It is 4. as claimed in claim 1 that a kind of to reduce antivirus software described to the method for testing tool operational efficiency influence; It is characterized in that: said dynamic priority method of adjustment is starkly lower than the average case of the normal operation of software for the occupancy as CPU; Promote the whole priority of testing software this moment; After the software CPU usage recovers, to reduce the whole priority of software behind the certain interval of time.
5. as claimed in claim 1 a kind of to reduce antivirus software described to the method for testing tool operational efficiency influence, and it is characterized in that: the interval time of detecting CPU usage can not be too frequent, and the process that promotes priority can promote step by step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101955398A CN102779066A (en) | 2012-06-14 | 2012-06-14 | Method for reducing influence of antivirus software on operational efficiency of test instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101955398A CN102779066A (en) | 2012-06-14 | 2012-06-14 | Method for reducing influence of antivirus software on operational efficiency of test instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102779066A true CN102779066A (en) | 2012-11-14 |
Family
ID=47123986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101955398A Pending CN102779066A (en) | 2012-06-14 | 2012-06-14 | Method for reducing influence of antivirus software on operational efficiency of test instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102779066A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740326A (en) * | 2016-01-21 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Thread state monitoring method and device for browser |
CN106598740A (en) * | 2016-12-15 | 2017-04-26 | 郑州云海信息技术有限公司 | System and method for limiting CPU (Central Processing Unit) occupancy rate of multi-thread program |
CN107391259A (en) * | 2017-07-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | Method for processing resource and device, computer-readable recording medium, mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050022832A (en) * | 2003-09-02 | 2005-03-08 | 김명주 | Anti-virus system for parallel processing system |
CN101227289A (en) * | 2008-02-02 | 2008-07-23 | 华为技术有限公司 | Uniform intimidation managing device and loading method of intimidation defense module |
CN101387971A (en) * | 2008-09-26 | 2009-03-18 | 中兴通讯股份有限公司 | Task regulation method and apparatus for embedded software |
CN101436146A (en) * | 2008-12-15 | 2009-05-20 | 中兴通讯股份有限公司 | Method and system for dynamically regulating priority of remote device management progress |
CN102025869A (en) * | 2009-09-17 | 2011-04-20 | 柯尼卡美能达商用科技株式会社 | Job processing system and image processing apparatus |
-
2012
- 2012-06-14 CN CN2012101955398A patent/CN102779066A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050022832A (en) * | 2003-09-02 | 2005-03-08 | 김명주 | Anti-virus system for parallel processing system |
CN101227289A (en) * | 2008-02-02 | 2008-07-23 | 华为技术有限公司 | Uniform intimidation managing device and loading method of intimidation defense module |
CN101387971A (en) * | 2008-09-26 | 2009-03-18 | 中兴通讯股份有限公司 | Task regulation method and apparatus for embedded software |
CN101436146A (en) * | 2008-12-15 | 2009-05-20 | 中兴通讯股份有限公司 | Method and system for dynamically regulating priority of remote device management progress |
CN102025869A (en) * | 2009-09-17 | 2011-04-20 | 柯尼卡美能达商用科技株式会社 | Job processing system and image processing apparatus |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740326A (en) * | 2016-01-21 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Thread state monitoring method and device for browser |
CN106598740A (en) * | 2016-12-15 | 2017-04-26 | 郑州云海信息技术有限公司 | System and method for limiting CPU (Central Processing Unit) occupancy rate of multi-thread program |
CN107391259A (en) * | 2017-07-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | Method for processing resource and device, computer-readable recording medium, mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11429764B2 (en) | System and method for energy usage accounting in software applications | |
US20190238437A1 (en) | Flexible and safe monitoring of computers | |
US20130007413A1 (en) | System and Apparatus For Consolidated Dynamic Frequency/Voltage Control | |
CN102073545B (en) | Process scheduling method and device for preventing screen jam of user interface in operating system | |
US8286032B2 (en) | Trace messaging device and methods thereof | |
CN103109276B (en) | System detection method | |
CN103428272A (en) | System and method for monitoring and scheduling of middleware threads | |
CN105389214A (en) | Monitoring method and system | |
CN102880540A (en) | Method for ensuring normal operation of access controller (AC) under high load | |
CN103684916A (en) | Method and system for intelligent monitoring and analyzing under cloud computing | |
CN102779066A (en) | Method for reducing influence of antivirus software on operational efficiency of test instrument | |
US20130179893A1 (en) | Adaptation of Probing Frequency for Resource Consumption | |
CN105511937A (en) | Batch virtual machine blue screen monitoring method suitable for cloud platform | |
US20160371118A1 (en) | Virtual machine management method and apparatus including idling and scheduling of virtual processors | |
CN109558216A (en) | It is a kind of that optimization method and its system are virtualized based on the single I/O migrated online | |
US20140229956A1 (en) | Method and System for Deterministic Multicore Execution | |
CN111752779A (en) | Hard disk performance test optimization method and device | |
CN107506286A (en) | CPU and memory block automatically upper inserting method and system | |
CN103218219A (en) | Compact function trace | |
CN109918181A (en) | Mixing critical system task Schedulability Analysis method based on the worst response time | |
WO2021159359A1 (en) | Data collection method and device for operating system of unmanned vehicle | |
CN103955397A (en) | Virtual machine scheduling multi-strategy selection method based on micro-architecture perception | |
CN103631571A (en) | Method and device for controlling progress bar | |
CN108874646A (en) | The method and apparatus for analyzing data | |
US20170212790A1 (en) | Computer processing system with resource optimization and associated methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121114 |