CN104375896B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104375896B
CN104375896B CN201310359485.9A CN201310359485A CN104375896B CN 104375896 B CN104375896 B CN 104375896B CN 201310359485 A CN201310359485 A CN 201310359485A CN 104375896 B CN104375896 B CN 104375896B
Authority
CN
China
Prior art keywords
electronic equipment
preset condition
running state
judging result
longtime running
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.)
Active
Application number
CN201310359485.9A
Other languages
Chinese (zh)
Other versions
CN104375896A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310359485.9A priority Critical patent/CN104375896B/en
Publication of CN104375896A publication Critical patent/CN104375896A/en
Application granted granted Critical
Publication of CN104375896B publication Critical patent/CN104375896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of information processing method and electronic equipments to generate the first judging result this method comprises: whether the first process in detection electronic equipment meets the preset condition for being set as longtime running state;When the first judging result shows that the first process meets preset condition, longtime running state is set by the first running state of a process.In this way, important process can be identified from multiple processes, and longtime running state is set by important running state of a process, the response time for starting the corresponding important application program of important process can be shortened, improves user experience.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing methods and electronic equipment.
Background technique
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over Come more, people have also enjoyed the various conveniences of development in science and technology bring.Present people can be set by various types of electronics It is standby, it enjoys as development in science and technology bring is comfortably lived.For example, user is set by electronics such as notebook plate computer, smart phones It is standby, can watch movie, listen to music, play game etc., and be widely applied due to the advantage of its own intrinsic portability.
In the prior art, the operation of all application programs is all the property of memory in carrying out in memory in electronic equipment Can influence to electronic equipment it is very big, memory for temporarily storing the operational data in CPU, and with the external storages such as hard disk The data of device exchange.During as long as electronic equipment is in operating status, CPU the data for needing operation will be loaded into memory into Row operation, CPU again sends out result after the completion of operation, and the operation of memory also determines the stable operation of electronic equipment. In general, in electronic equipment the memory capacity of memory be it is constant, the data that can store are also constant.
During electronic equipment successively starts the first application program and the second application program, when electronic equipment is by first Application program and the second application program are loaded onto after memory, and the first application program and the second application program respectively correspond in memory The first process and the second process.Electronic equipment is managed process by queue, because the first application program first starts, institute With the first process close to team's head of queue, and because the second application program after start, the second process followed by first into Journey, tail of the queue of second process close to queue.
When electronic equipment restarts third application program, after third application program is loaded onto electronic equipment, the The corresponding third process of three application programs closely follows the second process, tail of the queue of the third process close to queue.
When the number of applications started in electronic equipment is more, since the memory capacity of memory is constant, queue It is specific as follows for the management of process: the process of team's head being subjected to delete operation, is deposited to vacate memory for the process that newly starts Store up space.Assuming that being merely able to accommodate three processes in electronic equipment, when electronic equipment starts four application programs, queue is to the One process executes delete operation, and is inserted into corresponding 4th process of the 4th application program in tail of the queue.
When electronic equipment is again started up the first application program, queue executes delete operation to the second process, so that queue In from process of team's head into tail of the queue successively are as follows: third process, the 4th process, the first process.
Present inventor during realizing the embodiment of the present application technical solution, at least hair exist in the prior art as Lower technical problem:
Before electronic equipment is again started up the first application program, because queue is to the first application program pair started for the first time The first process answered has carried out delete operation, and electronic equipment needs to apply to first during starting the first application program Program re-starts load, when the first application program is the application program that user often needs to use, as long as user beats again Other applications are opened, the first process will be performed delete operation, when user needs to reuse the first application program, electricity Sub- equipment needs are frequently performed load operation, and load operation will expend the time, so that the response time of the first application program prolongs It is long, poor user experience.That is, electronic equipment, which exists in the prior art, can not identify important process, and can not by it is important into Journey resides in the technical issues of memory.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, solves electronics existing in the prior art Equipment can not identify important process, and the technical issues of important process is resided in memory.
On the one hand the embodiment of the present application provides a kind of information processing method, be applied to an electronic equipment, the method packet Include: whether the first process in the electronic equipment that detects meets the preset condition for being set as longtime running state, generates the One judging result;When first judging result shows that first process meets the preset condition, by described first into The operating status of journey is set as the longtime running state.
Optionally, whether the first process in the detection electronic equipment, which meets, is set as the one of longtime running state Preset condition, specifically: obtain the running frequency of first process;Judge the running frequency whether more than a default operation Frequency.
Optionally, it is described set the longtime running state for first running state of a process after, it is described Method further include: increase the first identifier information for meeting the preset condition in first process.
Optionally, whether the first process in the detection electronic equipment, which meets, is set as the one of longtime running state Preset condition, specifically: judge whether first process has and demonstrates the need for being arranged first process as the long-term fortune The second identifier information of row state.
Optionally, when first judging result shows that first process does not meet the preset condition, the side Method further include: the operating status of first process is set to off closed state.
Optionally, when first judging result shows that first process does not meet the preset condition, the side Method further include: after a preset time, the operating status of first process is set to off closed state.
Optionally, when first judging result shows that first process does not meet the preset condition, the side Method further include: first process is placed into the first position of process queue to be cleaned, the first position is will be first Position where the process first removed.
On the other hand, one embodiment of the application also provides a kind of electronic equipment, and the electronic equipment includes: detection unit, Whether the first process for detecting in the electronic equipment meets the preset condition for being set as longtime running state, generates the One judging result;Control unit, for when first judging result shows that first process meets the preset condition, The longtime running state is set by first running state of a process.
Optionally, the detection unit specifically includes: module is obtained, for obtaining the running frequency of first process; First judgment module, for judging the running frequency whether more than a preset operating frequency.
Optionally, the electronic equipment further include: first processing units meet institute for increasing in first process State the first identifier information of preset condition.
Optionally, the detection unit specifically includes: the second judgment module, for judging whether first process has It demonstrates the need for that the second identifier information that first process is the longtime running state is arranged.
Optionally, the electronic equipment further include: the second processing unit, described in showing when first judging result When first process does not meet the preset condition, the operating status of first process is being set to off closed state.
Optionally, the electronic equipment further include: third processing unit, described in showing when first judging result When first process does not meet the preset condition, after a preset time, the operating status of first process is set It is set to closed state.
Optionally, the electronic equipment further include: fourth processing unit, described in showing when first judging result When first process does not meet the preset condition, first process is placed into the first position of process queue to be cleaned, institute Stating first position is the position where the process that will be removed first.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
It detects whether the first process in the electronic equipment meets the preset condition for being set as longtime running state, generates First judging result;When first judging result shows that first process meets the preset condition, by described first Running state of a process is set as the longtime running state.Because passing through inspection after electronic equipment starts the first application program Survey whether corresponding first process of the first application program meets the preset condition for being set as longtime running state, it can be from electronics Important process is filtered out in multiple processes of equipment operation, so solving existing in the prior art can not identify important process The problem of, and because setting longtime running state for the first running state of a process after identifying important process, so Solves the technical issues of important process can not being resided in memory existing in the prior art, by the embodiment of the present application Method can identify important process from multiple processes, and set longtime running state for important running state of a process, The response time of starting important application program can be shortened, improve user experience.
Further, it is possible to which whether the first process for detecting in the electronic equipment in several ways, which meets, is set as long-term One preset condition of operating status, such as: the first detection mode: obtaining the running frequency of first process, described in judgement Second of detection mode: whether running frequency judges whether first process has and shows to need more than a preset operating frequency The second identifier information that first process is the longtime running state is set, the mode for identifying important process is enabled to Diversification meets the use demand of different user group, expands the scope of application.
Further, due to it is described by first running state of a process be set as the longtime running state it Afterwards, the method also includes: increase in first process and meet the first identifier information of the preset condition.Namely It says, if detecting the first running state of a process for after longtime running state, increase meets pre- in first process If the first identifier information of condition can further increase system treatment effeciency so that electronic equipment need not repeat to identify.
Further, whether the first process in the detection electronic equipment, which meets, is set as longtime running state A preset condition after, the method also includes: when to show that first process is not met described for first judging result When preset condition, the operating status of first process is set to off closed state.That is, if detecting first When process is insignificant process such as spam application program, the use state of the first process is directly set to off closed state, example If the queue in electronic equipment executes delete operation to the first process, the first process is discharged from memory, can be improved system Performance.
Also further, longtime running is set as since whether the first process in the detection electronic equipment meets After one preset condition of state, the method also includes: when first judging result shows that first process is not met When the preset condition, after a preset time, the operating status of first process is set to off closed state.? That is if when detecting that the first process is secondary important process such as tool-class application program, after the preset lime, example Such as: in the customized defined runing time of user or after the normal use time, setting the use state of the first process to Closed state can remove time important process from memory automatically, can automatic arranging memory headroom, improve system performance.
Detailed description of the invention
Fig. 1 is the flow chart of information processing method provided in an embodiment of the present invention;
Fig. 2 a is schematic diagram of first process of load provided in an embodiment of the present invention to memory;
Fig. 2 b is the schematic diagram provided in an embodiment of the present invention that the first process is set to off to closed state;
Fig. 2 c is showing for the first position provided in an embodiment of the present invention that the first process is placed into process queue to be cleaned It is intended to;
Fig. 2 d is the schematic diagram provided in an embodiment of the present invention for removing the first process in process queue to be cleaned;
Fig. 3 is the architecture diagram of the electronic equipment provided in the embodiment of the present invention.
Specific embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, solves electronics existing in the prior art Equipment can not identify important process, and the technical issues of important process is resided in memory.
The technical solution of one embodiment of the invention is to solve the problem above-mentioned, and general thought is as follows:
Whether the first process meets the preset condition for being set as longtime running state in detection electronic equipment, generates first Judging result;When the first judging result shows that the first process meets preset condition, set the first running state of a process to Longtime running state.Because after electronic equipment starts the first application program, by detecting the first application program corresponding first Whether process meets the preset condition for being set as longtime running state, can screen from multiple processes that electronic equipment is run Important process out, thus solve the problems, such as it is existing in the prior art can not identify important process, and because when identify weight After wanting process, longtime running state is set by the first running state of a process, so solving existing in the prior art The technical issues of important process can not being resided in memory, can be known by the method in the embodiment of the present application from multiple processes Not Chu important process, and set longtime running state for important running state of a process, starting important application journey can be shortened The response time of sequence improves user experience.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
The present embodiment provides a kind of information processing methods, are applied to an electronic equipment.In a particular application, electronic equipment can Think bench device such as integral computer, or computer may be reversed in folding equipment such as laptop, may be used also Think mobile device such as tablet computer, smart phone, just no longer illustrates one by one herein.
Fig. 1 is turned next to, information processing method in the embodiment of the present invention is described in detail.
Step 101: whether the first process in detection electronic equipment meets the default item for being set as longtime running state Part generates the first judging result;
Step 102: when the first judging result shows that the first process meets preset condition, by the first running state of a process It is set as longtime running state.
It, below will be using electronic equipment as intelligence in order to become apparent from the realization process for illustrating the embodiment of the present application information processing method For energy mobile phone, it is assumed that the memory headroom of smart phone can allow for user while run three application programs, these three applications Program is denoted as the first application program, the second application program, third application program respectively, wherein the first application program is important answers Use program.In the following, will be copy editor's software, the second application program using the first application program as drawing tool, third application journey Sequence is browser, for important application program is copy editor's software, and combines and illustrates that attached drawing is illustrated and implement to the application The process of information processing method is explained in detail in example.
As shown in Figure 2 a, when smart phone starts, user is first turned on copy editor's software, correspondingly, electronic equipment Copy editor's software is loaded to memory, so that copy editor's process 21 is added in the queue of memory.The embodiment of the present application, it is assumed that important Application program is copy editor's software, then important process is copy editor's process 21.
During electronic equipment loads copy editor's software, at this moment, begin to execute step 101: detection electronics is set Whether the first process in standby meets the preset condition for being set as longtime running state, generates the first judging result.
Please also refer to Fig. 1 and Fig. 2 a below, step 101 in the specific implementation process, such as: load text in smart phone After word software for editing, whether the corresponding copy editor's process 21 of detection unit detection copy editor's software in smart phone is accorded with The preset condition for being set as longtime running state is closed, the first judging result is generated.
In order to make the mode diversification for identifying important process, meets the use demand of different user group, expand The scope of application, step 101 can be divided into following two situation in the specific implementation process, but be not limited to two kinds of situations, ability Technical staff belonging to domain can select other suitable modes according to the actual situation, to meet the needs of actual conditions.
The first situation: step 101 includes: the running frequency for first process that obtains in the specific implementation process, judges to transport Whether line frequency is more than a preset operating frequency.
In the specific implementation process, such as: assuming that smart phone will count in 25 days before current time, to text The frequency of use of editor's process 21 counts, and can obtain below table data:
Process Access times Running frequency
Copy editor's process 21 20 80%
Assuming that when preset operating frequency is 70%, because the running frequency of copy editor's process 21 is 80%, and running frequency 80% is greater than preset operating frequency 70%, so smart phone, which generates one, can show that copy editor's process 21 meets preset condition First judging result.
In the present embodiment, the first judging result shows that the one the first processes meet the preset condition, it is possible to enter Step 102, it may be assumed that set longtime running state for the first running state of a process.
After detecting that the first running state of a process is longtime running state, increases in the first process and meet default item The first identifier information of part, so that electronic equipment need not repeat to identify, so as to further increase system performance, in step Information processing method, which further comprises the steps of: to increase in the first process, after rapid 102, in the embodiment of the present application meets preset condition First identifier information.
In the specific implementation process, such as: after step 102, further comprise the steps of: and increase in copy editor's process 21 For indicating that copy editor's process 21 meets the first identifier information of preset condition, so that when user is according to chronological order During starting drawing tool process 22, browser process 23 and news process 24, only need to successively to drawing tool process 22, Browser process 23 and news process 24 are detected, detection drawing tool process 22, browser process 23 and news process 24 Whether the preset condition that is set as longtime running state is met, without repeating to the copy editor's process 21 for meeting preset condition It is detected, can be improved the system performance of smart phone.
Second situation: step 101 includes: to judge whether the first process has to demonstrate the need for setting in the specific implementation process Set the second identifier information that the first process is longtime running state.
Continue to continue to use an embodiment, in the specific implementation process, such as: assuming that user is artificially by copy editor's software It is set as important application program, smart phone is added in copy editor's software for showing that copy editor's software is important application First specific identifier of program, during copy editor's software is loaded onto memory by smart phone, smart phone is based on should First specific identifier generates second identifier information, and second identifier information is added to copy editor's process 21.It should be noted that It is that second identifier information in the latter case and the first identifier information in the case of the first can be identical mark and believes Breath, is also possible to different identification information, this is not restricted.
When smart phone detects in copy editor's process 21 comprising second identifier information, smart phone generates one can Show that copy editor's process 21 meets the first judging result of preset condition.
In practical applications, whether it includes second identifier information that smart phone can detecte in the first process, to judge Whether the first process meets preset condition, and whether do not include second identifier information, to judge if also can detecte in the first process Whether the first process meets preset condition.
For example, set include in process second identifier information process of the process to be unsatisfactory for preset condition, then intelligence When mobile phone includes second identifier information in detecting the first process, it will be able to judge that the first process is unsatisfactory for preset condition, And when not including second identifier information in the first process, it will be able to judge that the first process meets preset condition, herein just not It repeats again.
Above-mentioned part describes in a step 101 respectively, generates two kinds of specific implementations of the first judging result, connects down Come, when the first judging result shows that the first process meets preset condition, begins to execute step 102: by the fortune of the first process Row state is set as longtime running state, such as: because the first judging result shows that copy editor's process 21 meets preset condition, The operating status of copy editor's process 21 is set longtime running state by smart phone.
In the specific implementation process, longtime running state is set by the first running state of a process, can be first Process be set as can not clearsanattribute, perhaps by the first process be placed on always process queue to be cleaned end position or First process is removed into process queue to be cleaned, such first process will not just be removed always, so as in long-term fortune Row state, without because the memory size of electronic equipment is not enough disposed of.
It of courses, if the process in electronic equipment memory is all the process of longtime running state, and memory size is It is impossible to meet the requirements of the application program newly loaded, at this moment priority can be arranged for all processes in longtime running state Not, if there is the application program newly loaded, Partial Process therein can be removed by priority level above-mentioned, herein just no longer It repeats.
Above-mentioned introduction by the first running state of a process sets long-term when the first process meets preset condition The situation of operating status will be introduced when the first process does not meet preset condition, to the first process in the following section Disposition.
When the first process does not meet preset condition, the first process can be handled by following three kinds of modes, Certainly, the three kinds of modes introduced are intended merely to illustrate, introduction through this embodiment, and technical staff belonging to this field can According to the actual situation, other suitable modes are selected to handle the first process for not meeting preset condition, to meet actual conditions It needs, details are not described herein again.
First way: the first running state of a process is set to off closed state.
Specifically, please continue to refer to Fig. 2 b, such as: copy editor's process is had been running in current smart phone memory 21, drawing tool process 22, while browser process 23 will be run, in the present embodiment, with copy editor's process 21 with it is clear Look at device process 23 operating status be longtime running state, the operating status of drawing tool process 22 is that non-longtime running state is Example, when the memory of smart phone runs browser process 23 namely smart phone currently opens a browser, uses Family interface also by the corresponding changing interface of drawing tool process 22 be the corresponding interface of browser process 23, at this moment drawing tool into The corresponding application program of journey 22 is transferred to running background, simultaneously because the operating status of drawing tool process 22 is non-longtime running State, so directly the operating status of drawing tool process 22 can be set to off in closed state, such as electronic equipment at this time Process queue to be cleaned in depositing executes delete operation to drawing tool process 22, by the occupied space of drawing tool process 22 It does not rerun drawing tool process 22 in the memory of release namely smart phone, the memory to smart phone can be reduced in this way It occupies, to improve system performance.
The second way: after a preset time, the first running state of a process is set to off closed state.
The principle of the second way and the principle of first way are almost the same, and detailed process please refers in first way Introduction, details are not described herein.
The places different from first way are, please continue to refer to Fig. 2 b, open a browser in smart phone Afterwards, the memory of smart phone runs browser process 23, and the corresponding application program of drawing tool process 22 switchs to running background, this When the operating status of drawing tool process 22 is not instead of directly set to off closed state, after a preset time, such as 3 Minute, 5 minutes or 30 minutes etc., the first running state of a process with no restrictions, is just set off shape by specific length State.
If can be seen that user within the preset time by above-mentioned part, it is again turned on drawing tool process 22 Corresponding application program is enable to respond quickly beating for user because drawing tool process 22 is not off at this time Operation is opened, to reduce the time for reloading drawing tool process 22, so as to give the more good user's body of user It tests, if user is not again turned on the corresponding application program of drawing tool process 22 within the preset time, shows to draw Tool processes 22 do not need longtime running in the memory of smart phone, be set to closed state can between to smart phone EMS memory occupation, then improve system performance.
The third mode: first process is placed into the first position of process queue to be cleaned, the first position Position where the process that will be removed first.
Specifically, Fig. 2 c is please referred to, as shown in Figure 2 c, copy editor's process is had been running in the memory of smart phone 21 with drawing tool process 22, while browser process 23 will be run, the operating status with copy editor's process 21 is long-term Operating status, the operating status of drawing tool process 22 is for non-longtime running state, one are browsed in smart phone opening When running browser process 23 in the memory of device namely smart phone, drawing tool process 22 is corresponding at this time applies journey Sequence switchs to running background, since the operating status of drawing tool process 22 is non-longtime running state, then can will draw at this time The position of tool processes 22 moves on to the first position of process queue to be cleaned in memory, which is to be removed first Process where position.
Shown in Fig. 2 d, three processes can only be run by setting in smart phone memory, then opens one " news " in smart phone When application program, news process 24 can be correspondingly run in smart phone memory, at this moment due to drawing tool process 22 be located to The first position for removing process queue, so before running news process 24 drawing tool process 22 can be disposed, first to release Release enough memory headrooms operation news process 22, and copy editor's process 21 is not disposed of at this time, user again Open the corresponding application program of copy editor's process 22 after, user's opening operation can be quickly responded, directly according to text into Journey 22 provides the user with corresponding user interface, to reduce copy editor's process 22 due to can not be identified as important process After disposing, the time it takes when needing to reload, so as to give user with good user experience.
Based on the same inventive concept, another embodiment of the present invention provides a kind of electronic equipment, for realizing Fig. 1 and its specifically The method of information processing in embodiment, referring to FIG. 3, Fig. 3 is the architecture diagram of the present embodiment electronic equipment.
As shown in figure 3, a kind of electronic equipment provided in this embodiment, electronic equipment includes: detection unit 301, for examining Whether the first process surveyed in electronic equipment meets the preset condition for being set as longtime running state, generates the first judgement knot Fruit;Control unit 302, for when the first judging result shows that the first process meets preset condition, by the operation of the first process State is set as longtime running state.
Optionally, detection unit 301 specifically includes: module is obtained, for obtaining the running frequency of the first process;First sentences Disconnected module, for judging running frequency whether more than a preset operating frequency.
Optionally, electronic equipment further include: first processing units meet preset condition for increasing in the first process First identifier information.
Optionally, detection unit 301 specifically includes: the second judgment module, shows for judging whether the first process has Need to be arranged the second identifier information that the first process is longtime running state.
Optionally, electronic equipment further include: the second processing unit, for showing that the first process is not inconsistent when the first judging result When closing preset condition, the first running state of a process is being set to off closed state.
Optionally, electronic equipment further include: third processing unit, for showing that the first process is not inconsistent when the first judging result When closing preset condition, after a preset time, the first running state of a process is set to off closed state.
Optionally, electronic equipment further include: fourth processing unit, for showing that the first process is not inconsistent when the first judging result When closing preset condition, the first process is placed into the first position of process queue to be cleaned, first position is will be by clear first Position where the process removed.
In practical applications, electronic equipment further includes a circuit board, for will test unit 301, control unit 302, One processing unit, the second processing unit, third processing unit and/or fourth processing unit setting are on circuit boards.
Various change mode and specific example in method in previous embodiment are equally applicable to the electronics of the present embodiment Equipment, by the aforementioned detailed description to information processing method, those skilled in the art are clear that in the present embodiment The implementation method of electronic equipment, so this will not be detailed here in order to illustrate the succinct of book.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
It detects whether the first process in the electronic equipment meets the preset condition for being set as longtime running state, generates First judging result;When first judging result shows that first process meets the preset condition, by described first Running state of a process is set as the longtime running state.Because passing through inspection after electronic equipment starts the first application program Survey whether corresponding first process of the first application program meets the preset condition for being set as longtime running state, it can be from electronics Important process is filtered out in multiple processes of equipment operation, so solving existing in the prior art can not identify important process The problem of, and because setting longtime running state for the first running state of a process after identifying important process, so Solves the technical issues of important process can not being resided in memory existing in the prior art, by the embodiment of the present application Method can identify important process from multiple processes, and set longtime running state for important running state of a process, The response time of starting important application program can be shortened, improve user experience.
Further, it is possible to which whether the first process for detecting in the electronic equipment in several ways, which meets, is set as long-term One preset condition of operating status, such as: the first detection mode: obtaining the running frequency of first process, described in judgement Second of detection mode: whether running frequency judges whether first process has and shows to need more than a preset operating frequency The second identifier information that first process is the longtime running state is set, the mode for identifying important process is enabled to Diversification meets the use demand of different user group, expands the scope of application.
Further, due to it is described by first running state of a process be set as the longtime running state it Afterwards, the method also includes: increase in first process and meet the first identifier information of the preset condition.Namely It says, if detecting the first running state of a process for after longtime running state, increase meets pre- in first process If the first identifier information of condition can further increase system performance so that electronic equipment need not repeat to identify.
Further, whether the first process in the detection electronic equipment, which meets, is set as longtime running state A preset condition after, the method also includes: when to show that first process is not met described for first judging result When preset condition, the operating status of first process is set to off closed state.That is, if detecting first When process is insignificant process such as spam application program, the use state of the first process is directly set to off closed state, example If the queue in electronic equipment executes delete operation to the first process, the first process is discharged from memory, can be improved system Performance.
Also further, longtime running is set as since whether the first process in the detection electronic equipment meets After one preset condition of state, the method also includes: when first judging result shows that first process is not met When the preset condition, after a preset time, the operating status of first process is set to off closed state.? That is if when detecting that the first process is secondary important process such as tool-class application program, after the preset lime, example Such as: in the customized defined runing time of user or after the normal use time, setting the use state of the first process to Closed state can remove time important process in Insufficient memory from memory automatically, being capable of automatic arranging memory sky Between, improve system performance.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of information processing method is applied to an electronic equipment, which is characterized in that the described method includes:
Electronic equipment load the first application program during, detect in the electronic equipment with first application program Whether corresponding first process meets the preset condition for being set as longtime running state, generates the first judging result;
When first judging result shows that first process meets the preset condition, by the operation of first process State is set as the longtime running state;
When first judging result shows that first process does not meet the preset condition, the method also includes:
First process is placed into the first position of process queue to be cleaned, the first position is to be removed first Process where position.
2. the method as described in claim 1, which is characterized in that whether the first process in the detection electronic equipment accords with The preset condition for being set as longtime running state is closed, specifically:
Obtain the running frequency of first process;
Judge the running frequency whether more than a preset operating frequency.
3. method according to claim 2, which is characterized in that set institute for first running state of a process described After stating longtime running state, the method also includes:
Increase the first identifier information for meeting the preset condition in first process.
4. the method as described in claim 1, which is characterized in that whether the first process in the detection electronic equipment accords with The preset condition for being set as longtime running state is closed, specifically:
Judge whether first process has and demonstrates the need for being arranged first process as the second of the longtime running state Identification information.
5. the method as described in claim 1, which is characterized in that show that first process is not inconsistent in first judging result When closing the preset condition, the method also includes:
The operating status of first process is set to off closed state.
6. the method as described in claim 1, which is characterized in that show that first process is not inconsistent in first judging result When closing the preset condition, the method also includes:
After a preset time, the operating status of first process is set to off closed state.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Detection unit, for electronic equipment load the first application program during, detect in the electronic equipment with institute It states whether corresponding first process of the first application program meets the preset condition for being set as longtime running state, generates first and sentence Disconnected result;
Control unit will be described for when first judging result shows that first process meets the preset condition First running state of a process is set as the longtime running state;The electronic equipment further include:
Fourth processing unit, for when first judging result shows that first process does not meet the preset condition, First process is placed into the first position of process queue to be cleaned, the first position be will be removed first into Position where journey.
8. electronic equipment as claimed in claim 7, which is characterized in that the detection unit specifically includes:
Module is obtained, for obtaining the running frequency of first process;
First judgment module, for judging the running frequency whether more than a preset operating frequency.
9. electronic equipment as claimed in claim 8, which is characterized in that the electronic equipment further include:
First processing units, for increasing the first identifier information for meeting the preset condition in first process.
10. electronic equipment as claimed in claim 7, which is characterized in that the detection unit specifically includes:
Second judgment module demonstrates the need for being arranged first process for judging whether first process has as the length The second identifier information of phase operating status.
11. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further include:
The second processing unit, for when first judging result shows that first process does not meet the preset condition, The operating status of first process is being set to off closed state.
12. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further include:
Third processing unit, for when first judging result shows that first process does not meet the preset condition, After a preset time, the operating status of first process is set to off closed state.
CN201310359485.9A 2013-08-16 2013-08-16 A kind of information processing method and electronic equipment Active CN104375896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310359485.9A CN104375896B (en) 2013-08-16 2013-08-16 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310359485.9A CN104375896B (en) 2013-08-16 2013-08-16 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104375896A CN104375896A (en) 2015-02-25
CN104375896B true CN104375896B (en) 2019-09-06

