CN106951327A - Detection method and mobile terminal of a kind of application program to systematic influence - Google Patents

Detection method and mobile terminal of a kind of application program to systematic influence Download PDF

Info

Publication number
CN106951327A
CN106951327A CN201710177610.2A CN201710177610A CN106951327A CN 106951327 A CN106951327 A CN 106951327A CN 201710177610 A CN201710177610 A CN 201710177610A CN 106951327 A CN106951327 A CN 106951327A
Authority
CN
China
Prior art keywords
interface
resource information
information
mobile terminal
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710177610.2A
Other languages
Chinese (zh)
Other versions
CN106951327B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710177610.2A priority Critical patent/CN106951327B/en
Publication of CN106951327A publication Critical patent/CN106951327A/en
Application granted granted Critical
Publication of CN106951327B publication Critical patent/CN106951327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides detection method and mobile terminal of a kind of application program to systematic influence, and this method includes:Whether the foreground application interface of monitoring mobile terminal changes;If whether the foreground application interface changes, obtain the first resource information of the corresponding parameter preset of target interface, and the corresponding parameter preset of each background application Secondary resource information;Influence value of each background application to target interface, the resource information that total resources information provides for each parameter preset of mobile terminal correspondence are calculated according to first resource information, Secondary resource information and total resources information.By the first resource information for recording the corresponding parameter preset of target interface, so as to when target interface is called, influence of each background application to system can be determined according to first resource information, it is achieved that the detection of influence of each background application to system.

Description

