CN106055392B - Using processing method, test method and the terminal behind entrance backstage - Google Patents

Using processing method, test method and the terminal behind entrance backstage Download PDF

Info

Publication number
CN106055392B
CN106055392B CN201610344826.9A CN201610344826A CN106055392B CN 106055392 B CN106055392 B CN 106055392B CN 201610344826 A CN201610344826 A CN 201610344826A CN 106055392 B CN106055392 B CN 106055392B
Authority
CN
China
Prior art keywords
application
measured
backstage
value
priority
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
CN201610344826.9A
Other languages
Chinese (zh)
Other versions
CN106055392A (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 CN201610344826.9A priority Critical patent/CN106055392B/en
Publication of CN106055392A publication Critical patent/CN106055392A/en
Application granted granted Critical
Publication of CN106055392B publication Critical patent/CN106055392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

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

Abstract

The present invention relates to communication of mobile terminal field, disclose a kind of application and enter the processing method behind backstage, comprising: when application enters backstage, from server obtain backstage priority it is abnormal apply list;Whether judge in the application list comprising the application;If so, forcing the backstage priority for correcting the application is normal value.It the invention also discloses the test method of the backstage priority of application, realizes the mobile terminal of the processing method after the application enters backstage, and realizes the test terminal of the test method of the backstage priority of the application.The embodiment of the present invention can validity test go out resident applications, and on mobile terminals correct resident applications backstage numerical priority value.

Description

Using processing method, test method and the terminal behind entrance backstage
Technical field
Processing method, state verification after entering backstage the present invention relates to mobile communication field more particularly to a kind of application Method and terminal.
Background technique
With popularizing for intelligent mobile terminal (such as mobile phone, tablet computer), number is applied on mobile terminal intelligent platform Amount also grows at top speed therewith, however, the problem of growth of number of applications certainly will bring mobile-terminal platform mostly application while run, The application for needing to use at once is usually recalled and is placed on foreground by user, and temporarily unused application is put into backstage, such as: work as user When seeing video, Video Applications can be retained in foreground, and the temporarily unused application such as QQ, wechat, news is put into backstage, stay to work as The application on backstage is given user when receiving instant message and is accordingly prompted.
Application due to staying backstage is still within working condition, and consuming system resource, (such as memory, electricity, CPU are occupied Rate, data traffic etc.), for the considerations of saving system resource and improving system fluency, existing mobile terminal intelligent platform Automatically the application of all running backgrounds would generally be ranked up, and gives the corresponding numerical priority value of each application (illustratively, Numerical priority value is bigger, and expression priority is lower), according to ranking results, find the maximum one or more application of numerical priority value And close, system resource is saved with this, improves system fluency.
However, certain applications developer is now for the ease of pushing customization service or advertisement information to user, to application Numerical priority value is artificially adjusted, after backstage is stayed in the application (hereinafter referred to as resident applications) after being adjusted, priority number It is worth lower, is closed to avoid the application by mobile terminal intelligent platform.On the one hand such way increases system resource occupancy, shadow Rung system fluency, on the other hand originally pent to be closed in background application, meanwhile, resident applications constantly to User pushes the unwanted related service of user and message, also affects the usage experience of user.
Summary of the invention
Processing method, state test method and terminal after entering backstage the embodiment of the invention provides a kind of application, with It solves in the prior art, resident applications can not be closed by mobile terminal intelligent platform, and occupying system resources influence user experience Problem.
In a first aspect, entering the processing method behind backstage the embodiment of the invention provides a kind of application, comprising:
When application enters backstage, list is applied from server acquisition backstage priority exception;
Whether judge in the application list comprising the application;
If so, forcing the backstage priority for correcting the application is normal value.
On the other hand, the embodiment of the invention also provides a kind of test method of the backstage priority of application, the test sides Method is used for the application of test background priority exception, comprising:
Start application to be measured;
The first option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the first fiducial value, and executes memory null clear operation;
Start the application to be measured;
The second option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the second fiducial value, and executes memory null clear operation;
Start the application to be measured;
First option or the second option are activated, the application to be measured is made to enter backstage;
The assistance application for opening preset quantity, the greatest priority numerical value for recording the application to be measured is third fiducial value;
The first fiducial value and the first preset reference value, the second fiducial value and the second preset reference value, third ratio are compared respectively Compared with value and third preset reference value, comparison result is generated;
According to the comparison result, determine whether the backstage priority of the application to be measured is abnormal.
In another aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising:
Acquisition module, for applying list from server acquisition backstage priority exception when application enters backstage;
First judgment module, for whether judging in the application list comprising the application;
Correction module, for when it is described using in list comprising described in application, forcing the backstage for correcting the application excellent First grade is normal value.
Another aspect, the embodiment of the invention also provides a kind of test terminals, for providing priority to the server Abnormal applies list, comprising:
First starting module, for starting application to be measured;
First active module makes the application to be measured enter backstage for activating the first option;
First logging modle, the numerical priority value for recording the application to be measured is the first fiducial value, and executes memory Null clear operation;
Second starting module, for starting the application to be measured;
Second active module makes the application to be measured enter backstage for activating the second option;
Second logging modle, the numerical priority value for recording the application to be measured is the second fiducial value, and executes memory Null clear operation;
Third starting module, for starting the application to be measured;
Third active module makes the application to be measured enter backstage for activating first option or the second option;
Third logging modle is used to open the assistance application of preset quantity, records the greatest priority of the application to be measured Numerical value is third fiducial value;
Comparison module, for comparing the first fiducial value and the first reference value, the second fiducial value and the second reference value, respectively Three fiducial values and third reference value generate comparison result;
Determining module, for determining whether the backstage priority of the application to be measured is abnormal according to the comparison result.
The embodiment of the present invention is by obtaining the application name of backstage priority exception from server when application enters backstage It is single, and judge to be currently entering backstage application whether this using in list, if so, judge the application for resident applications, by force The priority that system corrects the application is normal value.Since server can provide newest resident applications list, so that the present invention is real Applying example has compared with high-accuracy the identification of application, meanwhile, the priority of resident applications is carried out to force setting that can prevent this from answering With from being closed by mobile terminal intelligent platform, system resource is saved, the usage experience of user is improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the flow diagram for the first embodiment that application of the invention enters the processing method behind backstage;
Fig. 2 is the flow diagram for the second embodiment that application of the invention enters the processing method behind backstage;
Fig. 3 is the flow diagram of the embodiment of the test method of the backstage priority of application of the invention;
Fig. 4 is the structural schematic diagram of the first embodiment of mobile terminal of the invention;
Fig. 5 is the structural schematic diagram of the second embodiment of mobile terminal of the invention;
Fig. 6 is the structural schematic diagram of present invention test terminal embodiment;
Fig. 7 is the block diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
In order to which the technical problems, technical solutions and beneficial effects solved by the present invention is more clearly understood, below in conjunction with Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
When the embodiment of the present invention refers to the ordinal numbers such as " first ", " second ", unless based on context its express really it is suitable The meaning of sequence, it should be understood that only play differentiation and be used.
As shown in Figure 1, entering the flow diagram of the first embodiment of the processing method behind backstage for application of the invention. This method is commonly used on the mobile terminal of personal user, it includes:
S101 applies list from server acquisition backstage priority exception when application enters backstage.
When application enters backstage, mobile terminal obtains the list of applying of backstage priority exception from server, and backstage is excellent The test method that first grade is applied extremely can refer to a kind of embodiment of the test method of the backstage priority of following applications, in this reality It applies in example, when mobile terminal can not network, what automatic reading last time networking obtained applies list.
As a kind of preferred embodiment, apply after installation or edition upgrading when entering backstage for the first time, from server Obtain backstage priority it is abnormal apply list, hereafter when the application is again introduced into backstage, no longer judge the application whether be Resident applications to improve the recognition efficiency of resident applications, while guaranteeing the system fluency of mobile terminal.
S102 judges whether using in list include application.
In the present embodiment, when the application of the same name in application list is comprising multiple version numbers, judge after entering Whether the version number of the application of platform is consistent with a certain version number in application list.
S103, if so, forcing the backstage priority of correct application is normal value.
When the application for entering backstage is present in using list, judge that the application for resident applications, forces correction to be answered at this time Backstage numerical priority value is normal value, and illustratively, the backstage numerical priority value of resident applications is typically not greater than 7, when right After the resident applications carry out pressure correction, after the backstage numerical priority value of application can be with the extension for staying backoff period or with staying Platform number of applications increases and becomes larger, thus more than 7.
The embodiment of the present invention is by obtaining the application name of backstage priority exception from server when application enters backstage It is single, and judge to be currently entering backstage application whether this using in list, if so, judge the application for resident applications, by force The priority that system corrects the application is normal value.Since server can provide newest resident applications list, so that the present invention is real Applying example has compared with high-accuracy the identification of application, meanwhile, the priority of resident applications is carried out to force setting that can prevent this from answering With from being closed by mobile terminal intelligent platform, system resource is saved, the usage experience of user is improved.
As shown in Fig. 2, entering the flow diagram of the second embodiment of the processing method behind backstage for application of the invention. Unlike above-mentioned first embodiment, in order to avoid the resident applications of some stubbornnesses can not be forced to correct, the present invention is implemented Example, which increases, further detects whether to correct successful step, meanwhile, when correcting unsuccessful, relevant information is fed back into service Device.
S201 applies list from server acquisition backstage priority exception when application enters backstage.
This step is identical as the correspondence step of first embodiment, and which is not described herein again.
S202 judges whether using in list include application.
This step is identical as the correspondence step of first embodiment, and which is not described herein again.
S203, if so, forcing the backstage priority of correct application is normal value.
This step is identical as the correspondence step of first embodiment, and which is not described herein again.
S204 judges to force whether correction succeeds.
In the present embodiment, can especially by detection force correction after this application stay backstage after numerical priority value into Row judgement, if being consistently less than preset threshold (illustrative, default threshold in sometime period (such as in a week) numerical priority value 7) value takes, then judge to force correction unsuccessful.
As another implementation, mobile terminal can successively be opened after forcing correction under blank screen standby mode Using and several normal uses, judgement in the process, through force correction after application numerical priority value it is whether small always In preset threshold, (illustrative, 7) preset threshold is taken, if it is not, then judging to force correction unsuccessful.
S205, if it is not, prompt user closes application.
When forcing correction unsuccessful, it can inform that user has resident answer pop-up dialog box or by way of playing voice With the resident applications can not be automatically closed in system, if closed manually to save resource occupation, improve system fluency.
S206, the version information of sending application to server.
When forcing correction unsuccessful, mobile terminal sends the version informations of the stubbornness resident applications to server, so that The research staff of server is further studied for the related versions of the application, to provide targetedly correction side for user Case.
The present embodiment is by judging correction after the backstage priority for forcing correct application as a result, stubbornness can be searched effectively The version information of the resident applications is fed back to server by resident applications, so that research staff is directed to the application study specific aim Correcting scheme, the success rate for forcing correction is improved, again, by prompting user to close the resident applications and can save the application Resource occupation, improve system fluency.
As shown in figure 3, the flow diagram of the embodiment for the test method of the backstage priority of application of the invention.This Whether backstage priority of the embodiment for test application abnormal, thus generate backstage priority it is abnormal apply list, it is logical It is commonly applied to server end, comprising:
S301 starts application to be measured.
In the present embodiment, it need to guarantee currently to test in terminal when starting application to be measured and not open other application.
S302 activates the first option, and application to be measured is made to enter backstage.
In the present embodiment, after application to be measured enters backstage, test terminal currently usually shows test homepage or test The homepage of terminal.As a kind of specific embodiment, the first option is Home option, when pressing Home key, application to be measured It is switched to backstage.
S303, the numerical priority value for recording application to be measured is the first fiducial value, and executes memory null clear operation.
After application to be measured enters backstage, the numerical priority value to be measured applied on backstage is recorded, and the numerical value is denoted as One fiducial value.
S304 starts application to be measured.
This step is identical as step S301, repeats no more again.
S305 activates the second option, and application to be measured is made to enter backstage.
In the present embodiment, after application to be measured enters backstage, test terminal currently usually shows test homepage or test The homepage of terminal.As a kind of specific embodiment, the second option is Back option, when pressing Back key, application to be measured It is switched to backstage.
S306, the numerical priority value for recording application to be measured is the second fiducial value, and executes memory null clear operation;
After application to be measured enters backstage, the numerical priority value to be measured applied on backstage is recorded, and the numerical value is denoted as Two fiducial values.
S307 starts application to be measured.
This step is identical as step S301, repeats no more again.
S308 activates the first option or the second option, and application to be measured is made to enter backstage.
In the present embodiment, the mode that can select one selects the first option or the second option to be activated, so that application to be measured Into backstage.
S309 opens the assistance application of preset quantity, and the greatest priority numerical value for recording application to be measured is third fiducial value.
In the present embodiment, the determination formula of preset quantity are as follows:
Figure BDA0000995834180000091
Wherein n is preset quantity;X is memory amount, unit G.
Above-mentioned assistance application is that illustratively, several applications can be fixedly installed using unrelated other application with to be measured The numerical priority value of application to be measured is recorded, access value is maximum whenever test terminal one assistance application of opening as assistance application Numerical priority value as greatest priority numerical value, and be denoted as third fiducial value.
S310 compares the first fiducial value and the first preset reference value, the second fiducial value and the second preset reference value, respectively Three fiducial values and third preset reference value generate comparison result.
In the present embodiment, the first preset reference value is used to refer to the minimum value of the first fiducial value, the second preset reference Value is used to refer to the minimum value of third fiducial value for referring to the minimum value of the second fiducial value, third preset reference value, leads to It crosses and compares this three groups of data, generate comparison result.
S311 determines whether the backstage priority of application to be measured is abnormal according to comparison result.
In the present embodiment, default less than third less than the first preset reference value or third fiducial value when the first fiducial value When reference value or third fiducial value are less than third preset reference value, the backstage priority of application to be measured is judged to be abnormal, this is to be measured Using for resident applications, and by the application to be measured be added backstage priority it is abnormal apply list.
The present embodiment, which passes through, obtains the first fiducial value, the second fiducial value and third fiducial value to be measured applied on backstage, and It is compared respectively with the first preset reference value, the second preset reference value and third preset reference value, it is true further according to comparison result Whether the backstage priority of the fixed application to be measured is abnormal, and the use habit being on the one hand close to the users to application can make user Simulation reduction is carried out with scene, reaches best test effect, meanwhile, by the comparison of above-mentioned three groups of data, improve judgement As a result accuracy rate prevents the case where judging by accident appearance.
Processing method, the embodiment of test method after entering backstage to application of the invention above are discussed in detail. It will correspond to the mobile terminal of the above method below, test terminal is further elaborated.Wherein, mobile terminal, test terminal can To be mobile phone, tablet computer, MP3, MP4 or laptop etc..
As shown in figure 4, the structural schematic diagram of the first embodiment for mobile terminal of the invention.
In the present embodiment, terminal 400 includes obtaining module 410, first judgment module 420 and correction module 430.Wherein,
Module 410 is obtained, is connected with first judgment module 420, for being obtained from server when application enters backstage Backstage priority exception applies list.
When application enters backstage, the list of applying that module 410 obtains priority exception in backstage from server, backstage are obtained The test method that priority is applied extremely can refer to it is following test terminals embodiments, in the present embodiment, when mobile terminal without When method networking, obtain the automatic reading last time networking acquisition of module 410 applies list.
As a kind of preferred embodiment, apply after installation or edition upgrading when entering backstage for the first time, from server Obtain backstage priority it is abnormal apply list, hereafter when the application is again introduced into backstage, no longer judge the application whether be Resident applications to improve the recognition efficiency of resident applications, while guaranteeing the system fluency of mobile terminal.
First judgment module 420 is connected with correction module 430, for judging whether using in list include application.
In the present embodiment, when the application of the same name in application list is comprising multiple version numbers, judge after entering Whether the version number of the application of platform is consistent with a certain version number in application list.
Correction module 430, for including in application, it is normal for forcing the backstage priority of correct application when applying in list Value.
When the application for entering backstage is present in using list, judge that the application for resident applications, forces correction to be answered at this time Backstage numerical priority value is normal value, and illustratively, the backstage numerical priority value of resident applications is typically not greater than 7, when right After the resident applications carry out pressure correction, after the backstage numerical priority value of application can be with the extension for staying backoff period or with staying Platform number of applications increases and becomes larger, thus more than 7.
The embodiment of the present invention is by obtaining the application name of backstage priority exception from server when application enters backstage It is single, and judge to be currently entering backstage application whether this using in list, if so, judge the application for resident applications, by force The priority that system corrects the application is normal value.Since server can provide newest resident applications list, so that the present invention is real Applying example has compared with high-accuracy the identification of application, meanwhile, the priority of resident applications is carried out to force setting that can prevent this from answering With from being closed by mobile terminal intelligent platform, system resource is saved, the usage experience of user is improved.
As shown in figure 5, the structural schematic diagram of the second embodiment for mobile terminal of the invention.With above-mentioned first embodiment Unlike, in order to avoid the resident applications of some stubbornnesses can not be forced to correct, the embodiment of the present invention increases the second judgement Module detects whether to correct successfully, meanwhile, when correcting unsuccessful, relevant information is fed back to by server by sending module.
In the present embodiment, terminal 500 includes that acquisition module 510, first judgment module 520, correction module 530, second are sentenced Disconnected module 540, cue module 550 and sending module 560.Wherein,
Module 510 is obtained, is connected with first judgment module 520, for being obtained from server when application enters backstage Backstage priority exception applies list.
This module is identical as the respective modules of first embodiment, and which is not described herein again.
First judgment module 520 is connected with correction module 530, for judging whether using in list include application.
This module is identical as the respective modules of first embodiment, and which is not described herein again.
Correction module 530 is connected with the second judgment module 540, for including in application, forcing school when applying in list The backstage priority just applied is normal value.
This module is identical as the respective modules of first embodiment, and which is not described herein again.
Second judgment module 540, is connected with cue module 550, forces whether correction succeeds for judging.
In the present embodiment, can especially by detection force correction after this application stay backstage after numerical priority value into Row judgement, if being consistently less than preset threshold (illustrative, default threshold in sometime period (such as in a week) numerical priority value 7) value takes, then judge to force correction unsuccessful.
As another implementation, mobile terminal can successively be opened after forcing correction under blank screen standby mode Using and several normal uses, judgement in the process, through force correction after application numerical priority value it is whether small always In preset threshold, (illustrative, 7) preset threshold is taken, if it is not, then judging to force correction unsuccessful.
Cue module 550 is connected with sending module 560, answers for when forcing correction unsuccessful, prompting user to close With.
When forcing correction unsuccessful, it can inform that user has resident answer pop-up dialog box or by way of playing voice With the resident applications can not be automatically closed in system, if closed manually to save resource occupation, improve system fluency.
Sending module 560, the version information for sending application is to server.
When forcing correction unsuccessful, mobile terminal sends the version informations of the stubbornness resident applications to server, so that The research staff of server is further studied for the related versions of the application, to provide targetedly correction side for user Case.
The present embodiment is by judging correction after the backstage priority for forcing correct application as a result, stubbornness can be searched effectively The version information of the resident applications is fed back to server by resident applications, so that research staff is directed to the application study specific aim Correcting scheme, the success rate for forcing correction is improved, again, by prompting user to close the resident applications and can save the application Resource occupation, improve system fluency.
As shown in fig. 6, being the structural schematic diagram of test terminal embodiment of the invention.Testing terminal 600 includes that first opens Dynamic model block 6010, the first active module 6020, the first logging modle 6030, the second starting module 6040, the second active module 6050, the second logging modle 6060, third starting module 6070, third active module 6080, third logging modle 6090, comparison Module 6100 and determining module 6110.Wherein,
First starting module 6010 is connected, for starting application to be measured with the first active module 6020.
In the present embodiment, start application to be measured and need to guarantee currently to test in terminal and do not open other application.
First active module 6020 is connected with the first logging modle 6030, for activating the first option, makes application to be measured Into backstage.
In the present embodiment, after application to be measured enters backstage, test terminal currently usually shows test homepage or test The homepage of terminal.As a kind of specific embodiment, the first option is Home option, when pressing Home key, application to be measured It is switched to backstage.
First logging modle 6030, is connected with comparison module 6100, and the numerical priority value for recording application to be measured is First fiducial value, and execute memory null clear operation.
After application to be measured enters backstage, the numerical priority value to be measured applied on backstage is recorded, and the numerical value is denoted as One fiducial value.
Second starting module 6040 is connect, for starting application to be measured with the second active module 6050.
This functions of modules is identical as the first starting module 6010, repeats no more again.
Second active module 6050 is connect with the second logging modle 6060, for activate the second option, make it is to be measured apply into Enter backstage.
In the present embodiment, after application to be measured enters backstage, test terminal currently usually shows test homepage or test The homepage of terminal.As a kind of specific embodiment, the second option is Back option, when pressing Back key, application to be measured It is switched to backstage.
Second logging modle 6060, connect with comparison module 6100, and the numerical priority value for recording application to be measured is the Two fiducial values, and execute memory null clear operation.
After application to be measured enters backstage, the numerical priority value to be measured applied on backstage is recorded, and the numerical value is denoted as Two fiducial values.
Third starting module 6070 is connect with third active module 6080, for starting application to be measured.
This functions of modules is identical as the first starting module 6010, repeats no more again.
Third active module 6080 is connect with third logging modle 6090, for activating the first option or the second option, is made Application to be measured enters backstage.
In the present embodiment, the mode that can select one selects the first option or the second option to be activated, so that application to be measured Into backstage.
Third logging modle 6090 is connect with comparison module 6100, is used to open the assistance application of preset quantity, record to The greatest priority numerical value for surveying application is third fiducial value.
In the present embodiment, the determination formula of preset quantity are as follows:
Figure BDA0000995834180000141
Wherein n is preset quantity;X is memory amount, unit G.
Above-mentioned assistance application is that illustratively, several applications can be fixedly installed using unrelated other application with to be measured The numerical priority value of application to be measured is recorded, access value is maximum whenever test terminal one assistance application of opening as assistance application Numerical priority value as greatest priority numerical value, and be denoted as third fiducial value.
Comparison module 6100 is connect with determining module 6110, for comparing the first fiducial value and the first reference value, respectively Two fiducial values and the second reference value, third fiducial value and third reference value generate comparison result.
In the present embodiment, the first preset reference value is used to refer to the minimum value of the first fiducial value, the second preset reference Value is used to refer to the minimum value of third fiducial value for referring to the minimum value of the second fiducial value, third preset reference value, leads to It crosses and compares this three groups of data, generate comparison result.
Determining module 6110, for determining whether the backstage priority of application to be measured is abnormal according to comparison result.
In the present embodiment, default less than third less than the first preset reference value or third fiducial value when the first fiducial value When reference value or third fiducial value are less than third preset reference value, the backstage priority of application to be measured is judged to be abnormal, this is to be measured Using for resident applications, and by the application to be measured be added backstage priority it is abnormal apply list.
The present embodiment, which passes through, obtains the first fiducial value, the second fiducial value and third fiducial value to be measured applied on backstage, and It is compared respectively with the first preset reference value, the second preset reference value and third preset reference value, it is true further according to comparison result Whether the backstage priority of the fixed application to be measured is abnormal, and the use habit being on the one hand close to the users to application can make user Simulation reduction is carried out with scene, reaches best test effect, meanwhile, by the comparison of above-mentioned three groups of data, improve judgement As a result accuracy rate prevents the case where judging by accident appearance.
Fig. 7 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in Fig. 7 includes: at least One processor 701, memory 702, at least one network interface 704 and user interface 703.It is each in mobile terminal 700 Component is coupled by bus system 705.It is understood that bus system 705 is logical for realizing the connection between these components Letter.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is For the sake of clear explanation, in Fig. 7 various buses are all designated as bus system 705.
Wherein, user interface 703 may include display screen, touch screen.
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 702 of system and method described herein be intended to include but be not limited to these and The memory of any other suitable type.
In some embodiments, memory 702 stores following element, and module or number can be performed in preset threshold According to structure perhaps their subset or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 are used for when application enters backstage, and it is preferential to obtain backstage from server Grade it is abnormal apply list, and judge using in list whether comprising application, when including in application, forcing correction in application list The backstage priority of application is normal value.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.
Above-mentioned processor 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or Other programmable logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute this hair Disclosed each method, step and logic diagram in bright embodiment.General processor can be microprocessor or the processor It is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in firmly Part decoding processor executes completion, or in decoding processor hardware and software module combination execute completion.Software module It can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, In the storage medium of this fields such as register maturation.The storage medium is located at memory 702, and processor 701 reads memory 702 In information, in conjunction with its hardware complete the above method the step of.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller In device, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, the skill of this paper can be realized by executing the module (such as process, function etc.) of this paper function Art.Software code is storable in memory and is executed by processor.Memory can in the processor or outside the processor It realizes in portion.
Optionally, as another embodiment, processor 701 is also used to judge to force whether correction succeeds, when can not be strong When system correction is unsuccessful, user is prompted to close application, processor 701 controls the version information of 704 sending application of network interface extremely Server.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.The embodiment of the present invention is by obtaining the application name of backstage priority exception from server when application enters backstage It is single, and judge to be currently entering backstage application whether this using in list, if so, judge the application for resident applications, by force The priority that system corrects the application is normal value.Since server can provide newest resident applications list, so that the present invention is real Applying example has compared with high-accuracy the identification of application, meanwhile, the priority of resident applications is carried out to force setting that can prevent this from answering With from being closed by mobile terminal intelligent platform, system resource is saved, the usage experience of user is improved.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of application enters the processing method behind backstage characterized by comprising
Server starts application to be measured;
The first option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the first fiducial value, and executes memory null clear operation;
Start the application to be measured;
The second option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the second fiducial value, and executes memory null clear operation;
Start the application to be measured;
First option or the second option are activated, the application to be measured is made to enter backstage;
The assistance application for opening preset quantity, the greatest priority numerical value for recording the application to be measured is third fiducial value;
The first fiducial value and the first preset reference value, the second fiducial value and the second preset reference value, third fiducial value are compared respectively With third preset reference value, comparison result is generated;
According to the comparison result, determine whether the backstage priority of the application to be measured is abnormal, it is preferential to generate the backstage Grade exception applies list;
When application enters backstage, list is applied from server acquisition backstage priority exception;
Whether judge in the application list comprising the application;
If so, forcing the backstage priority for correcting the application is normal value.
2. processing method according to claim 1, which is characterized in that described if so, after the pressure correction application After the step of platform priority is normal value, further includes:
Judge whether the pressure correction succeeds;
If it is not, prompt user closes the application;
The version information of the application is sent to the server.
3. a kind of test method of the backstage priority of application characterized by comprising
Start application to be measured;
The first option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the first fiducial value, and executes memory null clear operation;
Start the application to be measured;
The second option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the second fiducial value, and executes memory null clear operation;
Start the application to be measured;
First option or the second option are activated, the application to be measured is made to enter backstage;
The assistance application for opening preset quantity, the greatest priority numerical value for recording the application to be measured is third fiducial value;
The first fiducial value and the first preset reference value, the second fiducial value and the second preset reference value, third fiducial value are compared respectively With third preset reference value, comparison result is generated;
According to the comparison result, determine whether the backstage priority of the application to be measured is abnormal.
4. test method according to claim 3, which is characterized in that the determination formula of the preset quantity are as follows:
Figure FDA0002124010460000021
Wherein n is the preset quantity;X is memory amount, unit G.
5. test method according to claim 3 or 4, which is characterized in that first option is Home option, the second choosing Item is Back option.
6. a kind of mobile terminal characterized by comprising
Acquisition module, for applying list from server acquisition backstage priority exception when application enters backstage;
First judgment module, for whether judging in the application list comprising the application;
Correction module, for when it is described using in list comprising described in application, forcing to correct the backstage priority of the application For normal value;
Wherein, the server is for starting application to be measured;
The first option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the first fiducial value, and executes memory null clear operation;
Start the application to be measured;
The second option is activated, the application to be measured is made to enter backstage;
The numerical priority value for recording the application to be measured is the second fiducial value, and executes memory null clear operation;
Start the application to be measured;
First option or the second option are activated, the application to be measured is made to enter backstage;
The assistance application for opening preset quantity, the greatest priority numerical value for recording the application to be measured is third fiducial value;
The first fiducial value and the first preset reference value, the second fiducial value and the second preset reference value, third fiducial value are compared respectively With third preset reference value, comparison result is generated;
According to the comparison result, determine whether the backstage priority of the application to be measured is abnormal, it is preferential to generate the backstage Grade exception applies list.
7. mobile terminal according to claim 6, which is characterized in that further include:
Second judgment module, for judging whether the pressure correction succeeds;
Cue module, for prompting user to close the application when forcing correction unsuccessful;
Sending module, for sending the version information of the application to the server.
8. a kind of test terminal characterized by comprising
First starting module, for starting application to be measured;
First active module makes the application to be measured enter backstage for activating the first option;
First logging modle, the numerical priority value for recording the application to be measured is the first fiducial value, and executes memory and empty Operation;
Second starting module, for starting the application to be measured;
Second active module makes the application to be measured enter backstage for activating the second option;
Second logging modle, the numerical priority value for recording the application to be measured is the second fiducial value, and executes memory and empty Operation;
Third starting module, for starting the application to be measured;
Third active module makes the application to be measured enter backstage for activating first option or the second option;
Third logging modle is used to open the assistance application of preset quantity, records the greatest priority numerical value of the application to be measured For third fiducial value;
Comparison module, for comparing the first fiducial value and the first reference value, the second fiducial value and the second reference value, third ratio respectively Compared with value and third reference value, comparison result is generated;
Determining module, for determining whether the backstage priority of the application to be measured is abnormal according to the comparison result.
9. test terminal according to claim 8, which is characterized in that the determination formula of the preset quantity are as follows:
Figure FDA0002124010460000051
Wherein n is the preset quantity;X is memory amount, unit G.
10. test terminal according to claim 8 or claim 9, which is characterized in that first option be Home option, second Option is Back option.
CN201610344826.9A 2016-05-20 2016-05-20 Using processing method, test method and the terminal behind entrance backstage Active CN106055392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610344826.9A CN106055392B (en) 2016-05-20 2016-05-20 Using processing method, test method and the terminal behind entrance backstage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610344826.9A CN106055392B (en) 2016-05-20 2016-05-20 Using processing method, test method and the terminal behind entrance backstage

Publications (2)

Publication Number Publication Date
CN106055392A CN106055392A (en) 2016-10-26
CN106055392B true CN106055392B (en) 2019-10-15

Family

ID=57177593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610344826.9A Active CN106055392B (en) 2016-05-20 2016-05-20 Using processing method, test method and the terminal behind entrance backstage

Country Status (1)

Country Link
CN (1) CN106055392B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193609B (en) * 2019-11-20 2021-09-28 腾讯科技(深圳)有限公司 Application abnormity feedback method and device and application abnormity monitoring system
CN112817844A (en) * 2021-01-25 2021-05-18 北京小米移动软件有限公司 Background process residence test method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310153A (en) * 2013-04-28 2013-09-18 中国人民解放军理工大学 Fine-grained authority control method based on Android platform
CN105138402A (en) * 2015-08-25 2015-12-09 海信集团有限公司 Method and device for adjusting priority of application process memory release

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310153A (en) * 2013-04-28 2013-09-18 中国人民解放军理工大学 Fine-grained authority control method based on Android platform
CN105138402A (en) * 2015-08-25 2015-12-09 海信集团有限公司 Method and device for adjusting priority of application process memory release

Also Published As

Publication number Publication date
CN106055392A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN105704332B (en) Mobile payment method and device
US10936833B2 (en) NFC configuration method, mobile terminal, and computer-readable storage medium
CN107861830A (en) Detection method, device, storage medium and the mobile terminal of application crash
CN109587252A (en) Loading method, device, electronic equipment and the storage medium of operator parameter
CN108288168A (en) Borrow or lend money register method, terminal and the computer readable storage medium of service account
CN106201574A (en) A kind of startup method and device of application interface
CN102065161B (en) System and method for realizing multi-card multi-standby mobile phone function by virtual method
CN106055392B (en) Using processing method, test method and the terminal behind entrance backstage
CN101566912A (en) Handwriting input method and device for mobile terminal and mobile terminal
CN108874414A (en) Software upgrading method and device, readable storage medium and television equipment
US7599684B2 (en) Automatic setting method for terminal information using subscriber identity module
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN107786729A (en) A kind of operating system update method and terminal
CN111028076A (en) Bank on-line account opening method and device based on asynchronous processing and storage medium
CN107037977A (en) A kind of data write-in control method and system based on mobile terminal
CN113515420B (en) Test method and test system
CN110337112A (en) Terminal access method and device
CN115985382A (en) Flash memory test method, device, equipment and storage medium
CN105897559B (en) A kind of control method and mobile terminal of HTML5 application
CN112822666B (en) Communication method, communication device, electronic equipment and storage medium
CN106131819A (en) A kind of multistage authentication prevents the method for mobile phone malice brush machine
CN113806252A (en) Board card identification method, computer, device, terminal equipment and storage medium
CN110458550B (en) Payment method, device, terminal and storage medium
CN110908684B (en) Method and device for updating silk-screen information of configuration page memory
CN112290964A (en) Auxiliary installation method and device for user identification card

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