Family

ID=52554832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310359485.9A Active CN104375896B (en) 2013-08-16 2013-08-16 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104375896B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204926B (en) * 2015-09-02 2020-06-02 Tcl移动通信科技(宁波)有限公司 Mobile terminal and multi-background program operation control method and system thereof
CN105550035A (en) * 2015-12-04 2016-05-04 小米科技有限责任公司 Background process control method and device
CN108228339B (en) * 2017-07-28 2021-08-13 珠海市魅族科技有限公司 Memory recovery method and device, terminal equipment and computer readable storage medium
CN110968435A (en) * 2018-09-30 2020-04-07 杭州海康威视数字技术股份有限公司 Multi-language scheduling method and device and embedded equipment
CN114579200A (en) * 2022-02-28 2022-06-03 联想(北京)有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
EP2400387B1 (en) * 2010-06-25 2013-03-13 AVG Netherlands B.V. Method for improving the performance of computers
CN102968335A (en) * 2012-10-25 2013-03-13 东莞宇龙通信科技有限公司 Terminal and terminal memory management method
CN103164229A (en) * 2013-04-08 2013-06-19 北京奇虎科技有限公司 Method and device for clearing progresses of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2400387B1 (en) * 2010-06-25 2013-03-13 AVG Netherlands B.V. Method for improving the performance of computers
CN102521041A (en) * 2011-12-14 2012-06-27 华为终端有限公司 Method for processing application program and wireless handheld device
CN102968335A (en) * 2012-10-25 2013-03-13 东莞宇龙通信科技有限公司 Terminal and terminal memory management method
CN103164229A (en) * 2013-04-08 2013-06-19 北京奇虎科技有限公司 Method and device for clearing progresses of mobile terminal