Detection method and mobile terminal of a kind of application program to systematic influence
Technical field
The present invention relates to communication technical field, more particularly to detection method and movement of a kind of application program to systematic influence Terminal.
Background technology
With the development of mobile terminal, it can install in the terminal and run multiple application programs, which part should With program in front stage operation, certain applications program is in running background.But existing mobile terminal typically can all be run much simultaneously Application program, and when there are many background applications, the behavior of some applications is possible to impact system smoothness, makes Mobile terminal front stage operation program may be often occur some accidental Caton phenomena.Therefore, realize that detection is each Influence of the background application to system, the problem of becoming urgent need to resolve.
The content of the invention
The embodiment of the present invention provides detection method and mobile terminal of a kind of application program to systematic influence, to solve detection The problem of influence of the background application to mobile terminal system.
In a first aspect, the embodiments of the invention provide a kind of detection method of application program to systematic influence, including:
Whether the foreground application interface of monitoring mobile terminal changes;
If whether the foreground application interface changes, the first money of the corresponding parameter preset of target interface is obtained Source information, and the corresponding parameter preset of each background application Secondary resource information, the target interface is holds The interface that Application Program Interface after row renewal is called;
Each background application journey is calculated according to the first resource information, Secondary resource information and total resources information The influence value of target interface described in ordered pair, the total resources information provides for each parameter preset of mobile terminal correspondence Resource information.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, it is characterised in that including:
Whether monitoring modular, the foreground application interface for monitoring mobile terminal changes;
Acquisition module, if whether being changed for the foreground application interface, obtains target interface corresponding pre- The first resource information of setting parameter, and the corresponding parameter preset of each background application Secondary resource information, institute State the interface that the Application Program Interface after target interface is updated by execution is called;
Computing module, described in being calculated according to the first resource information, Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.
So, in the embodiment of the present invention, whether the foreground application interface of monitoring mobile terminal changes;
If whether the foreground application interface changes, the first money of the corresponding parameter preset of target interface is obtained Source information, and the corresponding parameter preset of each background application Secondary resource information, the target interface is holds The interface that Application Program Interface after row renewal is called;According to the first resource information, Secondary resource information and total money Source information calculates influence value of each background application to the target interface, and the total resources information is the movement Terminal-pair answers the resource information that each parameter preset is provided.By the first money for recording the corresponding parameter preset of target interface Source information, so as to when target interface is called, can be determined each background application to system according to first resource information Influence, it is achieved that the detection of influence of each background application to system.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to needed for embodiment of the present invention description The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is flow chart of the application program that provides of first embodiment of the invention to the detection method of systematic influence;
Fig. 2 is the application program of second embodiment of the invention offer to one of flow chart of detection method of systematic influence;
Fig. 3 is the application program that provides of second embodiment of the invention to the two of the flow chart of the detection method of systematic influence;
Fig. 4 is the application program that provides of second embodiment of the invention to the three of the flow chart of the detection method of systematic influence;
Fig. 5 is one of structure chart of mobile terminal that third embodiment of the invention is provided;
Fig. 6 is the two of the structure chart for the mobile terminal that third embodiment of the invention is provided;
Fig. 7 is the structure chart of computing module in the mobile terminal that third embodiment of the invention is provided;
Fig. 8 is the three of the structure chart for the mobile terminal that third embodiment of the invention is provided;
Fig. 9 is the structure chart for the mobile terminal that fourth embodiment of the invention is provided;
Figure 10 is the structure chart for the mobile terminal that fourth embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
First embodiment
Referring to Fig. 1, Fig. 1 is flow chart of the application program provided in an embodiment of the present invention to the detection method of systematic influence, As shown in figure 1, comprising the following steps:
Step 101, whether the foreground application interface of monitoring mobile terminal changes.
The present embodiment provide application program the detection method of systematic influence is mainly used in mobile terminal, for pair The application behavior of the background application of the operation of mobile terminal is monitored, so as to realize the optimization of systematic function.
Specifically, in the present embodiment, having carried out real-time detection to foreground application interface, having judged foreground application circle Whether face changes, if foreground application interface changes;Then the influence to background application is calculated, if preceding Platform Application Program Interface does not change (i.e. foreground application interface leave unused motionless state), then the activity of background program is simultaneously The operation of system is not influenceed, i.e., do not influence the operation at foreground application interface.
Wherein, when user carries out opening application, interface switching and enters the operation such as line slip, foreground application interface is equal It can change;At the same time, when application program receives animation and the display message such as shows, foreground application interface also will hair Changing.
Step 102, if whether the foreground application interface changes, the corresponding parameter preset of target interface is obtained First resource information, and the corresponding parameter preset of each background application Secondary resource information, the target The interface that interface is called by the Application Program Interface after execution renewal.
In the step, if whether the foreground application interface changes, it will re-call new interface, with Foreground application interface after loading renewal, so as to realize the renewal at foreground application interface.Above-mentioned target interface is corresponding The first resource information of parameter preset is the resource information counted in advance, in the terminal, can be according to each interface correspondence History service condition count the first resource information of interface, and predeterminated position is stored in, follow-up in use, can be according to connecing The title or mark inquiry first resource information of mouth.Optionally, above-mentioned parameter preset can include synchrolock, central processing unit At least one of in CPU load capacity, memory size and I/O bandwidth.For example, in the present embodiment, above-mentioned first resource packet Include synchrolock use information, CPU load usage amount, internal memory usage amount and I/O bandwidth usage amount.
In the present embodiment, the particular content of above-mentioned parameter preset can be configured according to actual needs, do not do herein into The restriction of one step, specifically, it can also be multinomial that parameter preset, which can be one, in following examples to this progress specifically It is bright.Wherein, each single item parameter preset is to that should have corresponding resource status.
Specifically, mobile terminal can record the Secondary resource letter of each background application correspondence parameter preset Breath, when being changed at foreground application interface, reads the Secondary resource information that record information reads record;Also can be When foreground application interface changes, detection obtains the Secondary resource information of each background application.Optionally, this Two resource informations include synchrolock use information, CPU load usage amount, internal memory usage amount and I/O bandwidth usage amount.
Step 103, according to the first resource information, Secondary resource information and total resources information calculate it is described it is each after Platform application program is to the influence value of the target interface, and the total resources information is that mobile terminal correspondence is each described default The resource information that parameter is provided.
In the step, after first resource information and Secondary resource information is obtained, can according to the first resource information, Secondary resource information and total resources information determine total resources information, determine whether the vacant resource of mobile terminal meets the first money The use of source information, if meet, it is determined that background application on target interface without influence;If it is not satisfied, then determining backstage Application program exists on target interface to be influenceed, so as to calculate influence value of each background application to target interface.This implementation In example, influence value of the background application to target interface can be determined according to each parameter preset correspondence individual event influence coefficient.
Optionally, above-mentioned total resources information include synchrolock resource information that mobile terminal provides, it is CPU load capacity, interior Deposit total size and I/O bandwidth total size.
So, in the embodiment of the present invention, whether the foreground application interface of monitoring mobile terminal changes;If described Whether foreground application interface changes, and obtains the first resource information of the corresponding parameter preset of target interface, and often The Secondary resource information of the corresponding parameter preset of one background application, the target interface is the application after execution renewal The interface that program interface is called;According to being calculated the first resource information, Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.By recording the first resource information of the corresponding parameter preset of target interface, so that When target interface is called, influence of each background application to system can be determined according to first resource information, therefore realize The detection of influence of each background application to system.
Second embodiment
Referring to Fig. 2, in detection method of the application program that second embodiment of the invention is provided to systematic influence, with first The difference of embodiment is, in the present embodiment, and mobile terminal can determine the first resource of the corresponding parameter preset of each interface Information, to improve the accuracy that each background application is judged target interface influence value.As shown in Fig. 2 in above-mentioned steps 101 Before, methods described also includes:
Step 104, after the completion of the corresponding interface interchange in each foreground application interface, record is when the money of time interface interchange Source use information.
In the step, mobile terminal is when the interactive interface interchange of foreground application each time is completed, it will record is when secondary right The resource using information of interface interchange, the resource using information is the corresponding resource using information of above-mentioned parameter preset.
Step 105, the resource using information repeatedly called according to the same interface of historical record, determines the interface correspondence Parameter preset first resource information.
In the step, when secondary resource using information and previous resource using information, obtaining compromise by average and variance needs The amount of asking, and it regard compromise demand as first resource information.In the present embodiment, calculate each pre- by the result repeatedly recorded The first resource information of setting parameter, so as to improve the accuracy of first resource information calculating.
Optionally, reference picture 3, above-mentioned steps 103 include:
Step 1031, to each background application, according to the first resource information, Secondary resource information and total money Source information calculates the corresponding individual event influence coefficient of parameter preset described in each single item.
In the step, each parameter preset can be corresponded to corresponding weighted value is set.The setting means of different weighted values It can be configured according to actual needs, it is not further herein to be limited.
Step 1032, coefficient and the default weighted value of correspondence is influenceed to calculate each background application according to each individual event The influence value to the target interface.
In the present embodiment, it can be believed according to the corresponding first resource information of synchrolock, Secondary resource information and total resources Breath calculates the first individual event influence coefficient of synchrolock;According to the corresponding first resource information of CPU load capacity, Secondary resource information And total resources information calculates the second individual event influence coefficient of synchrolock;According to the corresponding first resource information of memory size, Two resource informations and total resources information calculate the 3rd individual event influence coefficient of synchrolock;According to the corresponding first resource of I/O bandwidth Information, Secondary resource information and total resources information calculate the 4th individual event influence coefficient of synchrolock.Each individual event is obtained calculating Influence after coefficient, be weighted according to corresponding weighted value, finally summed and can obtain background application to mesh The influence value of tag splice mouthful.
, below will be with it is understood that the calculation of different parameter presets corresponding individual event influence coefficient is different It is described in detail exemplified by I/O bandwidth:
For example, total I/O bandwidth of mobile terminal is 100, all applications in backstage have accounted for I/O bandwidth 80 and (wherein account for IO using A In bandwidth 80 20), the I/O bandwidth usage amount of the target interface that current application program interface is called is 40.Now, using A IO The proportion that bandwidth resources are accounted for is 20/80=0.25, this 0.25 be just calculated as using A I/O bandwidth resource individual event influence system Number.And the target interface that the weighted value of I/O bandwidth resource can be called by departure with foreground application interface makes to I/O bandwidth The ratio calculation of consumption is obtained, and (80+40-100)/40=0.5 is may be calculated here.So as to the IO bands in A that are applied Wide resource is 0.25*0.5 to the influence value of target interface;Being determined finally by the summation of all influence values of each parameter preset should With influence values of the A to target interface.
Further, after reference picture 4, above-mentioned steps 103, methods described also includes:
Step 106, according to influence value of each background application to the target interface, it is determined whether limitation phase The operation for the background application answered.
In the step, the size of the influence value of target interface can be ranked up according to background application, on backstage In the case that application program has influence to target interface, the larger top n application program of influence value can be subjected to limitation fortune OK, the application program that influence value can also be more than to preset value carries out limitation operation.Specifically, processing mode can be according to reality Need to be configured, can be with after in the present embodiment, detecting each application program in backstage to the influence value of target interface The running status of background application is limited, therefore can prevent that the misoperations such as interim card from occurring in the loading of foreground application interface Phenomenon, improves the fluency of foreground application interface operation.
3rd embodiment
Referring to Fig. 5, Fig. 5 is the structure chart for the mobile terminal that the present invention implements offer, can realize the first to the second implementation Application program is to the details of the detection method of systematic influence in example, and reaches identical effect.As shown in figure 5, mobile terminal 500 Including monitoring modular 501, acquisition module 502 and computing module 503, wherein:
Whether monitoring modular 501, the foreground application interface for monitoring mobile terminal changes;
Acquisition module 502, if whether being changed for the foreground application interface, obtains target interface corresponding The first resource information of parameter preset, and the corresponding parameter preset of each background application Secondary resource information, The interface that the target interface is called by the Application Program Interface after execution renewal;
Computing module 503, for calculating institute according to the first resource information, Secondary resource information and total resources information Influence value of each background application to the target interface is stated, the total resources information is that mobile terminal correspondence is each The resource information that the parameter preset is provided.
Optionally, reference picture 6, the mobile terminal 500 also includes:
Logging modle 504, after the completion of the corresponding interface interchange in each foreground application interface, record is when time interface The resource using information called;
Determining module 505, for the resource using information repeatedly called according to the same interface of historical record, it is determined that described The first resource information of the corresponding parameter preset of interface.
Optionally, the parameter preset includes synchrolock, the load capacity of central processor CPU, memory size and I/O bandwidth At least one of in.
Optionally, reference picture 7, the computing module 503 includes:
Coefficient calculation unit 5031 is influenceed, for each background application, according to the first resource information, second Resource information and total resources information calculate the corresponding individual event influence coefficient of parameter preset described in each single item;
Influence value computing unit 5032, for influenceing coefficient and the default weighted value of correspondence to calculate every according to each individual event The influence value to the target interface of one background application.
Optionally, reference picture 8, the mobile terminal also includes:
Processing module 506, for according to influence value of each background application to the target interface, it is determined that being The operation of the no corresponding background application of limitation.
So, in the embodiment of the present invention, whether the foreground application interface of monitoring mobile terminal changes;If described Whether foreground application interface changes, and obtains the first resource information of the corresponding parameter preset of target interface, and often The Secondary resource information of the corresponding parameter preset of one background application, the target interface is the application after execution renewal The interface that program interface is called;According to being calculated the first resource information, Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.By recording the first resource information of the corresponding parameter preset of target interface, so that When target interface is called, influence of each background application to system can be determined according to first resource information, therefore realize The detection of influence of each background application to system.
Fourth embodiment
Referring to Fig. 9, Fig. 9 is the structure chart of mobile terminal provided in an embodiment of the present invention, can realize that the first to the second is real The details of application program in example to the detection method of systematic influence is applied, and reaches identical effect.As shown in figure 9, mobile terminal 900 include:At least one processor 901, memory 902, at least one network interface 904 and user interface 903.Mobile terminal Each component in 900 is coupled by bus system 905.It is understood that bus system 905 be used for realize these components it Between connection communication.Bus system 905 is in addition to including data/address bus, also including power bus, controlling bus and status signal Bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in fig .9.
Wherein, user interface 903 can include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 902 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 902 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 9021 and application program 9022.
Wherein, operating system 9021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 9022, includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 9022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 902, specifically, can be application The program stored in program 9022 or instruction, processor 901 are used for:Whether send out at the foreground application interface of monitoring mobile terminal Changing;If whether the foreground application interface changes, the first money of the corresponding parameter preset of target interface is obtained Source information, and the corresponding parameter preset of each background application Secondary resource information, the target interface is holds The interface that Application Program Interface after row renewal is called;According to the first resource information, Secondary resource information and total money Source information calculates influence value of each background application to the target interface, and the total resources information is the movement Terminal-pair answers the resource information that each parameter preset is provided.
The method that the embodiments of the present invention are disclosed can apply in processor 901, or be realized by processor 901. Processor 901 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned processing Device 901 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable GateArray, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 902, processor 901 reads the information in memory 902, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realized outside processor.
Optionally, processor 901 is additionally operable to:After the completion of the corresponding interface interchange in each foreground application interface, record When the resource using information of secondary interface interchange;The resource using information repeatedly called according to the same interface of historical record, it is determined that The first resource information of the corresponding parameter preset of the interface.
Optionally, the parameter preset includes synchrolock, the load capacity of central processor CPU, memory size and I/O bandwidth At least one of in.
Optionally, processor 901 is additionally operable to:To each background application, according to the first resource information, the second money Source information and total resources information calculate the corresponding individual event influence coefficient of parameter preset described in each single item;Influenceed according to each individual event Coefficient and the default weighted value of correspondence calculate the influence value to the target interface of each background application.
Optionally, processor 901 is additionally operable to:Influence according to each background application to the target interface Value, it is determined whether the operation of the corresponding background application of limitation.
So, in the embodiment of the present invention, whether the foreground application interface of monitoring mobile terminal changes;If described Whether foreground application interface changes, and obtains the first resource information of the corresponding parameter preset of target interface, and often The Secondary resource information of the corresponding parameter preset of one background application, the target interface is the application after execution renewal The interface that program interface is called;According to being calculated the first resource information, Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.By recording the first resource information of the corresponding parameter preset of target interface, so that When target interface is called, influence of each background application to system can be determined according to first resource information, therefore realize The detection of influence of each background application to system.
5th embodiment
Referring to Fig. 10, Figure 10 is the structure chart of mobile terminal provided in an embodiment of the present invention, first to can be realized Application program is to the details of the detection method of systematic influence in two embodiments, and reaches identical effect.As shown in Figure 10, it is mobile Terminal 1000 includes radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input block 1030, display unit 1040th, processor 1050, voicefrequency circuit 1060, communication module 1070 and power supply 1080, (do not show also including camera in figure Go out).
Wherein, input block 1030 can be used for the numeral or character information for receiving user input, and produce with movement eventually The signal input that the user at end 1000 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 1030 can include contact panel 1031.Contact panel 1031, also referred to as touch-screen, collect user's touching on or near it Operation (such as user uses the operations of any suitable object or annex on contact panel 1031 such as finger, stylus) is touched, and Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1031 may include touch detecting apparatus and Two parts of touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the letter that touch operation is brought Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give the processor 1050, and the order sent of receiving processor 1050 and can be performed.Furthermore, it is possible to Contact panel 1031 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1031, input block 1030 can also include other input equipments 1032, and other input equipments 1032 can include but is not limited to One kind or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 1040 can be used for display by the information of user input or be supplied to information and the movement of user The various menu interfaces of terminal 1000.Display unit 1040 may include display panel 1041, optionally, using LCD or can have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1041.
It should be noted that contact panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen Detect after the touch operation on or near it, processor 1050 is sent to determine the type of touch event, with post processing Device 1050 provides corresponding visual output according to the type of touch event in touch display screen.
Wherein processor 1050 is the control centre of mobile terminal 1 000, utilizes various interfaces and connection whole mobile phone Various pieces, by operation or perform and be stored in software program and/or module in first memory 1021, and call and deposit The data in second memory 1022 are stored up, the various functions and processing data of mobile terminal 1 000 are performed, so as to mobile whole End 1000 carries out integral monitoring.Optionally, processor 1050 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1021 in software program and/or module and/ Or the data in the second memory 1022, processor 1050 is used for:Whether the foreground application interface of monitoring mobile terminal Change;If whether the foreground application interface changes, the first of the corresponding parameter preset of target interface is obtained Resource information, and the corresponding parameter preset of each background application Secondary resource information, the target interface is Perform the interface that the Application Program Interface after updating is called;According to the first resource information, Secondary resource information and total Resource information calculates influence value of each background application to the target interface, and the total resources information is moved to be described Dynamic terminal-pair answers the resource information that each parameter preset is provided.
Optionally, processor 1050 is additionally operable to:After the completion of the corresponding interface interchange in each foreground application interface, record When the resource using information of secondary interface interchange;The resource using information repeatedly called according to the same interface of historical record, it is determined that The first resource information of the corresponding parameter preset of the interface.
Optionally, the parameter preset includes synchrolock, the load capacity of central processor CPU, memory size and I/O bandwidth At least one of in.
Optionally, processor 1050 is additionally operable to:To each background application, according to the first resource information, second Resource information and total resources information calculate the corresponding individual event influence coefficient of parameter preset described in each single item;According to each individual event shadow Ring coefficient and the default weighted value of correspondence calculates the influence value to the target interface of each background application.
Optionally, processor 1050 is additionally operable to:Influence according to each background application to the target interface Value, it is determined whether the operation of the corresponding background application of limitation.
So, in the embodiment of the present invention, whether the foreground application interface of monitoring mobile terminal changes;If described Whether foreground application interface changes, and obtains the first resource information of the corresponding parameter preset of target interface, and often The Secondary resource information of the corresponding parameter preset of one background application, the target interface is the application after execution renewal The interface that program interface is called;According to being calculated the first resource information, Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.By recording the first resource information of the corresponding parameter preset of target interface, so that When target interface is called, influence of each background application to system can be determined according to first resource information, therefore realize The detection of influence of each background application to system.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize embodiment of the present invention scheme according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of application program is to the detection method of systematic influence, it is characterised in that including:
Whether the foreground application interface of monitoring mobile terminal changes;
If whether the foreground application interface changes, the first resource letter of the corresponding parameter preset of target interface is obtained Breath, and the corresponding parameter preset of each background application Secondary resource information, the target interface for perform more The interface that Application Program Interface after new is called;
Each background application journey is calculated according to the first resource information, the Secondary resource information and total resources information The influence value of target interface described in ordered pair, the total resources information provides for each parameter preset of mobile terminal correspondence Resource information.
2. according to the method described in claim 1, it is characterised in that the foreground application interface of the monitoring mobile terminal is It is no the step of change before, methods described also includes:
After the completion of the corresponding interface interchange in each foreground application interface, record is when the resource using information of time interface interchange;
The resource using information repeatedly called according to the same interface of historical record, determines the corresponding default ginseng of the interface Several first resource information.
3. according to the method described in claim 1, it is characterised in that the parameter preset includes synchrolock, central processor CPU Load capacity, memory size and I/O bandwidth at least one of.
4. method according to claim 3, it is characterised in that it is described according to the first resource information, second money Source information and total resources information calculate the step of each background application is to the influence value of the target interface, bag Include:
To each background application, according to the first resource information, the Secondary resource information and total resources information meter Calculate the corresponding individual event influence coefficient of parameter preset described in each single item;
Pair of each background application is calculated according to each the individual event influence coefficient and the default weighted value of correspondence The influence value of the target interface.
5. according to the method described in claim 1, it is characterised in that described to be believed according to the first resource information, Secondary resource Breath and total resources information are calculated after the step of each background application is to the influence value of the target interface, described Method also includes:
According to influence value of each background application to the target interface, it is determined whether the corresponding background application of limitation The operation of program.
6. a kind of mobile terminal, it is characterised in that including:
Whether monitoring modular, the foreground application interface for monitoring mobile terminal changes;
Acquisition module, if whether being changed for the foreground application interface, obtains the corresponding default ginseng of target interface Several first resource information, and the corresponding parameter preset of each background application Secondary resource information, the mesh The interface that tag splice mouthful is called for the Application Program Interface after execution renewal;
Computing module, described in being calculated according to the first resource information, the Secondary resource information and total resources information Each background application is to the influence value of the target interface, and the total resources information is each institute of mobile terminal correspondence The resource information of parameter preset offer is provided.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Logging modle, after the completion of the corresponding interface interchange in each foreground application interface, record is when time interface interchange Resource using information;
Determining module, for the resource using information repeatedly called according to the same interface of historical record, determines the interface pair The first resource information for the parameter preset answered.
8. mobile terminal according to claim 6, it is characterised in that the parameter preset includes synchrolock, center processing At least one of in device CPU load capacity, memory size and I/O bandwidth.
9. mobile terminal according to claim 8, it is characterised in that the computing module includes:
Coefficient calculation unit is influenceed, for each background application, according to the first resource information, the Secondary resource Information and total resources information calculate the corresponding individual event influence coefficient of parameter preset described in each single item;
Influence value computing unit, for influenceing coefficient and the default weighted value of correspondence to calculate described every according to each individual event The influence value to the target interface of one background application.
10. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Processing module, for according to influence value of each background application to the target interface, it is determined whether limitation The operation of corresponding background application.
CN201710177610.2A 2017-03-23 2017-03-23 The detection method and mobile terminal of a kind of application program to systematic influence Active CN106951327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710177610.2A CN106951327B (en) 2017-03-23 2017-03-23 The detection method and mobile terminal of a kind of application program to systematic influence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710177610.2A CN106951327B (en) 2017-03-23 2017-03-23 The detection method and mobile terminal of a kind of application program to systematic influence

