CN106096030B - The method and apparatus that browser execution is optimized - Google Patents

The method and apparatus that browser execution is optimized Download PDF

Info

Publication number
CN106096030B
CN106096030B CN201610476328.XA CN201610476328A CN106096030B CN 106096030 B CN106096030 B CN 106096030B CN 201610476328 A CN201610476328 A CN 201610476328A CN 106096030 B CN106096030 B CN 106096030B
Authority
CN
China
Prior art keywords
browser
information
computer system
current operation
thread
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.)
Expired - Fee Related
Application number
CN201610476328.XA
Other languages
Chinese (zh)
Other versions
CN106096030A (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 CN201610476328.XA priority Critical patent/CN106096030B/en
Publication of CN106096030A publication Critical patent/CN106096030A/en
Application granted granted Critical
Publication of CN106096030B publication Critical patent/CN106096030B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses the method and apparatus that a kind of pair of browser execution optimizes, method includes: to obtain the browser process information and its first resource occupied information of browser side;The current operation progress information and its Secondary resource occupied information of computer system where obtaining browser by browser interface;By at least part progress information for meeting preset resource occupancy optimal setting where acquired browser process information and browser in the current operation progress information of computer system and/or its resource occupation information loaded and displayed in browser side;According to the optimization instruction that user is triggered, process optimization processing is carried out at least part process of display.By means of the invention it is possible to show the occupation condition of all processes to be optimized to user, so that user be facilitated to carry out the selection of process optimization processing, and then processing is optimized for the process of user's selection, to accelerate the speed of service of browser.

Description

The method and apparatus that browser execution is optimized
It is on 04 23rd, 2013 that the application, which is application No. is 201310144296.X, the applying date, entitled " to clear The divisional application of the patent application of the method and apparatus that device of looking at operation optimizes ".
Technical field
The present invention relates to internet areas, and in particular to the method and apparatus that a kind of pair of browser execution optimizes.
Background technique
Nowadays, the epoch increasingly developed in network, browser become the main work that users carry out network activity Tool.For example, user can carry out the operation such as news browsing, video-see, file download by browser.But with user The passage of surf time, browser execution speed may become slower and slower.The reason of causing browser execution to slow Be likely to be the webpage quantity that software is more and more, browser is opened simultaneously of user's unlatching excessively, low memory, extender Load etc., this brings serious obstruction to the upper net operation of user.
Currently, problem slow-footed for browser execution, can solve in the following way: expand virtual memory, Stop unnecessary background service by the setting options that system provides, carries out the cleaning etc. of plug-in unit.
But actually in the reason of browser for leading to user slows, the script formulation of webpage is bad and same It is the major reason for causing browser execution to slow that resource etc. caused by the process of Shi Yunhang is excessive, which excessively occupies, such as CPU (Central Processing Unit, central processing unit) resource, the excessive occupancy of memory.Process excessively mainly due to Caused by webpage, application program, the extender of load, plug-in unit that user opens etc. is excessive.
And in the present circumstance, more effective speed-raising can not be carried out to browser, cause access slower.
Summary of the invention
In view of the above problems, the present invention provides the method and apparatus that a kind of pair of browser execution optimizes, to overcome The above problem at least is partially solved the above problem.
According to one aspect of the present invention, the method that a kind of pair of browser execution optimizes is provided, comprising:
Obtain the browser process information and its first resource occupied information of browser side;
The current operation progress information and its Secondary resource of computer system where obtaining browser by browser interface Occupied information;
It will be accorded in the current operation progress information of computer system where acquired browser process information and browser At least part progress information for closing preset resource occupancy optimal setting and/or its resource occupation information loaded and displayed are in browser Side;
According to the optimization instruction that user is triggered, process optimization processing is carried out at least part process of display.
Optionally, before the browser process information and its first resource occupied information for obtaining browser side, further includes:
Start the default worker thread of browser side optimization program, wherein default worker thread is suitable for obtaining browser The browser process information and first resource occupied information of side, and it is suitable for obtaining the current fortune of browser place computer system Row progress information and its Secondary resource occupied information.
Optionally, the step of browser process information and first resource occupied information of acquisition browser side includes:
Browser side optimizes program and sends the request for obtaining first resource occupied information to default worker thread;
Default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;
Preset plug-in process communicates acquisition with the expansion module row of browser side Optimization Progress sequence by browser main program Browser process information;
Preset plug-in process returns to browser process information to default worker thread;
First resource occupied information is calculated according to browser process information in default worker thread.
Optionally, the current operation progress information of computer system and its where obtaining browser by browser interface The step of two resource occupation information includes:
The current operation progress information of computer system where default worker thread obtains browser by browser interface And its Secondary resource occupied information.
Optionally, before the default worker thread of starting browser side optimization program, further includes:
Browser starting, includes at least browser main program when wherein browser starts and browser optimizes program.
Optionally, browser process information includes at least: the information of web page tag subprocess or thread, browser plug-in into Information, the information of browser extension process of journey.
Optionally, when browser process information is the information of web page tag subprocess or thread, browser process information Including at least one in following:
Label or thread identity number, label or thread title, label or thread address, label or thread icon, mark The EMS memory occupation of the message of browser subprocess, the CPU usage of label or thread, label or thread where label or thread Amount, label or the corresponding occupancy level of thread;
When browser process information is the information of plug-in unit process, browser process information includes at least one in following :
Plug-in unit process icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, plug-in unit process FPS (Fast Package Schedule, fast packet scheduling value), the CPU usage of plug-in unit process, plug-in unit process EMS memory occupation amount, insert The corresponding occupancy level of part process;
When browser process information is the information of extension process, browser process information includes at least one in following :
Extension process icon, extension process title, the bandwidth occupancy for extending process, the FPS value for extending process, extension process CPU usage, extend process EMS memory occupation amount, extension the corresponding occupancy level of process.
Optionally, the current operation progress information of computer system where browser includes at least one in following: into The CPU usage of journey, the input/output port occupancy of process, the EMS memory occupation amount of process, the description of the module of process, network gulp down The corresponding occupancy level of the amount of spitting, process.
Optionally, first resource occupied information is in CPU usage and/or browser process according to browser process Occupancy is deposited to be calculated;
Secondary resource occupied information is calculated according at least to such as the next item down information: computer system works as where browser CPU usage, EMS memory occupation amount, the input/output port occupancy, network throughput of preceding operation process.
Optionally, for browser process, preset resource occupies the Rule of judgment of optimal setting are as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if exceeded First threshold, it is determined that browser process meets preset resource and occupies optimal setting.
Optionally, for the current operation process of computer system where browser, preset resource occupies optimal setting packet Include the first optimal setting and the second optimal setting;
The Rule of judgment of first optimal setting includes following one or more:
Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system surpasses where judging browser Preset second threshold out, if exceeding second threshold, it is determined that the current operation process of computer system is full where browser The first optimal setting of foot;
Whether the current operation process of computer system appears in the fortune on foreground where judging browser according to progress information In traveling journey, if do not appeared in the operation process on foreground, it is determined that the current operation of computer system where browser Process meets the first optimal setting, wherein the operation process on foreground includes the process shown on taskbar and shows on window Process;
Whether the current operation process of computer system meets preset black name where judging browser according to progress information Single gauge then, if met, it is determined that the current operation process of computer system where browser meets the first optimal setting;
Whether the current operation process of computer system meets preset operation where judging browser according to progress information Condition, if do not met, it is determined that the current operation process of computer system meets the first optimal setting where browser;
The Rule of judgment of second optimal setting are as follows:
When the current operation process of computer system is unsatisfactory for the first optimal setting where browser, browser institute is judged Whether there is exception in the current operation process of computer system, if there is exception, it is determined that process meets the second optimization and sets Set, wherein it is abnormal include: GDI (Graphics Device Interface, graphic interface equipment) leakage, window it is stuck and CPU card is dead.
Optionally, when the operation process on foreground is the process shown on window, preset resource occupies optimal setting into one Step include: when the frequency of use of the process shown on window is lower than preset value, it is further to judge whether process sets in the window Top, if it is judged that being no, it is determined that process meets preset resource and occupies optimal setting.
Optionally, optimization processing extends the pass of process including at least the closing of web page tag subprocess or thread, browser Close, the closing of browser plug-in process, the current operation process of computer system where browser and/or service closing, interior Deposit release, cleaning system rubbish;
Where the object of optimization processing is browser when the current operation process of computer system, optimization processing is also wrapped It includes: CPU priority is set for process to be optimized;And/or process to be optimized is switched from multiple kernels of multi-core CPU Into a kernel.
According to one aspect of the present invention, the device that a kind of pair of browser execution optimizes is provided, comprising:
Module is obtained, is configured to obtain the browser process information and its first resource occupied information of browser side;
Module is obtained, the current operation process of computer system where obtaining browser by browser interface is additionally configured to Information and its Secondary resource occupied information;
Loaded and displayed module is configured to working as computer system where acquired browser process information and browser Meet at least part progress information and/or its resource occupation letter that preset resource occupies optimal setting in preceding operation progress information Loaded and displayed is ceased in browser side;
Optimization processing module is configured to the optimization triggered according to user instruction, at least part process of display into Traveling journey optimization processing.
Optionally, above-mentioned apparatus further include:
Starting module is configured to the default worker thread of starting browser side optimization program, wherein default worker thread is suitable For obtaining the browser process information and first resource occupied information of browser side, and it is suitable for obtaining calculating where browser The current operation progress information and its Secondary resource occupied information of machine system.
Optionally, module is obtained to be additionally configured to obtain the browser process information and its first of browser side as follows Resource occupation information:
Browser side optimizes program and sends the request for obtaining first resource occupied information to default worker thread;
Default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;
Preset plug-in process carries out communication acquisition by the expansion module that browser main program and browser side optimize program Browser process information;
Preset plug-in process returns to browser process information to default worker thread;
First resource occupied information is calculated according to browser process information in default worker thread.
Optionally, obtain computer system where module is additionally configured to obtain browser as follows currently run into Journey information and its Secondary resource occupied information:
The current operation progress information of computer system where default worker thread obtains browser by browser interface And its Secondary resource occupied information.
Optionally, above-mentioned apparatus further include:
Starting module is configured to starting browser, includes at least browser main program and browsing when wherein browser starts Device optimizes program.
Optionally, it obtains the browser process information that module obtains to include at least: the letter of web page tag subprocess or thread The information of breath, the information of browser plug-in process, browser extension process.
Optionally, when browser process information is the information of web page tag subprocess or thread, browser process information Including at least one in following:
Label or thread identity number, label or thread title, label or thread address, label or thread icon, mark The EMS memory occupation of the message of browser subprocess, the CPU usage of label or thread, label or thread where label or thread Amount, label or the corresponding occupancy level of thread;
When browser process information is the information of plug-in unit process, browser process information includes at least one in following :
Plug-in unit process icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, plug-in unit process fast packet scheduling FPS value, the CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, the corresponding occupancy level of plug-in unit process;
When browser process information is the information of extension process, browser process information includes at least one in following :
Extension process icon, extension process title, the bandwidth occupancy for extending process, the FPS value for extending process, extension process CPU usage, extend process EMS memory occupation amount, extension the corresponding occupancy level of process.
Optionally, the current operation progress information of computer system where browser includes at least one in following: into The CPU usage of journey, the input/output port occupancy of process, the EMS memory occupation amount of process, the description of the module of process, network gulp down The corresponding occupancy level of the amount of spitting, process.
Optionally, obtain the first resource occupied information that module obtains be according to the CPU usage of browser process and/or The EMS memory occupation amount of browser process is calculated;
It obtains the Secondary resource occupied information that module obtains to be calculated according at least to such as the next item down information: where browser CPU usage, EMS memory occupation amount, the input/output port occupancy, network throughput of the current operation process of computer system.
Optionally, for browser process, preset resource occupies the Rule of judgment of optimal setting are as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if exceeded First threshold, it is determined that browser process meets preset resource and occupies optimal setting.
Optionally, for the current operation process of computer system where browser, preset resource occupies optimal setting packet Include the first optimal setting and the second optimal setting;
The Rule of judgment of first optimal setting includes following one or more:
Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system surpasses where judging browser Preset second threshold out, if exceeding second threshold, it is determined that the current operation process of computer system is full where browser The first optimal setting of foot;
Whether the current operation process of computer system appears in the fortune on foreground where judging browser according to progress information In traveling journey, if do not appeared in the operation process on foreground, it is determined that the current operation of computer system where browser Process meets the first optimal setting, wherein the operation process on foreground includes the process shown on taskbar and shows on window Process;
Whether the current operation process of computer system meets preset black name where judging browser according to progress information Single gauge then, if met, it is determined that the current operation process of computer system where browser meets the first optimal setting;
Whether the current operation process of computer system meets preset operation where judging browser according to progress information Condition, if do not met, it is determined that the current operation process of computer system meets the first optimal setting where browser;
The Rule of judgment of second optimal setting are as follows:
When the current operation process of computer system is unsatisfactory for the first optimal setting where browser, browser institute is judged Whether there is exception in the current operation process of computer system, if there is exception, it is determined that process meets the second optimization and sets It sets, wherein abnormal includes: GDI leakage, window is stuck and CPU card is dead.
Optionally, when the operation process on foreground is the process shown on window, preset resource occupies optimal setting into one Step include: when the frequency of use of the process shown on window is lower than preset value, it is further to judge whether process sets in the window Top, if it is judged that being no, it is determined that process meets preset resource and occupies optimal setting.
Optionally, the optimization processing that optimization processing module is carried out, including at least the pass of web page tag subprocess or thread Close, the browser extension closing of process, the closing of browser plug-in process, computer system where browser currently run into The closing of journey and/or service, memory release, cleaning system rubbish;
Where the object of optimization processing is browser when the current operation process of computer system, optimization processing is also wrapped It includes: CPU priority is set for process to be optimized;And/or process to be optimized is switched from multiple kernels of multi-core CPU Into a kernel.
The embodiment of the invention provides the method and apparatus that a kind of pair of browser execution optimizes, by obtaining local fortune Capable browser process and non-browser progress information obtains the resource information of process occupancy.Then, the resource information that will be obtained It is presented on interface, user side can be made just intuitively to see the resource occupation of each process, and it is carried out reasonable excellent Change processing.
In the prior art, the script formulation of webpage is bad or the process that runs simultaneously it is excessive caused by resource it is (CPU, interior Deposit) excessively occupy be to lead to the major reason that browser is stuck, slack-off.When facing numerous processes or webpage, Yong Huwu Method carries out more effective speed-raising to browser.Difference with the prior art of the embodiment of the present invention is can to show institute to user Need the occupation condition of Optimization Progress, user can be by carrying out correspondingly optimization processing to these processes, to discharge system Resource, to accelerate the speed of service of browser.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram that a kind of pair of browser execution according to an embodiment of the invention optimizes;
Fig. 2 shows the browser process information according to an embodiment of the invention for obtaining browser side and its first moneys The specific method flow chart of source occupied information;
Fig. 3 shows optimization program display process page schematic diagram to be optimized according to an embodiment of the invention;
Fig. 4 shows the interface schematic diagram of optimization program display browser process according to an embodiment of the invention.
The interface that Fig. 5~Fig. 7 shows optimization program display non-browser process according to an embodiment of the invention shows It is intended to.
Fig. 8 shows the schematic diagram of optimization window according to an embodiment of the invention;
Fig. 9 shows the first device block diagram for optimizing to browser execution according to an embodiment of the invention;
Figure 10 shows the device block diagram that second pair of browser execution according to an embodiment of the invention optimizes;
Figure 11, which is shown, according to an embodiment of the invention a kind of realizes the system frame optimized to browser execution Figure;
Figure 12 shows optimization program starting pinciple figure according to an embodiment of the invention;And
Figure 13 shows the working principle diagram of optimization program according to an embodiment of the invention.
Specific embodiment
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
The embodiment of the invention provides the method that a kind of pair of browser execution optimizes, this method is mainly for current fortune Traveling Cheng Zhihang optimization processing, to accelerate the speed of service of browser.It should be noted that current in the embodiment of the present invention The process of operation includes two classes: the browser process and non-browser process of browser side, wherein non-browser process is browsing The current operation process (process of such as Word, Fetion, QQ) of computer system where device.Browser process above-mentioned is at least wrapped Include browser host process, webpage process/subprocess, browser plug-in process, browser extension process etc..
Wherein, which can be realized by being mounted on the optimization program of browser side.
Embodiment one
It should be noted that the embodiment of the present invention is in the specific implementation, can by the optimization program of browser side (for example, Browser doctor) it realizes, before executing the method in the embodiment of the present invention one, first have to starting browser, wherein In the start-up course of browser, browser main program and the optimization program start simultaneously.
After user clicks optimization program, the default worker thread of optimization program is started in browser side, later according to Fig. 1 In method realize the optimization method.
Fig. 1 is the method flow diagram that a kind of pair of browser execution of the embodiment of the present invention optimizes, and this method includes step Rapid S102 to S108.
After optimizing program when the user clicks, optimization program executes the step S102 in method provided by the invention.In step In S102, the browser process information and its first resource occupied information of browser side are obtained.
Optionally, the browser process information in the present embodiment step S102 includes at least one of following process letter Breath: the information of web page tag subprocess or thread, the information of browser plug-in process, the information of browser extension process.
For the specific implementation process of more clear introduction step S102, below with reference to figure provided in an embodiment of the present invention The browser process information of browser side is obtained in 2 couples of step S102 and its specific method of first resource occupied information has Body introduction, the method comprising the steps of S1022 to S1030.
Firstly, optimizing routine executing step S1022 after optimizing program when the user clicks.In step S1022, browser Side optimizes program and sends the request for obtaining first resource occupied information to default worker thread.
Wherein, the default worker thread in step S1022 is loaded with the function logic module of optimization program on startup (dll).Function logic module for realizing resource occupation information calculating.
Secondly, executing step S1024 by default worker thread after optimization program has executed above-mentioned steps S1022.? In step S1024, presets worker thread and send the request for obtaining browser process information to the preset plug-in process of browser side.
Optionally, above-mentioned preset plug-in process is to be pre-installed in the plug-in unit process of browser side, can be NPAPI plug-in unit Process.
In addition, in the present embodiment, when the classification difference of progress information in step S1024, included is specific interior Hold also different.Optionally, when progress information is the information of web page tag subprocess or thread, one in following is included at least : label or thread identity number (id), label or thread title, label or thread address (url), label or thread icon (icon), label or the message of browser subprocess where thread, the CPU usage of label or thread, label or thread EMS memory occupation amount, label or the corresponding occupancy level of thread;
When above-mentioned progress information be browser plug-in process information when, include at least it is following in one: plug-in unit into Journey icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, the fast packet scheduling FPS value of plug-in unit process, plug-in unit process CPU usage, the EMS memory occupation amount of plug-in unit process, the corresponding occupancy level of plug-in unit process;
When above-mentioned progress information be browser extend process information when, include at least it is following in one: extend into Journey icon, the bandwidth occupancy for extending process, the FPS value for extending process, the CPU usage for extending process, expands at extension process title EMS memory occupation amount, the extension corresponding occupancy level of process of exhibition process.
It should be noted that particular content included by the information of the browser process of above-mentioned offer be only enumerate, and It is not limited to several above-mentioned, a certain specifying information is as obtained in browser process implementation procedure, then it can be assumed that it is clear Look at device progress information.
Again, after default worker thread has executed above-mentioned steps S1024, continue to execute S1026 by preset plug-in process. In step S1026, it is clear that preset plug-in process by browser main program communicate acquisition with the expansion module of optimization program Look at device progress information.
Wherein, the expansion module for optimizing program in step S1026 starts when optimizing program starting, for obtaining browser Progress information.
Optionally, expansion module can be by chrom.experimental.processes interface that browser side provides To obtain browser process information.
Next, continuing to execute step S1028 when preset plug-in process is after obtaining browser process information.In step In rapid S1028, preset plug-in process returns to browser process information to default worker thread.
Optionally, the asynchronous format with json of browser process information can be returned to default work by preset plug-in process Thread.
Finally, continuing to execute step S1030 after default worker thread receives browser process information.In step In S1030, first resource occupied information is calculated according to browser process information in default worker thread.
Wherein, worker thread is preset according to the CPU usage of the process in browser process information, the EMS memory occupation of process The first resource occupied information of browser process is calculated in the one of them of amount or two.
Above-mentioned steps S1022 to S1030 specifically describes the concrete methods of realizing of step S102.Optionally, when optimization journey After sequence executes step S102, step S104 can be continued to execute.In step S104, non-browsing is obtained by browser interface Device progress information and its Secondary resource occupied information.
It should be noted that since above-mentioned steps S102 and step S104 are the acquisition processes executed by optimization program The operation of progress information and its resource occupation information, optionally, the execution of step S102 and step S104 can be without tandems, i.e., Step S104 can also be executed before step S102, can also be performed simultaneously with step S102.
Wherein, the information that this step S104 is obtained includes obtaining non-browser progress information and acquisition non-browser process Secondary resource occupied information two parts are now respectively illustrated the specific acquisition modes of two parts information.
(1) non-browser progress information
In embodiments of the present invention, non-browser progress information can directly pass through browser by above-mentioned default worker thread Interface acquires.
Optionally, in the present embodiment, non-browser progress information described in step S104 includes at least one in following : the CPU usage of process, the input/output port occupancy of process, the EMS memory occupation amount of process, the module of process description, The corresponding occupancy level of network throughput, process.Non-browser progress information provided herein is only to enumerate, and unlimited In several above-mentioned, a certain specifying information is as obtained in non-browser process implementation procedure, then it can be assumed that it is non-clear Look at device progress information.
(2) the Secondary resource occupied information of non-browser process
In embodiments of the present invention, the Secondary resource occupied information of non-browser process is by default worker thread according to such as It is at least one of lower to be calculated: CPU usage, EMS memory occupation amount, the input/output port occupancy, network throughput of process.
In optimization program, S102 and step S104 get browser process information and its first respectively through the above steps After resource occupation information, non-browser progress information and its Secondary resource occupied information, optimization program also continues executing step S106.In step s 106, the progress information and its resource occupation of each process obtained in judgment step S102 and step S104 Whether the information state of both information, which meets preset resource, occupies optimal setting.
It is set when the progress information of process and the information state of its resource occupation both information meet preset resource occupancy optimization When setting, following steps S108 is further executed.Conversely, illustrating that the process does not need optimization processing, the process is hidden at this time.
Wherein, for the browser process and non-browser process in step S106, judging its progress information and its money When whether the information state of both source occupied informations meets preset resource occupancy optimal setting, different judgment methods is taken.Under Text, which will be described in detail, judges whether browser process and non-browser process meet the method that preset resource occupies optimal setting.
(1) for browser process, the Rule of judgment that preset resource occupies optimal setting is as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if exceeded First threshold, it is determined that browser process meets preset resource and occupies optimal setting.Conversely, it is excellent not meet preset resource occupancy then Change setting, at this point, then illustrating what the process was likely to not need to optimize, thus can not be shown, to subtract Workload when few user's screening.
It is as follows, come so that first resource occupied information is calculated according only to the EMS memory occupation amount of process as an example to first threshold Specific value mode be illustrated.
A) for host (such as memory >=3G) biggish for memory, if occupied in total under current state in host With 70% or more, first threshold can be arranged to 64M at this time, that is, be determined as according with by the process that EMS memory occupation amount is more than 64M Close the process that preset resource occupies optimal setting.If host memory occupied in total 50% or more under current state, and 70% hereinafter, first threshold can be arranged to 128M at this time, that is, the process that EMS memory occupation amount is more than 128M to be determined as according with Close the process that preset resource occupies optimal setting.
B) for host (such as host memory < 3G) lesser for host memory, if in current state in host Under occupied in total 70% or more, first threshold can be arranged to 32M at this time, that is, by EMS memory occupation amount be more than 32M into Journey is determined as meeting the process that preset resource occupies optimal setting.If host memory is occupied in total under current state 50% or more, and 70% hereinafter, first threshold can be arranged to 64M at this time, that is, by EMS memory occupation amount be more than 64M into Journey is determined as meeting the process that preset resource occupies optimal setting.
As it can be seen that total memory when host is smaller, and when the free memory of system is also smaller, first threshold is arranged more It is low;Conversely, then first threshold is arranged higher.
In addition, first resource occupied information can also be the EMS memory occupation meter of CPU usage and process according to process It obtains, at this moment then can be according to the CPU usage of current hosts and the size of memory and service condition, and combine process The EMS memory occupation amount of CPU usage and process, first threshold is arranged.
In short, for browser process, by first resource occupied information it may determine that whether browser process meets Preset resource occupies optimal setting.The main purpose of Rule of judgment, which is to find out, occupies the excessive browser process of resource, and right It is optimized, to reduce resources occupation rate.It wherein, can be according to system resource in the excessive process of determining occupancy resource Total size and system resource total occupancy under current state be dynamically determined.Optionally, when judgement obtains browser Process meet preset resource occupy optimal setting when, by it is all meet preset resource occupy optimal setting processes according to its first The case where size order of resource occupation information is shown, intuitively understands resource shared by each process in order to user, into And processing is optimized to it.
(2) for non-browser process, it includes that the first optimal setting and the second optimization are set that preset resource, which occupies optimal setting, It sets.The Rule of judgment of every kind of optimal setting is at least one.To become apparent from illustrating method provided by the invention, now to each The Rule of judgment of optimal setting is illustrated.
Firstly, introducing the Rule of judgment of the first optimal setting.In embodiments of the present invention, this is sentenced
Broken strip part may include at least one of following multiple conditions.
Condition one, judges whether the numerical value of the Secondary resource occupied information of non-browser process exceeds preset second threshold Value, if exceeding second threshold, it is determined that the non-browser process meets the first optimal setting.
For condition one, the specific value mode of second threshold can refer to the above-mentioned value mode for first threshold, Details are not described herein.
Condition two judges whether non-browser process appears in the operation process on foreground according to progress information, if do not had It occurs in the operation process on foreground, it is determined that the non-browser process meets the first optimal setting, wherein the operation on foreground Process includes the process shown on taskbar and the process that shows on window.
The reason of condition two are arranged is, it is generally the case that if the non-browser process being currently running is not It appears in the operation process on foreground, then illustrates that the non-browser process is not used by a user currently, thus the non-browser Process is likely to not need the process of operation.
Specifically, when the non-browser process on foreground is the process shown on window, preset resource occupies optimal setting Further include: when the frequency of use of the non-browser process shown on window is lower than preset value, further judge the non-browser Process in the window whether top set, if it is judged that being no, it is determined that the non-browser process meet preset resource occupy it is excellent Change setting.
Condition three judges whether non-browser process meets preset blacklist rule according to progress information, if met, Then determine that the non-browser process meets the first optimal setting.
Wherein, before the judgement for carrying out condition three, it is previously provided with blacklist rule, when process meets preset black name Single gauge then when, it is determined that the non-browser process meets the first optimal setting.Specifically, blacklist rule is mainly used to definition one A little users are not intended to the rule of open process.For example, some processes can automatically pop up advertisement windows, these automatic springs Advertisement windows are not often what user wished to, thus to user cause it is unnecessary bother, for this purpose, can be in black name The single gauge rule that then the common advertisement windows of middle setting are met, for example, the features such as the size of window, title and attribute, work as bullet When window out meets these features, so that it may determine that the window is advertisement windows, so that its corresponding process is judged as symbol Close the first optimal setting.
Condition four judges whether non-browser process meets preset service condition according to progress information, if do not met, Then determine that the non-browser process meets the first optimal setting.
Wherein, some processes have to comply with certain service condition at runtime and can just operate normally, if operation item Part is not met, then the process even at operating status also can not normal use, for it is this since service condition is not met and Can not normal use process, it can be optimized (such as close).For example, there is the pass that interdepends between some processes System, as process A must dependent process B could run, therefore, when the process A of detecting is currently running, can further detect into Whether journey B is currently running, if testing result be it is no, can determine that the service condition of process A is not met, to carry out to it Optimization processing.
Further, the Rule of judgment of the second optimal setting is illustrated.Also, it is usually unsatisfactory in non-browser process When the first optimal setting, the judgement of the second optimal setting is carried out to it.
Preferably, the judgment criteria of the second optimal setting can be with are as follows: when non-browser process is unsatisfactory for the first optimal setting When, judge whether non-browser process exception occurs, if there is exception, it is determined that process meets the second optimal setting, wherein Exception includes: GDI leakage, window is stuck and CPU card is dead.
The purpose that the second optimal setting is arranged is to be, when there is abnormal non-browser process in system, be will affect The speed of service of browser, the card that then may cause browser when serious collapse.So when not meet first excellent for non-browser process When changing the condition of setting, continue to judge it with the presence or absence of exception, in such manner, it is possible to which avoiding omission from falling any one may cause browsing The slow non-browser process of device operation speed.
Correspondingly, when the information shape for the progress information and its resource occupation both information for judging process in above-mentioned steps S106 When state meets preset resource occupancy optimal setting, this step S108 is executed.In step S108, it is excellent that preset resource occupancy will be met At least part progress information for changing setting and/or its resource occupation information loaded and displayed are in browser side.The reality of step S108 It is existing to check the process that currently optimize processing conducive to user, and processing is optimized to it.
It should be noted that check the occupation condition of each process for the ease of user, the present embodiment also pass through Fig. 3 to User illustrates the page schematic diagram of optimization program display process to be optimized.As shown in figure 3, the first and second resource occupation information Can by " low ", " in ", in the page that is shown in optimization program in the form of "high" so that user more intuitively understands each process Occupation condition.In addition, browser process and non-browser process are respectively displayed on the area Liang Ge for the ease of user's differentiation Domain.As shown in figure 3, browser process to be optimized can be shown in " closing webpage " region in Fig. 3, it will be to be optimized Non-browser process is shown in " closing software " region in Fig. 3, and the generic of process is distinguished convenient for user.
In addition, the present embodiment additionally provides Fig. 4, the boundary of optimization program display browser process further is illustrated to user Face schematic diagram.Browser process information is specifically carried out classification and shown by the Fig. 4, that is, total money of browser process is shown to user Source occupancy situation also illustrates the information of web page tag subprocess or thread involved in above-mentioned steps S102, clear to user Look at device plug-in unit process information and browser extension process information, facilitate user understand current browser process classification and Occupation condition is conducive to user and carries out process optimization processing.
When optimization program by it is above-mentioned meet preset resource occupy optimal setting progress information and/or its resource occupation information After being shown, processing can be optimized to treat Optimization Progress with S110 as follows.In step s 110, foundation The optimization instruction that user is triggered, optimizes processing at least part process of display.
Optionally, in the present embodiment, user can be by choosing the Option Box in above-mentioned Fig. 3 before progress information, and excellent Change and clicks " key acceleration " key in the interface of program to trigger optimization instruction.When the user clicks when " key acceleration " key, optimize journey The process for meeting optimal setting is formed the default worker thread that task list for clearance is sent to optimization program by sequence, presets work After thread is connected to task list, the process of optimal setting is met according to task list cleaning.
Wherein, optimization processing involved in this step S110, including at least one of following: web page tag subprocess or line It is the closing of journey, the browser extension closing of process, the closing of browser plug-in process, non-browser process/service closing, interior Deposit release, cleaning system rubbish.
The optimization process of different processes involved in step S110 is specifically introduced separately below.
(1) for the optimization process operation of browser process specifically include it is a, b following described in.
A) when optimization processing is the shutoff operation to browsing device net page label subprocess or thread, optimization program passes through clear The closing tag standards interface that device side provides of looking at closes browsing device net page label or thread.
B) when optimization processing is to extend the shutoff operation of process to browser, optimization program is provided by browser side Chrome.management.setEnabled expansion management interface closes extender.
It (2) include c following for the optimization process operation of non-browser process.
C) when optimization processing is to non-browser process/service shutoff operation, optimization program passes through calling TerminateProcess interface closes non-browser process/service.
It should be noted that the detailed process of the optimization operation in the present embodiment for non-browser process will be in embodiment It describes in detail in two.
The embodiment of the invention provides the methods that a kind of pair of browser execution optimizes, by obtaining the clear of local runtime It lookes at device process and non-browser progress information, obtains the resource information of process occupancy.Then, obtained resource information is presented on On interface, user side can be made just intuitively to see the resource occupation of each process, and carry out reasonable optimization processing to it.
In the prior art, the script formulation of webpage is bad or the process that runs simultaneously it is excessive caused by resource it is (CPU, interior Deposit) excessively occupy be to lead to the major reason that browser is stuck, slack-off.When facing numerous processes or webpage, Yong Huwu Method carries out more effective speed-raising to browser.Difference with the prior art of the embodiment of the present invention is can to show institute to user Need the occupation condition of Optimization Progress, user can be by carrying out correspondingly optimization processing to these processes, to discharge system Resource, to accelerate the speed of service of browser.
Embodiment two
The embodiment of the invention also provides in above-described embodiment one when optimizing processing to non-browser process, Used specific method.From the foregoing, it will be observed that the optimization processing carried out for non-browser is realized by optimization program.Fig. 5-figure 7 give a kind of interface schematic diagram of optimization program display non-browser process using the method for the present invention.Such as Fig. 5-Fig. 7 institute Show, which mainly illustrates the process list comprising multiple processes to user, in the process list, certainly according to each process The characteristics of body, split into following several classifications: the classification of " optimization system resource ", " it is recommended that the programs/services closed " class Not, " programs/services that closing may be selected " classification and " common program " classification.
It, can be corresponding excellent according to being executed the characteristics of Fig. 5~each classification shown in Fig. 7 when needing to carry out system optimization Change processing.For example, for by taking the classification of " optimization system resource " as an example, it is mainly complete by the category when carrying out system optimization At memory release and optimization system speed this two tasks.Wherein, memory release is mainly by that will be currently running Process realizes that specific importing process, which can pass through, calls windows system from being imported into virtual memory in physical memory Interface function (such as SetProcessWorkingSetSize interface function) Lai Shixian of offer, by will be currently running into Journey imported into virtual memory from physical memory, can reduce memory usage with release physical memory space.Optimization system speed master If being realized by the way that system relevant parameter is reasonably arranged.For example, as shown in figure 5, can be under in optimization system speed Face several respects execute optimization.Firstly, for system stabilization and system speed aspect, following optimization processing can be performed: 1) at optimization It manages device resource allocation: by the resource of reasonably configuration processor, family can be used and obtain more CPU, interior when playing game It the resources such as deposits, keeps delay smaller, be very suitable to anti-terrorism class game.2) memory optimization configures:, can by reasonably configuring memory Increase the disk buffering of games, improve read or write speed, accelerates the loading velocity of copy, scene.3) when Optimization Progress reacts Between: in the reaction time by the way that program is reasonably arranged, process can be prevented seemingly-dead when closed, make to shut down speed faster.4) it contracts The short mouse-keyboard reactionless waiting time: since mouse-keyboard can not move when program is stuck, by shortening mouse-keyboard The reactionless waiting time, the process stuck time can be shortened.5) reactionless process is automatically closed: when the process that detects is stuck After will turn off, to improve system stability.6) it closes service: closing the excessive clothes of the system resources such as some committed memories The characteristics of business (for example, windows update upgrade service), such service is: committed memory is very more when operation, and Adverse effect will not be generated to the computer of user after closing.7) dll file useless in memory is removed: will be remaining in system Rubbish dll file or other temporary files are removed, and the performance of system is improved.Secondly, for desktop, window and menu speed Following optimization processing can be performed in aspect: 1) display and reaction speed respectively ordered in quickening system: when reducing click menu Delay setting, can allow menu opening speed faster.2) optimized user interface component: when interface is seemingly-dead, block when Automatic refreshing is waited, system stability is enhanced.3) optimize program process: start menu being allowed to possess independent process priority processing, It can prevent seemingly-dead.Pass through above-mentioned processing, so that it may the purpose of optimization system resource is realized, so as to reduce resource occupation Rate, improve the speed of service of user browser.
In addition, in order to allow users to the current resources occupation rate of instant understanding system, to decide whether that it is necessary to execute Optimization processing can be calculated the resources occupation rate of current system in real time by optimization program, and the Current resource being calculated is accounted for It is shown in the form of suspension ball on Fig. 5 to the designated position of process list shown in Fig. 7 with rate (for example, being shown in upper left Angle), the display color of the suspension ball can further with resources occupation rate change and change, for example, working as resources occupation rate When lower than third threshold value, the color of suspension ball is green, and aside with text prompt user, " available resources are sufficient, after continuation of insurance Hold ", for the ease of user's understanding, " computer is dynamic " further can also be shown to user.When resources occupation rate is higher than the When four threshold values, the color of suspension ball is red, and is aside with text prompt user " available resources are insufficient, it is proposed that optimization " Understand convenient for user, can also further show " computer is somewhat tired " to user.When resources occupation rate is between third threshold value And the 4th between threshold value when, the color of suspension ball is orange, and aside uses text prompt user " available resources are less ", in order to Convenient for user's understanding, " computer can't run " further can also be shown to user.Further, it can also be shown in suspension ball Show the percentage of Current resource occupancy, in order to which user accurately understands resource utilization.Wherein, the 4th threshold value is being set When, it can be arranged according to the configuration of computer, for example, due to resource abundance, occupying 80% money for Gao Peiji Source can't have much impact, and for low with for machine, since resource is few, occupy 80% resource can generate compared with Big to influence, therefore, the 4th threshold value of Gao Peiji can be higher than low the 4th threshold value with machine.Similarly, third threshold value can also basis The configuration of computer carries out flexible setting.
In Fig. 5 into Fig. 7, the resource that suspension ball indicates is memory source, and suspension ball is displayed next to out that " free memory fills Foot, continues to keep " and " computer is dynamic " prompt printed words, this illustrates that current memory resource is sufficient, at this time suspension ball Color is shown in green.In actual conditions, the occupancy of other a certain resources can also be indicated by suspension ball.When suspension ball table When showing the occupancy of other a certain resources, the prompt printed words of suspension ball being displayed next to can also be revised as the name of the resource accordingly Claim, for example, when suspension ball indicates the occupancy of cpu resource, the text that suspension ball is displayed next to can be " can be sufficient with CPU, Continue to keep " or " CPU occupies excessively high, it is proposed that optimization " etc..Furthermore it is also possible to indicate accounting for for multiple resources simultaneously by suspension ball With rate, in order to which user fully understands current resource utilization.It, can be with when suspension ball indicates the occupancy of multiple resources According to effect of each resource in terms of performance optimization, different weights, and the power according to occupied by each resource are distributed for it It is weighted again, obtains the weight for capableing of the synthesis occupancy of the multiple resources of concentrated expression, which can both use The form of score (such as score between 0 to 100) indicates, can also be indicated with the form of percentage, at this moment, can be by one Suspension ball shows the specific value of the weight, in order to user understands the synthesis occupancy situation of multiple resources;Alternatively, can also be with The occupancy situation of every a kind of resource is respectively indicated, by multiple suspension balls in order to which user intuitively understands currently accounting for for every class resource Use situation.
Furthermore it is also possible to user beat this open optimization program when, optimization program to user show one as shown in Figure 8 it is excellent Change window, the display state of the suspension item of " key acceleration " and the suspension ball one being shown on process list are indicated in the window It causes, which can play the role of prompting user.When the user clicks when " key acceleration " printed words on window, optimization program to User shows the process list as shown in figure 5 above-Fig. 7.
Other than the implementation of real-time computing resource occupancy presented hereinbefore, can also be separately provided one by Resources occupation rate is calculated and be shown when the button when the user clicks in button, to save calculation amount, energy saving.
In the case where being provided with suspension ball, can suspension ball show resources occupation rate it is excessively high (such as suspension ball be it is red Color) when, the processing of above-mentioned " optimization system resource " is executed by way of clicking corresponding optimization key by user, it can also be with By the processing of system automatic trigger above-mentioned " optimization system resource ".In addition, " the optimization system money above-mentioned by system automatic trigger When the processing in source ", it can also be carried out in such a way that system at regular intervals optimizes.
In addition, after having executed the processing of above-mentioned " optimization system resource ", it can also be further to user's display reminding Content, the suggestion content can be the message or window of pop-up, be also possible to be shown in mentioning on the designated position of process list Show printed words.The suggestion content is mainly used for showing the particular number for all kinds of resources saved by optimization to user, in order to User understands the effect of optimization.
In the classification of above-mentioned " optimization system resource ", some routines are mainly executed and comprehensive system cleaning work. After the classification for having introduced " optimization system resource ", next, highlighting involved in system optimization method of the invention " it is recommended that close programs/services " classification, " programs/services closed may be selected " classification and " common program " classification Processing mode.Wherein, " it is recommended that the programs/services closed " classification is also referred to as the first classification, " the optional program closed/ Service " classification and " common program " classification can be collectively referred to as the second classification, wherein " programs/services closed may be selected " class Not as the second group in the second classification, " common program " classification is as the first group in the second classification.
When user opens optimization program, alternatively, when the user clicks start button in the optimization program when, start to execute Step S102 and step S104 in method provided by the invention to obtain the progress information and its resource occupation information of process, and The progress information and its resource for each process that above-mentioned steps S106 is continued to execute to obtain in judgment step S102 and step S104 Whether the information state of both occupied informations, which meets preset resource, occupies optimal setting.
Next, the non-browser process for meeting above-mentioned preset resource occupancy optimal setting is shown in step S108 In the first classification (" it is recommended that the programs/services closed " classification of such as Fig. 5 into Fig. 7) of process list, it will be unsatisfactory for above-mentioned The process that preset resource occupies optimal setting is shown in the second classification (" optional closing of such as Fig. 5 into Fig. 7 of process list Programs/services " classification and " common program " classification) in, wherein the state of the program in the first classification is defaulted as selecting In, " state of the program in the second classification is defaulted as non-selected.
Finally, in step s 110, according to the optimization instruction that user is triggered, being carried out at least part process of display Optimization processing.Wherein, optimization instruction is triggered by user under normal conditions, for example, by clicking Fig. 5 into Fig. 7 The button of " key acceleration " triggered.Before user triggers optimization instruction, need first to the process list of Fig. 5 to Fig. 7 In each state of a process be configured, state of a process include choose with it is non-selected, if user agree to first classification in Process all choose, the process in the second classification is not chosen all, that is, approves the default conditions of process, then can be without Any additional setting clicks directly on the button of " key acceleration " to trigger optimization instruction;If the user thinks that in the first classification A certain process should not optimize, then can set non-selected for the state of a process, correspondingly, if the user thinks that second A certain process should optimize in classification, then can be set as choosing by the state of a process.As a result, in optimization instruction Each state of a process in process list is contained, after receiving optimization instruction, you can learn that state is in process list The process chosen, and processing is optimized to it.When optimizing processing, the resource occupation amount shown in suspension ball first under Drop, then rise, in the resource occupation amount after finally resting on optimization.
It should be noted that optimization processing is in addition to above-mentioned processing when the object of optimization processing is non-browser process Except operation, further includes: 1) for be optimized non-browser process CPU priority is set, it can be according to the non-of processing to be optimized The significance level of browser process is arranged CPU priority for it, the CPU priority of important non-browser process is set height, will The CPU priority of unessential non-browser process is set low, so as to shorten the response time of important process, when reducing user's waiting Between, which is primarily useful for some processes that should not directly close.2) by process to be optimized from multiple kernels of multi-core CPU In be switched in a kernel, which is primarily useful for some stuck processes, to avoid it from occupying excessive cpu resource, It can will be switched in some kernel in its multiple kernel from multi-core CPU, to avoid the influence to other kernels.
In addition, after having executed above-mentioned step S110, it can also be further to user's display reminding content, the prompt Content equally can be the message or window of pop-up, be also possible to be shown in the prompt printed words on the designated position of process list. The suggestion content is used to show the particular number for all kinds of resources saved after the optimization of step S110 to user, in order to User understands the effect of optimization.
Pass through mode above, so that it may the optimization processing of non-browser process is realized, to improve the operation of browser Speed.
In addition, can be seen that in from Fig. 5 to Fig. 7 in embodiments of the present invention, the process in the second classification is further thin It is divided into the first group (i.e. " common program " classification) and the second group (i.e. " programs/services that closing may be selected " classification).Its In, some common processes are mainly shown in the first group, for example, 360 secure browsers, Microsoft word, Fetion etc.;Second is small Class then shows other processes in the second classification in addition to the first group.In order to determine which process belongs in the second classification One group, which process belong to the second group, need to preset a common process list, commonly use in process list and deposit at this Contain the title of various common processes.Correspondingly, in step S108 by be unsatisfactory for preset resource occupy optimal setting into After journey is shown in the second classification of process list, for the program in the second classification, it is pre- further to judge whether it belongs to If common process list;If it is judged that be it is yes, then it will be shown in the first group, if it is judged that be it is no, then It will be shown in the second group.
Had already described above, second classification in state of a process be defaulted as it is non-selected, it is therefore, small in above-mentioned first In class (i.e. " common program " classification), state of a process is defaulted as non-selected.But (i.e. for the second above-mentioned group " programs/services closed may be selected " classification) for, then have slightly different: before receiving optimization instruction for the first time, second State of a process in group is defaulted as non-selected, and this point is identical as the first group.But if user is sending for the first time Before optimization instruction, by certain processes (" Alipay control ", " Alipay detection journey of such as Fig. 5 into Fig. 7 in the second group Sequence " etc.) state be manually changed into and choose, i.e., in the optimization instruction received for the first time, more correct one's mistakes manually in the second group The process of state is selected state, in this way, before receiving optimization instruction for the second time, state of more correcting one's mistakes manually in the second group The default conditions of process still remain selected state.The rest may be inferred, in addition to the before receiving optimization instruction for the first time State of a process in two groups be defaulted as it is non-selected except, when subsequently received optimization instruction before, in the second group into The state that the state of journey is all defaulted as in the optimization instruction received with the last time is identical.That is, in the second group into Journey state has memory function, if user is optimized certain processes therein when this executes optimization instruction, that The default conditions for executing these processes optimized before optimization instructs next time will be changed to choose.The benefit done so exists In, it is generally the case that if user this optimization is performed to certain processes, it is excellent to illustrate that these processes are that user feels the need to Change, therefore, in lower suboptimization, user still may tend to optimize these processes, therefore, process in the second group Memory function can remember the selection of oneself last time convenient for user, to improve optimization efficiency.In addition, why will commonly use into Journey makes the process in the group not have memory function separately as a group, and the default conditions for keeping its each are all It is non-selected, be primarily due under normal circumstances, common process does not need to optimize, if user accidentally to commonly use into Journey is optimized, and often will affect the normal use of the process, therefore, can be to prevent separately as a group by common process Only user misoperation.
It is provided in an embodiment of the present invention that non-browser process is optimized in the specific method of processing, by pre- to meeting The non-browser process for setting resource occupation optimal setting carries out classification and shows, facilitating user can be according to the spy of different classifications Point, to determine which program executing optimization processing to.The embodiment of the present invention can not only turn off some unnecessary processes, clothes Business, the program on backstage can also discharge more memories, can close and account for the more process of network speed, to process of problems, The process that need not be run accounts for the process more than memory and is handled, to discharge more resources, accelerates the speed of service of browser.
Embodiment three
Fig. 9, is the first device block diagram optimized to browser execution of the embodiment of the present invention, which includes:
Module 301 is obtained, is configured to obtain the browser process information and its first resource occupied information of browser side, tool The acquisition process of body is referred to the description of above step S102, and details are not described herein again;And
The current operation progress information and its Secondary resource of computer system where obtaining browser by browser interface Occupied information, specific acquisition process are referred to the description of above step S104, and details are not described herein again.
Loaded and displayed module 302 is coupled with above-mentioned acquisition module 301, is configured to obtain above-mentioned acquisition module 301 Meet preset resource where browser process information and browser in the current operation progress information of computer system and occupies optimization At least part progress information of setting and/or its resource occupation information loaded and displayed are in browser side, loaded and displayed module 302 The description for being particularly shown process and being referred to above step S108, details are not described herein again.
It should be noted that showing that meeting preset resource in current operation progress information occupies in loaded and displayed module 302 Before at least part progress information of optimal setting and/or its resource occupation information, it is additionally configured to judge above-mentioned acquisition module Whether the progress information of each process acquired in 301 and the information state of its resource occupation both information meet preset resource occupancy Optimal setting, specific judgment mode are referred to the description of rapid S106 above, and details are not described herein again.
Optimization processing module 303 is coupled with above-mentioned loaded and displayed module 302, is configured in above-mentioned loaded and displayed module After 302 displays meet at least part progress information and/or its resource occupation information that preset resource occupies optimal setting, according to The optimization instruction triggered according to user carries out process optimization processing at least part process of display, wherein optimization processing mould Block 303 is specifically referred to the optimization in above step S110 for browser when optimizing processing to browser process Processing method, details are not described herein again.Optimization processing module 303 is referred to when optimizing processing to non-browser process For the optimization process of browser process in above-described embodiment two, details are not described herein again.
Optionally, above-mentioned apparatus further includes starting module 304, for this purpose, the embodiment of the invention also provides Figure 10, for opening up Show the device block diagram that second pair of browser execution of the embodiment of the present invention optimizes.Wherein, above-mentioned starting module 304, with Above-mentioned acquisition module 301 is coupled, and is configured to get browser process information and its first resource in above-mentioned acquisition module 301 Before occupied information, the default worker thread of starting browser side optimization program, wherein default worker thread is suitable for obtaining clear It lookes at the browser process information and first resource occupied information of device side, and is suitable for obtaining working as browser place computer system Preceding operation progress information and its Secondary resource occupied information.
Optionally, above-mentioned acquisition module 301 is executing the browser process information and its first resource for obtaining browser side When the operation of occupied information, it can be realized as follows:
Browser side optimizes program and sends the request for obtaining first resource occupied information to default worker thread;
Default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;
Preset plug-in process carries out communication acquisition by the expansion module that browser main program and browser side optimize program Browser process information;
Preset plug-in process returns to browser process information to default worker thread;
First resource occupied information is calculated according to browser process information in default worker thread.
Optionally, above-mentioned acquisition module 301, the current operation process letter of computer system where executing acquisition browser When the operation of breath and its Secondary resource occupied information, it can be realized as follows:
The current operation progress information of computer system where default worker thread obtains browser by browser interface And its Secondary resource occupied information.
Optionally, above-mentioned starting module 304, be additionally configured to starting browser side optimization program default worker thread it Before, start browser, wherein include at least browser main program when browser starts and browser optimizes program.
Optionally, the browser process information that above-mentioned acquisition module 301 obtains includes at least: web page tag subprocess or line The information of journey, the information of browser plug-in process, the information of browser extension process.
Optionally, when browser process information is the information of web page tag subprocess or thread, browser process information Including at least one in following:
Label or thread identity number, label or thread title, label or thread address, label or thread icon, mark The EMS memory occupation of the message of browser subprocess, the CPU usage of label or thread, label or thread where label or thread Amount, label or the corresponding occupancy level of thread;
When browser process information is the information of plug-in unit process, browser process information includes at least one in following :
Plug-in unit process icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, plug-in unit process fast packet scheduling FPS value, the CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, the corresponding occupancy level of plug-in unit process;
When browser process information is the information of extension process, browser process information includes at least one in following :
Extension process icon, extension process title, the bandwidth occupancy for extending process, the FPS value for extending process, extension process CPU usage, extend process EMS memory occupation amount, extension the corresponding occupancy level of process.
Optionally, the current operation progress information of computer system where browser includes at least one in following: into The CPU usage of journey, the input/output port occupancy of process, the EMS memory occupation amount of process, the description of the module of process, network gulp down The corresponding occupancy level of the amount of spitting, process.
Optionally, the first resource occupied information that above-mentioned acquisition module 301 obtains is occupied according to the CPU of browser process The EMS memory occupation amount of rate and/or browser process is calculated;
The Secondary resource occupied information that above-mentioned acquisition module 301 obtains is calculated according at least to such as the next item down information: clear Look at computer system where device current operation process CPU usage, EMS memory occupation amount, input/output port occupancy, net Network handling capacity.
Optionally, for browser process, preset resource occupies the Rule of judgment of optimal setting are as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if exceeded First threshold, it is determined that browser process meets preset resource and occupies optimal setting, wherein for the value mode of first threshold It is referred to the description in above-mentioned steps S106 to the specific value mode of first threshold, details are not described herein.
Optionally, for the current operation process of computer system where browser, preset resource occupies optimal setting packet Include the first optimal setting and the second optimal setting;
The Rule of judgment of first optimal setting includes following one or more:
Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system surpasses where judging browser Preset second threshold out, if exceeding second threshold, it is determined that the current operation process of computer system is full where browser The first optimal setting of foot, wherein the above-mentioned specific value side to first threshold is referred to for the value mode of second threshold The description of formula, details are not described herein;
Whether the current operation process of computer system appears in the fortune on foreground where judging browser according to progress information In traveling journey, if do not appeared in the operation process on foreground, it is determined that the current operation of computer system where browser Process meets the first optimal setting, wherein the operation process on foreground includes the process shown on taskbar and shows on window Process;
Whether the current operation process of computer system meets preset black name where judging browser according to progress information Single gauge then, if met, it is determined that the current operation process of computer system where browser meets the first optimal setting;
Whether the current operation process of computer system meets preset operation where judging browser according to progress information Condition, if do not met, it is determined that the current operation process of computer system meets the first optimal setting where browser;
The Rule of judgment of second optimal setting are as follows:
When the current operation process of computer system is unsatisfactory for the first optimal setting where browser, browser institute is judged Whether there is exception in the current operation process of computer system, if there is exception, it is determined that process meets the second optimization and sets It sets, wherein abnormal includes: GDI leakage, window is stuck and CPU card is dead.
Optionally, when the operation process on foreground is the process shown on window, preset resource occupies optimal setting into one Step include: when the frequency of use of the process shown on window is lower than preset value, it is further to judge whether process sets in the window Top, if it is judged that being no, it is determined that process meets preset resource and occupies optimal setting.
Optionally, the optimization processing that optimization processing module 303 is carried out, including at least web page tag subprocess or thread It closes, the browser extension closing of process, the closing of browser plug-in process, the current operation of browser place computer system The closing of process and/or service, memory release, cleaning system rubbish;
Where the object of optimization processing is browser when the current operation process of computer system, optimization processing is also wrapped It includes: CPU priority is set for process to be optimized;And/or process to be optimized is switched from multiple kernels of multi-core CPU Into a kernel.
The embodiment of the invention provides the device that a kind of pair of browser execution optimizes, the device is by obtaining local fortune Capable browser process and non-browser progress information obtains the resource information of process occupancy.Then, the resource information that will be obtained It is presented on interface, user side can be made just intuitively to see the resource occupation of each process, and it is carried out reasonable excellent Change processing.
In the prior art, the script formulation of webpage is bad or the process that runs simultaneously it is excessive caused by resource it is (CPU, interior Deposit) excessively occupy be to lead to the major reason that browser is stuck, slack-off.When facing numerous processes or webpage, Yong Huwu Method carries out more effective speed-raising to browser.Difference with the prior art of the embodiment of the present invention is can to show institute to user Need the occupation condition of Optimization Progress, user can be by carrying out correspondingly optimization processing to these processes, to discharge system Resource, to accelerate the speed of service of browser.
Example IV
The embodiment of the invention also provides a kind of systems realized and optimized to browser execution.Referring to Figure 11, this is System specifically includes browser 400 and optimization program 500.
Wherein, browser 400 includes browser main program module 401 and plug-in unit scheduler module 402.
Optimizing program 500 includes optimization program main program module 501, the function logic module 502 and optimization for optimizing program The expansion module 503 of program.
In system shown in Figure 11, optimize program main program module 501, is configured to interacting and showing for user and browser Part.Function logic module 502, be configured to calculate above-mentioned first resource occupied information and Secondary resource occupied information and with expansion Open up the communication of module 503.Expansion module 503 is configured to obtain browser process information and closes browser process.
In order to introduce the relationship between the browser in above-mentioned Figure 11 and optimization program, the embodiment of the invention also provides figures 12, for showing this optimization program starting pinciple figure.As shown in figure 12, when browser starts, while starting browser master Program module 401 and optimization program main program module 501, after optimization program main program module 501 starts, startup function logic Module 502 and expansion module 503.Wherein, when browser is installed, come with optimization program installation, in addition, plug-in unit into Journey module 402 is to be pre-installed in the module of browser.
In the following, herein in connection with Figure 13 explanation when optimizing processing to process, the working principle diagram of above-mentioned optimization program.
As shown in figure 13, after optimizing program when the user clicks, default active line is started by optimization program main program module 501 Journey simultaneously loads function logic module 502.
Function logic module 502, the method for being configured to S102 through the above steps obtain the browser process of browser side Information, and it is carried out first resource occupied information is calculated.Function logic module 502, is additionally configured to through the above steps The method of S104 obtains the browser process information of non-browser side, and carries out that Secondary resource occupied information is calculated to it.
Above-mentioned browser process information includes at least one of following progress information: web page tag subprocess or thread Information, the information of browser plug-in process, the information of browser extension process.
Optionally, it includes following specific that function logic module 502, which obtains the mode of the browser process information of browser side, Process:
Optimize program main program module 501 and sends the request for obtaining first resource occupied information to function logic module 502.
Function logic module 502 sends the request for obtaining browser process information to plug-in unit scheduler module 402.
Plug-in unit scheduler module 402 communicate with expansion module 503 by browser main program module 401 obtains browser Progress information.
Plug-in unit scheduler module 402 returns to browser process information to function logic module 502.
First resource occupied information is calculated according to browser process information in function logic module 502.
Optimize program main program module 501, be configured to obtain function logic module 502 meet preset resource occupy it is excellent The progress information for changing setting and/or its resource occupation information loaded and displayed are specifically referred to above-mentioned steps in browser side The description of S108, details are not described herein.
Expansion module 503 is configured to that the process for needing to optimize processing that program main program module 501 is shown will be optimized Carry out corresponding optimization processing.
The embodiment of the invention provides the system that a kind of pair of browser execution optimizes, the system is by obtaining local fortune Capable browser process and non-browser progress information obtains the resource information of process occupancy.Then, the resource information that will be obtained It is presented on interface, user side can be made just intuitively to see the resource occupation of each process, and it is carried out reasonable excellent Change processing.
In the prior art, the script formulation of webpage is bad or the process that runs simultaneously it is excessive caused by resource it is (CPU, interior Deposit) excessively occupy be to lead to the major reason that browser is stuck, slack-off.When facing numerous processes or webpage, Yong Huwu Method carries out more effective speed-raising to browser.Difference with the prior art of the embodiment of the present invention is can to show institute to user Need the occupation condition of Optimization Progress, user can be by carrying out correspondingly optimization processing to these processes, to discharge system Resource, to accelerate the speed of service of browser.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) according to an embodiment of the present invention optimize browser execution to realize The some or all functions of some or all components in device.The present invention is also implemented as being retouched here for executing The some or all device or device programs (for example, computer program and computer program product) for the method stated. It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or with it is any its He provides form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The method that the present inventor's embodiment discloses A1, a kind of pair of browser execution optimizes, comprising: obtain browser The browser process information and its first resource occupied information of side;Computer system where obtaining browser by browser interface Current operation progress information and its Secondary resource occupied information;By meter where acquired browser process information and browser Meet in the current operation progress information of calculation machine system preset resource occupy optimal setting at least part progress information and/or Its resource occupation information loaded and displayed is in browser side;According to the optimization instruction that user is triggered, at least the one of the display Partial Process carries out process optimization processing.A2, method according to a1, which is characterized in that in the acquisition browser side Before browser process information and its first resource occupied information, further includes: the default work of starting browser side optimization program Thread, wherein the default worker thread is suitable for obtaining the browser process information of browser side and first resource occupies letter Breath, and it is suitable for obtaining the current operation progress information and its Secondary resource occupied information of browser place computer system.A3, The method according to A2, which is characterized in that the browser process information for obtaining browser side and first resource occupy letter The step of breath includes: that the browser side optimizes program to the default worker thread transmission acquisition first resource occupied information Request;The default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;Institute It states preset plug-in process and is communicated by the browser main program with the expansion module row of the browser side Optimization Progress sequence and obtained Take the browser process information;The preset plug-in process returns to the browser process letter to the default worker thread Breath;First resource occupied information is calculated according to the browser process information in the default worker thread.A4, according to A2 institute The method stated, which is characterized in that the current operation process that browser place computer system is obtained by browser interface The step of information and its Secondary resource occupied information includes: that the default worker thread passes through browser interface acquisition browser institute In the current operation progress information and its Secondary resource occupied information of computer system.A5, the method according to A2, feature It is, before the default worker thread of the starting browser side optimization program, further includes: the browser starting, wherein Browser main program is included at least when the browser starts and the browser optimizes program.A6, according to any institute of A1 to A5 The method stated, which is characterized in that the browser process information includes at least: the information of web page tag subprocess or thread, clear Look at device plug-in unit process information, browser extension process information.A7, the method according to A6, which is characterized in that work as browsing When device progress information is the information of web page tag subprocess or thread, the browser process information includes at least one in following : label or thread identity number, label or thread title, label or thread address, label or thread icon, label or line The message of browser subprocess where journey, the central processor CPU occupancy of label or thread, label or thread memory account for Dosage, label or the corresponding occupancy level of thread;When browser process information is the information of plug-in unit process, the browsing Device progress information include at least it is following in one: plug-in unit process icon, plug-in unit process title, plug-in unit process bandwidth occupancy, Fast packet scheduling FPS value, the CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, plug-in unit process of plug-in unit process Corresponding occupancy level;When browser process information is the information of extension process, the browser process information is at least Including one in following: extension process icon, extension process title, the bandwidth occupancy for extending process, the FPS for extending process Value, the CPU usage of extension process, the EMS memory occupation amount for extending process, the extension corresponding occupancy level of process.A8, root According to the described in any item methods of A1 to A7, which is characterized in that the current operation process letter of computer system where the browser Breath include at least it is following in one: the CPU usage of process, the input/output port occupancy of process, process memory account for Dosage, the description of the module of process, network throughput, the corresponding occupancy level of process.A9, the method according to A8, It is characterized in that, the first resource occupied information is the memory of the CPU usage according to browser process and/or browser process Occupancy is calculated;The Secondary resource occupied information is calculated according at least to such as the next item down information: meter where browser CPU usage, EMS memory occupation amount, the input/output port occupancy, network throughput of the current operation process of calculation machine system. A10, according to the described in any item methods of A1 to A9, which is characterized in that for browser process, the preset resource occupies optimization The Rule of judgment of setting are as follows: judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold Value, if exceeding the first threshold, it is determined that the browser process meets the preset resource and occupies optimal setting.A11, According to the described in any item methods of A1 to A10, which is characterized in that for computer system where browser currently run into Journey, it includes the first optimal setting and the second optimal setting that the preset resource, which occupies optimal setting,;The judgement of first optimal setting Condition includes following one or more: the Secondary resource of the current operation process of computer system occupies letter where judging browser Whether the numerical value of breath exceeds preset second threshold, if exceeding the second threshold, it is determined that calculate where the browser The current operation process of machine system meets first optimal setting;Computer system where judging browser according to progress information Current operation process whether appear in the operation process on foreground, if do not appeared in the operation process on the foreground, The current operation process of computer system meets first optimal setting where then determining the browser, wherein before described The operation process of platform includes the process shown on taskbar and the process that shows on window;Browser institute is judged according to progress information Whether meet preset blacklist rule in the current operation process of computer system, if met, it is determined that the browser The current operation process of place computer system meets first optimal setting;Meter where judging browser according to progress information Whether the current operation process of calculation machine system meets preset service condition, if do not met, it is determined where the browser The current operation process of computer system meets first optimal setting;The Rule of judgment of second optimal setting are as follows: work as browsing When the current operation process of computer system is unsatisfactory for first optimal setting where device, department of computer science where browser is judged Whether the current operation process of system there is exception, if there is exception, it is determined that and the process meets second optimal setting, Wherein, the exception includes: graphic interface equipment GDI leakage, window is stuck and CPU card is dead.A12, the side according to A11 Method, which is characterized in that when the operation process on the foreground is the process shown on window, the preset resource occupies optimization and sets It sets further include: when the frequency of use of the process shown on the window is lower than preset value, further judge the process in window In mouthful whether top set, if it is judged that be no, it is determined that the process meets preset resource occupancy optimal setting.A13, According to the described in any item methods of A6 to A12, which is characterized in that the optimization processing, include at least web page tag subprocess or Computer system works as where the closing of thread, browser extend the closing of process, the closing of browser plug-in process, browser The closing of preceding operation process and/or service, memory release, cleaning system rubbish;Where the object of optimization processing is browser When the current operation process of computer system, the optimization processing further include: CPU priority is set for process to be optimized;With/ Or, process to be optimized is switched in a kernel from multiple kernels of multi-core CPU.B14, a kind of pair of browser execution into The device of row optimization, comprising: obtain module, be configured to obtain the browser process information of browser side and its first resource occupies Information;The acquisition module, be additionally configured to by browser interface obtain browser where computer system currently run into Journey information and its Secondary resource occupied information;Loaded and displayed module is configured to acquired browser process information and browsing Meet at least part process that preset resource occupies optimal setting where device in the current operation progress information of computer system Information and/or its resource occupation information loaded and displayed are in browser side;Optimization processing module is configured to what foundation user was triggered Optimization instruction carries out process optimization processing at least part process of the display.B15, device according to b14, It is characterized in that, further includes: starting module is configured to the default worker thread of starting browser side optimization program, wherein described pre- If worker thread is suitable for obtaining the browser process information and first resource occupied information of browser side, and is suitable for obtaining clear Look at the current operation progress information and its Secondary resource occupied information of computer system where device.B16, the dress according to B15 Set, which is characterized in that the acquisition module be additionally configured to obtain as follows the browser process information of browser side and its First resource occupied information: the browser side optimizes program and sends acquisition first resource occupancy letter to the default worker thread The request of breath;The default worker thread sends to the preset plug-in process of browser side and obtains asking for browser process information It asks;The preset plug-in process is logical by the browser main program and the expansion module row of the browser side Optimization Progress sequence Letter obtains the browser process information;The preset plug-in process returns to the browser process to the default worker thread Information;First resource occupied information is calculated according to the browser process information in the default worker thread.B17, basis Device described in B15, which is characterized in that the acquisition module is additionally configured to department of computer science where obtaining browser as follows The current operation progress information and its Secondary resource occupied information of system: the default worker thread is obtained clear by browser interface Look at the current operation progress information and its Secondary resource occupied information of computer system where device.B18, the dress according to B15 It sets, which is characterized in that further include: starting module is configured to start the browser, wherein the browser at least wraps when starting Include browser main program and browser optimization program.B19, according to the described in any item devices of B14 to B18, feature exists In described to obtain the browser process information that module obtains and include at least: the information of web page tag subprocess or thread, clear Look at device plug-in unit process information, browser extension process information.B20, the device according to B19, which is characterized in that when clear When device progress information of looking at is the information of web page tag subprocess or thread, the browser process information is included at least in following One: label or thread identity number, label or thread title, label or thread address, label or thread icon, label or The message of browser subprocess where thread, the central processor CPU occupancy of label or thread, label or thread memory Occupancy, label or the corresponding occupancy level of thread;It is described clear when browser process information is the information of plug-in unit process Device progress information of looking at includes at least one in following: plug-in unit process icon, plug-in unit process title, the bandwidth of plug-in unit process account for With fast packet scheduling FPS value, the CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, plug-in unit of, plug-in unit process The corresponding occupancy level of process;When browser process information is the information of extension process, the browser process information Including at least one in following: extension process icon, extension process title, the bandwidth occupancy for extending process, extension process FPS value, the CPU usage for extending process, the EMS memory occupation amount for extending process, the extension corresponding occupancy level of process. B21, according to the described in any item devices of claim B14 to B20, which is characterized in that computer system where the browser Current operation progress information include at least one in following: the CPU usage of process, process input/output port occupy Amount, the EMS memory occupation amount of process, the description of the module of process, network throughput, the corresponding occupancy level of process.B22, basis Device described in B21, which is characterized in that it is described obtain module obtain the first resource occupied information be according to browser into The CPU usage of journey and/or the EMS memory occupation amount of browser process are calculated;Second money for obtaining module and obtaining Source occupied information is calculated according at least to such as the next item down information: the current operation process of computer system where browser CPU usage, EMS memory occupation amount, input/output port occupancy, network throughput.B23, according to B14 to any one of B22 Device, which is characterized in that for browser process, the preset resource occupies the Rule of judgment of optimal setting are as follows: judges clear Whether the numerical value of first resource occupied information of device process look at exceeds preset first threshold, if exceeding the first threshold, Then determine that the browser process meets the preset resource and occupies optimal setting.It is B24, described in any item according to B14 to B23 Device, which is characterized in that for the current operation process of computer system where browser, the preset resource occupies optimization and sets It sets including the first optimal setting and the second optimal setting;The Rule of judgment of first optimal setting includes following one or more: being sentenced Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system where disconnected browser exceeds preset the Two threshold values, if exceeding the second threshold, it is determined that the current operation process of computer system meets where the browser First optimal setting;Whether the current operation process of computer system appears in where judging browser according to progress information In the operation process on foreground, if do not appeared in the operation process on the foreground, it is determined that calculated where the browser The current operation process of machine system meets first optimal setting, wherein the operation process on the foreground includes on taskbar The process shown in the process and window of display;According to progress information judge computer system where browser currently run into Whether journey meets preset blacklist rule, if met, it is determined that the current operation of computer system where the browser Process meets first optimal setting;The current operation process of computer system is where judging browser according to progress information It is no to meet preset service condition, if do not met, it is determined that the current operation process of computer system where the browser Meet first optimal setting;The Rule of judgment of second optimal setting are as follows: the current fortune of computer system where browser When traveling journey is unsatisfactory for first optimal setting, whether the current operation process of computer system occurs where judging browser It is abnormal, if there is exception, it is determined that the process meets second optimal setting, wherein the exception includes: that figure connects Jaws equipment GDI leakage, window is stuck and CPU card is dead.B25, the device according to B24, which is characterized in that when the foreground When operation process is the process shown on window, the preset resource occupies optimal setting further include: shows when on the window Process frequency of use be lower than preset value when, further judge the process in the window whether top set, if it is judged that It is no, it is determined that the process meets the preset resource and occupies optimal setting.It is B26, described in any item according to B19 to B25 Device, which is characterized in that the optimization processing that the optimization processing module is carried out, include at least web page tag subprocess or Computer system works as where the closing of thread, browser extend the closing of process, the closing of browser plug-in process, browser The closing of preceding operation process and/or service, memory release, cleaning system rubbish;Where the object of optimization processing is browser When the current operation process of computer system, the optimization processing further include: CPU priority is set for process to be optimized;With/ Or, process to be optimized is switched in a kernel from multiple kernels of multi-core CPU.