Also Published As

Publication number Publication date
CN104375896A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104375896B (en) A kind of information processing method and electronic equipment
CN103430151B (en) A kind of resource allocation method and device
CN103294530B (en) A kind of terminal device application management method and terminal device
CN104765466B (en) The key control method and device of mobile terminal
CN109542758B (en) Method and device for testing fault tolerance of application program and computer readable storage medium
US10048986B2 (en) Method and device for allocating browser processes according to a selected browser process mode
CN109582385A (en) Application program launching method and device, storage medium and electronic equipment
CN108242837A (en) The method of the charging of electronic equipment and control electronics
CN104598107A (en) Generating method and system of interface control
CN104932963B (en) The method and device of management terminal
CN103927230A (en) Memory usage feedback method and device
CN106095413B (en) A kind of configuration method and device of bluetooth driver
CN103516557A (en) Method and system for testing
CN106055358A (en) Game mode setting method and device
CN107450709B (en) Application processing method, device, storage medium and electronic equipment
TW201232400A (en) Method for pre-loading frequently launched application and electronic device using the same
CN106250182A (en) File processing method and device and electronic equipment
CN107590144A (en) A kind of file memory method and terminal
CN103543901B (en) The method and apparatus generating menu
CN105511876B (en) A kind of processing method and processing device of pushed information
CN104969183B (en) The system of the parallel work-flow of software module for the task between multiple parallel processing threads, method and apparatus
CN107133065A (en) A kind of method and device for opening software function
CN109840210A (en) A kind of test method, device and electronic equipment
CN104252353A (en) Control method and device for page voice in browser
CN103902324B (en) System start method and electronic equipment

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