Publications (2)

Publication Number Publication Date
CN106951327A true CN106951327A (en) 2017-07-14
CN106951327B CN106951327B (en) 2018-11-30

Family

ID=59472407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710177610.2A Active CN106951327B (en) 2017-03-23 2017-03-23 The detection method and mobile terminal of a kind of application program to systematic influence

Country Status (1)

Country Link
CN (1) CN106951327B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544842A (en) * 2017-08-25 2018-01-05 广东欧珀移动通信有限公司 Applied program processing method and device, computer equipment, storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047256A1 (en) * 2012-07-17 2014-02-13 Tencent Technology (Shenzhen) Co., Ltd. Terminal device and method for operating the same
CN105701025A (en) * 2015-12-31 2016-06-22 华为技术有限公司 Memory recovery method and device
CN105740078A (en) * 2016-01-29 2016-07-06 华为技术有限公司 Memory management method and apparatus, and terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106155699A (en) * 2016-07-29 2016-11-23 维沃移动通信有限公司 The management method of a kind of background process and mobile terminal
CN106533988A (en) * 2016-10-26 2017-03-22 维沃移动通信有限公司 Control method for network speed of application and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140047256A1 (en) * 2012-07-17 2014-02-13 Tencent Technology (Shenzhen) Co., Ltd. Terminal device and method for operating the same
CN105701025A (en) * 2015-12-31 2016-06-22 华为技术有限公司 Memory recovery method and device
CN105740078A (en) * 2016-01-29 2016-07-06 华为技术有限公司 Memory management method and apparatus, and terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106155699A (en) * 2016-07-29 2016-11-23 维沃移动通信有限公司 The management method of a kind of background process and mobile terminal
CN106533988A (en) * 2016-10-26 2017-03-22 维沃移动通信有限公司 Control method for network speed of application and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544842A (en) * 2017-08-25 2018-01-05 广东欧珀移动通信有限公司 Applied program processing method and device, computer equipment, storage medium
CN107544842B (en) * 2017-08-25 2019-02-05 Oppo广东移动通信有限公司 Applied program processing method and device, computer equipment, storage medium