Claims (26)

1. the method that a kind of pair of browser execution optimizes, comprising:
In response to the click of user, the browser process information and its first resource occupied information of browser side are obtained;
The current operation progress information and its Secondary resource of computer system where obtaining browser by browser interface occupy Information;
It is pre- by meeting in the current operation progress information of computer system where acquired browser process information and browser At least part progress information for setting resource occupation optimal setting and/or its resource occupation information loaded and displayed are in browser side;
According to the optimization instruction that user is triggered, process optimization processing is carried out at least part process of the display.
2. the method according to claim 1, wherein it is described obtain browser side browser process information and Before its first resource occupied information, further includes:
Start the default worker thread of browser side optimization program, wherein the default worker thread is suitable for obtaining browser The browser process information and first resource occupied information of side, and it is suitable for obtaining the current fortune of browser place computer system Row progress information and its Secondary resource occupied information.
3. according to the method described in claim 2, it is characterized in that, the browser process information for obtaining browser side and the The step of one resource occupation information includes:
The browser side optimizes program and sends the request for obtaining first resource occupied information to the default worker thread;
The default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;
The preset plug-in process is communicated by browser main program with the expansion module that the browser side optimizes program Obtain the browser process information;
The preset plug-in process returns to the browser process information to the default worker thread;
First resource occupied information is calculated according to the browser process information in the default worker thread.
4. according to the method described in claim 2, it is characterized in that, described obtain the calculating of browser place by browser interface The step of current operation progress information and its Secondary resource occupied information of machine system includes:
The current operation progress information of computer system where the default worker thread obtains browser by browser interface And its Secondary resource occupied information.
5. according to the method described in claim 2, it is characterized in that, optimizing the default work of program in the starting browser side Before thread, further includes:
The browser starting, wherein including at least browser main program and the browser side optimization when browser starts Program.
6. method according to any one of claims 1 to 5, which is characterized in that the browser process information includes at least: The information of web page tag subprocess or thread, the information of browser plug-in process, the information of browser extension process.
7. according to the method described in claim 6, it is characterized in that, when browser process information is web page tag subprocess or line When the information of journey, the browser process information includes at least one in following:
Label or thread identity number, label or thread title, label or thread address, label or thread icon, label or The message of browser subprocess where thread, the central processor CPU occupancy of label or thread, label or thread memory Occupancy, label or the corresponding occupancy level of thread;
When browser process information is the information of plug-in unit process, the browser process information includes at least one in following :
Plug-in unit process icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, plug-in unit process fast packet scheduling FPS value, The CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, the corresponding occupancy level of plug-in unit process;
When browser process information is the information of extension process, the browser process information includes at least one in following :
Extension process icon, the bandwidth occupancy for extending process, the FPS value for extending process, extends process at extension process title CPU usage, the EMS memory occupation amount for extending process, the extension corresponding occupancy level of process.
8. method according to any one of claims 1 to 5, which is characterized in that computer system where the browser Current operation progress information includes at least one in following: the CPU usage of process, the input/output port of process occupy Amount, the EMS memory occupation amount of process, the description of the module of process, network throughput, the corresponding occupancy level of process.
9. according to the method described in claim 8, it is characterized in that, the first resource occupied information is according to browser process CPU usage and/or the EMS memory occupation amount of browser process be calculated;
The Secondary resource occupied information is calculated according at least to such as the next item down information: computer system works as where browser CPU usage, EMS memory occupation amount, the input/output port occupancy, network throughput of preceding operation process.
10. according to the method described in claim 9, it is characterized in that, the preset resource occupies optimization for browser process The Rule of judgment of setting are as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if beyond described First threshold, it is determined that the browser process meets the preset resource and occupies optimal setting.
11. according to the method described in claim 10, it is characterized in that, current operation for computer system where browser Process, it includes the first optimal setting and the second optimal setting that the preset resource, which occupies optimal setting,;
The Rule of judgment of first optimal setting includes following one or more:
Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system exceeds pre- where judging browser If second threshold, if exceeding the second threshold, it is determined that computer system where the browser currently run into Journey meets first optimal setting;
According to progress information judge computer system where browser current operation process whether appear in the operation on foreground into Cheng Zhong, if do not appeared in the operation process on the foreground, it is determined that computer system is current where the browser Operation process meets first optimal setting, wherein the operation process on the foreground include the process that is shown on taskbar and The process shown on window;
Whether the current operation process of computer system where judging browser according to progress information meets preset blacklist rule Then, if met, it is determined that the current operation process of computer system meets first optimal setting where the browser;
Whether the current operation process of computer system meets preset service condition where judging browser according to progress information, If do not met, it is determined that the current operation process of computer system meets first optimal setting where the browser;
The Rule of judgment of second optimal setting are as follows:
When the current operation process of computer system is unsatisfactory for first optimal setting where browser, browser institute is judged Whether there is exception in the current operation process of computer system, if there is exception, it is determined that the process meets described Two optimal settings, wherein the exception includes: graphic interface equipment GDI leakage, window is stuck and CPU card is dead.
12. according to the method for claim 11, which is characterized in that when the operation process on the foreground is to show on window When process, the preset resource occupies optimal setting further include: when the frequency of use of the process shown on the window is lower than pre- If when value, further judge the process in the window whether top set, if it is judged that be no, it is determined that process satisfaction The preset resource occupies optimal setting.
13. according to the method for claim 12, which is characterized in that the optimization processing, include at least web page tag into The closing of journey or thread, the browser extension closing of process, the closing of browser plug-in process, browser place computer system Current operation process and/or service closing, memory release, cleaning system rubbish;
Where the object of optimization processing is browser when the current operation process of computer system, the optimization processing is also wrapped It includes: CPU priority is set for process to be optimized;And/or process to be optimized is switched from multiple kernels of multi-core CPU Into a kernel.
14. the device that a kind of pair of browser execution optimizes, comprising:
Module is obtained, the click in response to user is configured to, obtains the browser process information and its first resource of browser side Occupied information;
The acquisition module is additionally configured to the current operation process of computer system where obtaining browser by browser interface Information and its Secondary resource occupied information;
Loaded and displayed module is configured to the current fortune of computer system where acquired browser process information and browser At least part progress information and/or its resource occupation information for meeting preset resource occupancy optimal setting in row progress information add Load is shown in browser side;
Optimization processing module is configured to the optimization triggered according to user instruction, at least part process of the display into Traveling journey optimization processing.
15. device according to claim 14, which is characterized in that further include:
Starting module is configured to the default worker thread of starting browser side optimization program, wherein the default worker thread is suitable For obtaining the browser process information and first resource occupied information of browser side, and it is suitable for obtaining calculating where browser The current operation progress information and its Secondary resource occupied information of machine system.
16. device according to claim 15, which is characterized in that the acquisition module is additionally configured to obtain as follows The browser process information and its first resource occupied information of browser side:
The browser side optimizes program and sends the request for obtaining first resource occupied information to the default worker thread;
The default worker thread sends the request for obtaining browser process information to the preset plug-in process of browser side;
The preset plug-in process is communicated by browser main program with the expansion module that the browser side optimizes program Obtain the browser process information;
The preset plug-in process returns to the browser process information to the default worker thread;
First resource occupied information is calculated according to the browser process information in the default worker thread.
17. device according to claim 15, which is characterized in that the acquisition module is additionally configured to obtain as follows The current operation progress information and its Secondary resource occupied information of computer system where browser:
The current operation progress information of computer system where the default worker thread obtains browser by browser interface And its Secondary resource occupied information.
18. device according to claim 15, which is characterized in that further include:
Starting module is configured to start the browser, wherein the browser start when include at least browser main program and The browser side optimizes program.
19. 4 to 18 described in any item devices according to claim 1, which is characterized in that described to obtain the described clear of module acquisition Device progress information of looking at includes at least: the information of web page tag subprocess or thread, the information of browser plug-in process, browser expand The information of exhibition process.
20. device according to claim 19, which is characterized in that when browser process information be web page tag subprocess or When the information of thread, the browser process information includes at least one in following:
Label or thread identity number, label or thread title, label or thread address, label or thread icon, label or The message of browser subprocess where thread, the central processor CPU occupancy of label or thread, label or thread memory Occupancy, label or the corresponding occupancy level of thread;
When browser process information is the information of plug-in unit process, the browser process information includes at least one in following :
Plug-in unit process icon, plug-in unit process title, the bandwidth occupancy of plug-in unit process, plug-in unit process fast packet scheduling FPS value, The CPU usage of plug-in unit process, the EMS memory occupation amount of plug-in unit process, the corresponding occupancy level of plug-in unit process;
When browser process information is the information of extension process, the browser process information includes at least one in following :
Extension process icon, the bandwidth occupancy for extending process, the FPS value for extending process, extends process at extension process title CPU usage, the EMS memory occupation amount for extending process, the extension corresponding occupancy level of process.
21. 4 to 18 described in any item devices according to claim 1, which is characterized in that computer system where the browser Current operation progress information include at least one in following: the CPU usage of process, process input/output port occupy Amount, the EMS memory occupation amount of process, the description of the module of process, network throughput, the corresponding occupancy level of process.
22. device according to claim 21, which is characterized in that the first resource occupancy for obtaining module and obtaining Information is calculated according to the CPU usage of browser process and/or the EMS memory occupation amount of browser process;
The Secondary resource occupied information for obtaining module acquisition is calculated according at least to such as the next item down information: browser CPU usage, EMS memory occupation amount, input/output port occupancy, the network of the current operation process of place computer system gulp down The amount of spitting.
23. device according to claim 22, which is characterized in that for browser process, the preset resource occupies excellent Change the Rule of judgment of setting are as follows:
Judge whether the numerical value of the first resource occupied information of browser process exceeds preset first threshold, if beyond described First threshold, it is determined that the browser process meets the preset resource and occupies optimal setting.
24. device according to claim 23, which is characterized in that the current operation for computer system where browser Process, it includes the first optimal setting and the second optimal setting that the preset resource, which occupies optimal setting,;
The Rule of judgment of first optimal setting includes following one or more:
Whether the numerical value of the Secondary resource occupied information of the current operation process of computer system exceeds pre- where judging browser If second threshold, if exceeding the second threshold, it is determined that computer system where the browser currently run into Journey meets first optimal setting;
According to progress information judge computer system where browser current operation process whether appear in the operation on foreground into Cheng Zhong, if do not appeared in the operation process on the foreground, it is determined that computer system is current where the browser Operation process meets first optimal setting, wherein the operation process on the foreground include the process that is shown on taskbar and The process shown on window;
Whether the current operation process of computer system where judging browser according to progress information meets preset blacklist rule Then, if met, it is determined that the current operation process of computer system meets first optimal setting where the browser;
Whether the current operation process of computer system meets preset service condition where judging browser according to progress information, If do not met, it is determined that the current operation process of computer system meets first optimal setting where the browser;
The Rule of judgment of second optimal setting are as follows:
When the current operation process of computer system is unsatisfactory for first optimal setting where browser, browser institute is judged Whether there is exception in the current operation process of computer system, if there is exception, it is determined that the process meets described Two optimal settings, wherein the exception includes: graphic interface equipment GDI leakage, window is stuck and CPU card is dead.
25. device according to claim 24, which is characterized in that when the operation process on the foreground is to show on window When process, the preset resource occupies optimal setting further include: when the frequency of use of the process shown on the window is lower than pre- If when value, further judge the process in the window whether top set, if it is judged that be no, it is determined that process satisfaction The preset resource occupies optimal setting.
26. device according to claim 25, which is characterized in that at the optimization that the optimization processing module is carried out Reason extends the pass of the closing of process, browser plug-in process including at least the closing of web page tag subprocess or thread, browser It closes, the closing of the current operation process of computer system and/or service, memory release, cleaning system rubbish where browser;
Where the object of optimization processing is browser when the current operation process of computer system, the optimization processing is also wrapped It includes: CPU priority is set for process to be optimized;And/or process to be optimized is switched from multiple kernels of multi-core CPU Into a kernel.
CN201610476328.XA 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized Expired - Fee Related CN106096030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610476328.XA CN106096030B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310144296.XA CN103226486B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized
CN201610476328.XA CN106096030B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310144296.XA Division CN103226486B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized

Publications (2)

Publication Number Publication Date
CN106096030A CN106096030A (en) 2016-11-09
CN106096030B true CN106096030B (en) 2019-10-15

Family

ID=48836948

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201310144296.XA Active CN103226486B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized
CN201610476328.XA Expired - Fee Related CN106096030B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201310144296.XA Active CN103226486B (en) 2013-04-23 2013-04-23 The method and apparatus that browser execution is optimized

Country Status (3)

Country Link
US (1) US10067790B2 (en)
CN (2) CN103226486B (en)
WO (1) WO2014173194A1 (en)

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226486B (en) * 2013-04-23 2016-08-10 北京奇虎科技有限公司 The method and apparatus that browser execution is optimized
CN104699530B (en) * 2013-12-04 2018-12-11 腾讯科技(深圳)有限公司 A kind of course control method, device and intelligent terminal
CN106095866B (en) * 2013-12-16 2019-07-30 百度在线网络技术(北京)有限公司 The optimization method and device of application program recommended method, program starting speed
CN103870275B (en) * 2014-03-17 2017-09-01 珠海市君天电子科技有限公司 Information processing method and device
CN103984743B (en) * 2014-05-23 2018-03-09 北京猎豹网络科技有限公司 A kind of method and device of managing internal memory resource
CN104111847B (en) * 2014-06-26 2017-12-12 北京奇虎科技有限公司 A kind of method and device for improving game running speed
CN104063247B (en) * 2014-06-26 2018-07-06 北京奇虎科技有限公司 The call method and system of a kind of application program
CN104063246B (en) * 2014-06-26 2017-07-28 北京奇虎科技有限公司 A kind of method and device of loading tool bar
CN104239102B (en) * 2014-09-15 2016-08-24 腾讯科技(深圳)有限公司 application program operation method and device
CN104407924B (en) * 2014-10-31 2017-11-21 小米科技有限责任公司 Memory Optimize Method and device
US9678868B2 (en) 2014-10-31 2017-06-13 Xiaomi Inc. Method and device for optimizing memory
CN104298790A (en) * 2014-11-11 2015-01-21 北京奇虎科技有限公司 Browser accelerating method and browser device with accelerator
CN105740072B (en) * 2014-12-10 2020-12-04 中兴通讯股份有限公司 Method and device for displaying system resources
CN104572950A (en) * 2014-12-30 2015-04-29 乐视致新电子科技(天津)有限公司 Memory release method for browser client and browser client
CN106909329B (en) * 2015-12-23 2020-02-21 北京奇虎科技有限公司 Method for accelerating browser rendering and browser
CN113157439B (en) * 2016-03-29 2024-03-01 华为技术有限公司 Resource statistics method, device and terminal
CN106021072A (en) * 2016-05-05 2016-10-12 北京小米移动软件有限公司 Information display method and device
CN106557349A (en) * 2016-11-29 2017-04-05 珠海市魅族科技有限公司 A kind of application control method and device of mobile terminal
CN108415762A (en) * 2017-02-10 2018-08-17 凯欧斯科技(香港)有限公司 The application management method and mobile device of mobile device
CN107832147A (en) * 2017-10-30 2018-03-23 努比亚技术有限公司 A kind of browser execution method of adjustment, terminal and computer-readable recording medium
CN110445632B (en) * 2018-05-04 2023-09-01 北京京东尚科信息技术有限公司 Method and device for preventing client from crashing
KR102658819B1 (en) * 2018-06-15 2024-04-19 삼성전자주식회사 Resource caching method and electronic device supporting the same
CN109240776A (en) * 2018-07-20 2019-01-18 上海斐讯数据通信技术有限公司 A kind of duplicate method for closing of webpage and system
CN109245996B (en) * 2018-09-18 2023-04-07 平安科技(深圳)有限公司 Mail pushing method and device, computer equipment and storage medium
CN111352710B (en) * 2018-12-24 2024-02-06 三六零科技集团有限公司 Process management method and device, computing equipment and storage medium
CN109857655B (en) * 2019-01-17 2022-07-01 珠海金山网络游戏科技有限公司 Method and system for detecting dynamic performance of art resources
CN109939437B (en) * 2019-03-18 2022-10-25 北京智明星通科技股份有限公司 Game program operation optimization method and device
CN112100017B (en) * 2019-06-17 2023-07-21 腾讯科技(深圳)有限公司 Memory resource monitoring method and device
CN110780996B (en) * 2019-09-27 2022-07-08 广州视源电子科技股份有限公司 Process optimization method and device, storage medium and computer equipment
CN110837420B (en) * 2019-11-12 2022-11-15 Oppo广东移动通信有限公司 Resource scheduling method, device, terminal and storage medium
CN112114947B (en) * 2020-09-17 2024-02-02 石家庄科林电气股份有限公司 System resource scheduling method based on edge computing gateway
CN112231339A (en) * 2020-09-29 2021-01-15 成都深思科技有限公司 Global recording and inquiring method for seven-tuple of network communication
CN113507646B (en) * 2021-07-01 2023-07-18 Vidaa(荷兰)国际控股有限公司 Display equipment and browser multi-label page media resource playing method
CN114356551A (en) * 2021-12-10 2022-04-15 珠海全志科技股份有限公司 Method and device for optimizing process resources of computer system
CN114911390B (en) * 2022-07-17 2022-11-22 荣耀终端有限公司 Display method and electronic equipment
CN115982486B (en) * 2022-12-28 2023-09-19 北京海泰方圆科技股份有限公司 Method and device for optimizing memory
CN116501162B (en) * 2023-04-23 2023-11-24 深圳中柏科技有限公司 Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405362B1 (en) * 1998-11-13 2002-06-11 Microsoft Corporation Automatic software installation and cleanup
US7636918B2 (en) * 2004-04-14 2009-12-22 International Business Machines Corporation Method and system for tracking memory usage by software agents
US8051166B1 (en) * 2008-09-29 2011-11-01 Amazon Technologies, Inc. Service provider optimization of content management
CN102436457A (en) * 2011-02-18 2012-05-02 奇智软件(北京)有限公司 Method and equipment for distributing progresses of browser
CN102663059A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and system for automatically cleaning redundant items in computer terminal
WO2012160384A1 (en) * 2011-05-26 2012-11-29 Realvnc Ltd Method and system for remote controlling mobile phones
CN102968335A (en) * 2012-10-25 2013-03-13 东莞宇龙通信科技有限公司 Terminal and terminal memory management method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5781703A (en) * 1996-09-06 1998-07-14 Candle Distributed Solutions, Inc. Intelligent remote agent for computer performance monitoring
US20040267548A1 (en) * 2003-06-25 2004-12-30 Jones James O. Workload profiling in computers
CN101582051B (en) * 2009-06-10 2011-01-19 腾讯科技(深圳)有限公司 Method and device for adjusting memory
US8620879B2 (en) * 2009-10-13 2013-12-31 Google Inc. Cloud based file storage service
US9098333B1 (en) * 2010-05-07 2015-08-04 Ziften Technologies, Inc. Monitoring computer process resource usage
EP2390758A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
CN102073545B (en) 2011-02-28 2013-02-13 中国人民解放军国防科学技术大学 Process scheduling method and device for preventing screen jam of user interface in operating system
US9384073B2 (en) * 2012-03-01 2016-07-05 Google Inc. Cross-extension messaging using a browser as an intermediary
US9286120B2 (en) * 2012-06-08 2016-03-15 Apple Inc. Resource management with dynamic resource budgeting
CN103226486B (en) * 2013-04-23 2016-08-10 北京奇虎科技有限公司 The method and apparatus that browser execution is optimized

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405362B1 (en) * 1998-11-13 2002-06-11 Microsoft Corporation Automatic software installation and cleanup
US7636918B2 (en) * 2004-04-14 2009-12-22 International Business Machines Corporation Method and system for tracking memory usage by software agents
US8051166B1 (en) * 2008-09-29 2011-11-01 Amazon Technologies, Inc. Service provider optimization of content management
CN102436457A (en) * 2011-02-18 2012-05-02 奇智软件(北京)有限公司 Method and equipment for distributing progresses of browser
WO2012160384A1 (en) * 2011-05-26 2012-11-29 Realvnc Ltd Method and system for remote controlling mobile phones
CN102663059A (en) * 2012-03-30 2012-09-12 奇智软件(北京)有限公司 Method and system for automatically cleaning redundant items in computer terminal
CN102968335A (en) * 2012-10-25 2013-03-13 东莞宇龙通信科技有限公司 Terminal and terminal memory management method

Also Published As

Publication number Publication date
CN103226486A (en) 2013-07-31
US20160077876A1 (en) 2016-03-17
CN103226486B (en) 2016-08-10
US10067790B2 (en) 2018-09-04
CN106096030A (en) 2016-11-09
WO2014173194A1 (en) 2014-10-30

Similar Documents

Publication Publication Date Title
CN106096030B (en) The method and apparatus that browser execution is optimized
CN106775699B (en) Method and system for updating UI in asynchronous thread
CN104714846B (en) Method for processing resource, operating system and equipment
US9274832B2 (en) Method and electronic device for thread scheduling
AU2014311463B2 (en) Virtual machine monitor configured to support latency sensitive virtual machines
RU2530345C2 (en) Scheduler instances in process
US20170277654A1 (en) Method and apparatus for task scheduling on heterogeneous multi-core reconfigurable computing platform
CN108804211A (en) Thread scheduling method, device, electronic equipment and storage medium
WO2014161431A2 (en) System optimization method and device
CN108804483A (en) Rendering intent, server and the computer readable storage medium of the cell page
CN104111847B (en) A kind of method and device for improving game running speed
CN103729188B (en) The development approach of android system application program, operation method, running gear
CN107463627A (en) A kind of picture loading method and terminal
CN106502778A (en) A kind of terminal and its process scheduling optimization method
EP3500932A1 (en) Middleware interface and middleware interface generator
CN108038009B (en) Front-end and back-end interaction method and device based on Web application and computer equipment
CN109918203A (en) Access server memory management optimization method, access server and communication system
CN105868420A (en) Network resource loading mode configuration method and device
CN109117203A (en) A kind of Android APP starting velocity optimization method and system
CN113835887B (en) Video memory allocation method and device, electronic equipment and readable storage medium
US7096475B2 (en) Runlets as application execution units
CN115686805A (en) GPU resource sharing method and device, and GPU resource sharing scheduling method and device
CN110064198A (en) Processing method and processing device, storage medium and the electronic device of resource
US20070256032A1 (en) Presenting identifiers and states of processes in a stacked cursor
CN103530180B (en) Method and device for switching storage space of application programs

Legal Events

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

Effective date of registration: 20220801

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191015

CF01 Termination of patent right due to non-payment of annual fee