Also Published As

Publication number Publication date
CN106951327B (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN106776245B (en) A kind of exception application processing method, device and mobile terminal
CN106714251B (en) A kind of method for connecting network and mobile terminal
CN107466077A (en) A kind of method for switching network and mobile terminal
CN106919313A (en) The startup method and mobile terminal of a kind of application program
CN106843739A (en) The display control method and mobile terminal of a kind of mobile terminal
CN106469011A (en) A kind of method for information display and mobile terminal
CN106155699B (en) A kind of management method and mobile terminal of background process
CN106533988A (en) Control method for network speed of application and mobile terminal
CN106126210A (en) A kind of application icon display packing and mobile terminal
CN105898705A (en) Method for controlling scanning frequency of wireless local area network and mobile terminal
CN107145782A (en) A kind of recognition methods, mobile terminal and the server of abnormal application program
CN106325753A (en) Payment interface display method and mobile terminal
CN107391246A (en) One kind applies startup method, mobile terminal and computer-readable recording medium
CN106973167A (en) A kind of income prompting method and mobile terminal
CN106776030A (en) The method and mobile terminal of a kind of dynamic managing internal memory
CN106372894A (en) Payment method and mobile terminal
CN106886409A (en) A kind of method for information display and mobile terminal
CN107277213A (en) Contact categories processing method, cloud device and mobile terminal
CN106502785A (en) A kind of cleaning internal memory method and device of mobile terminal
CN106775755A (en) One kind application recommendation method and mobile terminal
CN106681587A (en) Application icon corner marker processing method and terminal
CN106445669A (en) Task processing method of application program and mobile terminal
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN106210231A (en) A kind of method of information processing and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171107

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200520

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.