CN107678849A - The open method and user terminal of a kind of application program - Google Patents

The open method and user terminal of a kind of application program Download PDF

Info

Publication number
CN107678849A
CN107678849A CN201710967566.5A CN201710967566A CN107678849A CN 107678849 A CN107678849 A CN 107678849A CN 201710967566 A CN201710967566 A CN 201710967566A CN 107678849 A CN107678849 A CN 107678849A
Authority
CN
China
Prior art keywords
user terminal
memory
application program
application
destination 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.)
Pending
Application number
CN201710967566.5A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710967566.5A priority Critical patent/CN107678849A/en
Publication of CN107678849A publication Critical patent/CN107678849A/en
Pending legal-status Critical Current

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/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/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Abstract

The open method and user terminal of a kind of application program, this method include:User terminal receives the enabled instruction for destination application;Obtain the instant free memory of user terminal;Obtain destination application operationally required maximum memory;Judge operationally whether required maximum memory is more than the instant free memory to destination application, if, the application program of user terminal running background is removed until the current residual internal memory of user terminal is more than destination application operationally untill required maximum memory, and start destination application, the current free memory is after clearing up the application program of user terminal running background, changes what is obtained by the instant free memory.The embodiment of the present invention can be then turned on destination application when user terminal current residual internal memory meets maximum memory needed for destination application, so as to reduce the phenomenon that interim card occurs during destination application operation.

Description

The open method and user terminal of a kind of application program
Technical field
The present invention relates to field of computer technology, and in particular to the open method and user terminal of a kind of application program.
Background technology
With the popularization of the user terminals such as smart mobile phone, tablet personal computer, the application program of user terminal installation is more and more. In the practical application of user terminal, often in the presence of some running background application program, if the application of running background Program is too many, then can take excessive internal memory, it is easy to causes the application program of front stage operation Caton phenomenon occur.
The content of the invention
The embodiment of the invention discloses a kind of open method of application program and user terminal, reduces destination application fortune The phenomenon of interim card occurs during row.
First aspect of the embodiment of the present invention discloses a kind of open method of application program, and methods described includes:
User terminal receives the enabled instruction for destination application;
The user terminal obtains the instant free memory of the user terminal;
The user terminal obtains the destination application operationally required maximum memory;
The user terminal judge the destination application operationally required maximum memory whether be more than it is described i.e. When free memory, if judge the destination application operationally required maximum memory be more than it is described immediately in residue Deposit, then remove the application program of the user terminal running background until the current residual internal memory of the user terminal is more than described Destination application is operationally untill required maximum memory, and start the destination application, in the current residual It is after clearing up the application program of the user terminal running background to deposit, and changes what is obtained by the free memory immediately.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the user terminal is received and is directed to Before the enabled instruction of destination application, methods described also includes:
The user terminal detects most imperial palace required during each application program operation installed on the user terminal Deposit, obtain testing result, the testing result includes maximum memory required during each application program operation;
The user terminal stores the testing result;
The user terminal obtains the destination application operationally required maximum memory, including:
The user terminal obtains the destination application operationally required most imperial palace from the testing result Deposit.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the user terminal judges institute Stating destination application, operationally required maximum memory is more than after the free memory immediately, and removes the user The application program of terminal running background is being transported until the current residual internal memory of the user terminal more than the destination application During row untill required maximum memory before, methods described also includes:
The user terminal reads the grade that the destination application is set from the registration table of the user terminal Mark;
The class letter that the user terminal is set according to the destination application, judge the destination application Whether belong to the popular application program of the user terminal, if belonged to, perform the described removing user terminal backstage and transport Capable application program is operationally required more than the destination application until the current residual internal memory of the user terminal Untill maximum memory.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the user terminal is according to institute The class letter of destination application is stated, judges that the destination application belongs to the popular application program of the user terminal Afterwards, and the application program of the user terminal running background is removed until the current residual internal memory of the user terminal is more than The destination application operationally untill required maximum memory before, methods described also includes:
The user terminal obtains the identity information of the currently used person of the user terminal;
The user terminal verify the currently used person identity information whether the validated user with the user terminal Identity information match, if matched, perform the application program of the described removing user terminal running background until The current residual internal memory of the user terminal is more than the destination application operationally untill required maximum memory.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described in the user terminal removing The application program of user terminal running background is more than the destination application until the current residual internal memory of the user terminal Operationally untill required maximum memory, including:
The user terminal obtains the initiation culture of the application program of the user terminal running background;
The user terminal according to the application program of the user terminal running background initiation culture from low to high suitable Sequence, the application program of the user terminal running background is ranked up, obtains application queue;
The user terminal according to the application program of the user terminal running background initiation culture from low to high suitable Sequence, the application program for the user terminal running background being pointed in the application queue are removed one by one, until The current residual internal memory of the user terminal is more than the destination application operationally untill required maximum memory.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, and the user terminal includes:
Receiving unit, for receiving the enabled instruction for destination application;
First acquisition unit, for obtaining the instant free memory of the user terminal;
Second acquisition unit, for obtaining the destination application operationally required maximum memory;
First judging unit, the destination application for judging to be got by the second acquisition unit are being run Whether Shi Suoxu maximum memory is more than the instant free memory got by the first acquisition unit;
Clearing cell, for first judging unit judge the destination application operationally it is required most Big internal memory is more than after the free memory immediately, removes the application program of the user terminal running background until the user The current residual internal memory of terminal is more than the destination application and operationally triggers start unit untill required maximum memory Start, the current residual internal memory is after clearing up the application program of the user terminal running background, by described instant Free memory changes what is obtained;
The start unit, for starting the destination application.
As an alternative embodiment, in second aspect of the embodiment of the present invention, in addition to:
Detection unit, for before the receiving unit receives the enabled instruction for destination application, detecting institute Maximum memory required during each application program operation installed on user terminal is stated, obtains testing result, the detection knot Fruit includes maximum memory required during each application program operation;
Memory cell, for storing the testing result detected by the detection unit;
The second acquisition unit, specifically for obtaining the mesh in the testing result that is stored from the memory cell Mark application program operationally required maximum memory.
As an alternative embodiment, in second aspect of the embodiment of the present invention, in addition to:
Reading unit, for first judging unit judge the destination application operationally it is required most Big internal memory is more than after the free memory immediately, and the destination application quilt is read from the registration table of the user terminal The class letter of setting;
Second judging unit, for the class letter read according to the reading unit, judge that the target should Whether belong to the popular application program of the user terminal with program;
The clearing cell, specifically for judging the destination application operationally in first judging unit Required maximum memory is more than after the free memory immediately, and, judge the target in second judging unit Application program belongs to after the popular application program of the user terminal, removes the application program of the user terminal running background Until the current residual internal memory of the user terminal is more than the destination application operationally untill required maximum memory Start unit is triggered to start.
As an alternative embodiment, in second aspect of the embodiment of the present invention, in addition to:
3rd acquiring unit, for judging that the destination application belongs to the user in second judging unit After the popular application program of terminal, the identity information of the currently used person of the user terminal is obtained;
Verification unit, the identity of the currently used person of the user terminal obtained for verifying the 3rd acquiring unit Whether information matches with the identity information of the validated user of the user terminal;
The clearing cell, specifically for judging the destination application operationally in first judging unit Required maximum memory is more than after the free memory immediately, and, judge the target in second judging unit Application program belongs to after the popular application program of the user terminal, and, verified out in the verification unit described current After the identity information of the identity information of user and the validated user of the user terminal matches, the user terminal is removed The application program of running background is more than the destination application operationally until the current residual internal memory of the user terminal Start unit is triggered untill required maximum memory to start.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the clearing cell includes:
First subelement, for judging that the destination application is operationally required in first judging unit Maximum memory is more than after the free memory immediately, and, judge the intended application journey in second judging unit Sequence belongs to after the popular application program of the user terminal, and, verify out the currently used person in the verification unit Identity information and the user terminal validated user identity information match after, obtain the user terminal backstage and transport The initiation culture of capable application program;
Second subelement, for the order according to the initiation culture from low to high, to the user terminal running background Application program be ranked up, obtain application queue;
3rd subelement, for the order according to the initiation culture from low to high, it is pointed to the application queue In the application program of the user terminal running background removed one by one, until the current residual internal memory of the user terminal Untill the destination application operationally required maximum memory.
The third aspect of the embodiment of the present invention discloses a kind of user terminal, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the A kind of open method of application program disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer-readable recording medium, and it stores computer program, wherein, The computer program causes computer to perform a kind of open method of application program disclosed in first aspect of the embodiment of the present invention.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, user terminal first receives the enabled instruction for destination application, then obtains user's end The instant free memory and destination application at end operationally required maximum memory, if destination application is operationally Required maximum memory is more than instant free memory, then removes the application program of user terminal running background until user terminal Current residual internal memory is more than destination application operationally required maximum memory, and starts destination application, current surplus Remaining internal memory is after clearing up the application program of user terminal running background, changes what is obtained by instant free memory.It can be seen that Implement the embodiment of the present invention, can be opened again when user terminal current residual internal memory meets maximum memory needed for destination application Destination application is opened, reduces the phenomenon that interim card occurs during destination application operation, also, when user terminal operational objective should During with program, user terminal can fully ensure that the memory requirements for meeting run destination application.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow sheet of the open method of application program disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the open method of another application program disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another user terminal disclosed in the embodiment of the present invention.
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 describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and accompanying drawing Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but alternatively also include the step of not listing or unit, or it is optional Ground is also included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the invention discloses a kind of open method of application program and user terminal, can reduce intended application journey The phenomenon of interim card occurs during sort run.It is described in detail individually below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the open method of application program disclosed in the embodiment of the present invention. Wherein, it is whole to be applied to all types of user such as private tutor's machine, study mobile phone, study flat board for the open method of the application program described by Fig. 1 End, the embodiment of the present invention do not limit, wherein, the operating system of all types of user terminal may include but be not limited to Android operations System, IOS, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., the embodiment of the present invention does not limit.As shown in figure 1, the open method of the application program can wrap Include following operation:
101st, user terminal receives the enabled instruction for destination application.
In the embodiment of the present invention, the target that user is clicked on by using external equipment (such as mouse) on user terminal should With the mark of program, or the mark of the destination application on user terminal touch-screen is touched, or touched during user terminal blank screen Touch and the modes such as desired guiding trajectory (such as circular) are drawn on screen trigger enabled instruction for destination application so that user terminal The enabled instruction for destination application can be received.
As another optional embodiment, when the screen front of user's face face user terminal and user face When the distance of portion and user terminal is within preset range (such as 15 centimetres), user can say destination application name Claim so that user terminal can receive the enabled instruction for destination application, and further, user terminal can lead to Real-time face identification function and Application on Voiceprint Recognition function are crossed, judges whether user is validated user, if it is, user terminal can Whether there is this destination application on user terminal to retrieve, if so, then performing step 102.
102nd, user terminal obtains the instant free memory of user terminal.
In the embodiment of the present invention, user terminal is after the enabled instruction for destination application is received, Ke Yijian Survey the instant free memory of user terminal, the instant currently available internal memory of free memory i.e. user terminal.
In the embodiment of the present invention, user terminal can detect the instant free memory of user terminal in real time, work as user terminal Instant free memory when being less than predetermined threshold value (such as 1G), then display reminding information, prompt message are used for prompting user terminal The caching that user is cleared up in user terminal.
In the embodiment of the present invention, user terminal can be in the automatic cleaning user terminal of timing (such as every 6 hours once) Garbage files (such as browsing the advertising pictures downloaded automatically during webpage).
103rd, user terminal obtains destination application operationally required maximum memory.
In the embodiment of the present invention, user terminal, can be from user after the instant free memory of user terminal is got Destination application operationally required maximum memory is got in the local data base of terminal.
In the embodiment of the present invention, user terminal can detect internal memory required during each run destination application and will be every The related data of required internal memory is stored in the local data base of user terminal during secondary operational objective application program.Wherein, mesh It is one of application program installed on user terminal to mark application program, after each download renewal, shared by destination application Internal memory can from download renewal before it is different.
In the embodiment of the present invention, in the application program installed on the subscriber terminal, user can set any one application Program maximum memory (such as must not exceed 200M) shared when running.
In the embodiment of the present invention, when detecting that application program operationally has the file cached automatically, user terminal shows Show prompt message, the prompt message is used to prompt the user whether to allow user terminal to delete the file cached automatically, so as to real-time Clear up the internal memory shared by the file cached automatically.
104th, user terminal judges operationally whether required maximum memory is more than immediately in residue destination application Deposit, if it is, step 105 is performed, if it is not, then performing step 106.
In the embodiment of the present invention, when user terminal gets destination application operationally required maximum memory and i.e. When free memory after, by destination application, operationally required maximum memory and instant free memory are carried out user terminal Compare, if operationally required maximum memory is less than instant free memory to destination application, directly initiating target should With program, if operationally required maximum memory is more than instant free memory to destination application, user terminal is removed The application program of running background until user terminal current residual internal memory be more than destination application operationally it is required most Imperial palace saves as only, restarts destination application.
In the embodiment of the present invention, the current residual internal memory of user terminal is that the application program of user terminal running background is entered After row cleaning, change what is obtained by instant free memory.
105th, user terminal removes the application program of user terminal running background until the current residual internal memory of user terminal Untill destination application operationally required maximum memory.
In the embodiment of the present invention, user terminal is clear by low level application according to the class letter of application program The program of user terminal running background is managed, after user terminal clears up the program of a user terminal running background every time, is used Family terminal judges whether the current residual internal memory of user terminal is more than destination application operationally required maximum memory, such as Fruit is then to start destination application, if it is not, then continuing to clear up user terminal backstage fortune according to the order of grade from low to high Capable program.
In the embodiment of the present invention, user can lock some application programs (such as instant messaging application program) in advance, when with When family terminal performs cleaning operation, user terminal does not clear up some application programs locked in advance, can so reduce user's mistake The situation for crossing important messages occurs.
106th, user terminal starts destination application.
In the embodiment of the present invention, user terminal is removing the application program of user terminal running background until user terminal Current residual internal memory be more than destination application operationally untill required maximum memory after, user terminal then starts target Application program.
For example, when the mark that user clicks on certain application program triggers enabled instruction, user terminal is user automatically Remove the application program of running background, enough internal memories be provided when can so be run for certain application program, so can with During the terminal front stage operation application program of family, the phenomenon of interim card is reduced so that certain application program is smoothly run as far as possible.
It can be seen that the method implemented described by Fig. 1 can meet destination application in the current residual internal memory of user terminal Destination application is then turned on during required maximum memory, reduces the phenomenon that interim card occurs during destination application operation.
Embodiment two
Referring to Fig. 2, Fig. 2 is the flow signal of the open method of another application program disclosed in the embodiment of the present invention Figure.Wherein, the open method of the application program described by Fig. 2 is applied to all types of user such as private tutor's machine, study mobile phone, study flat board Terminal, the embodiment of the present invention do not limit.As shown in Fig. 2 the open method of the application program can include following operation:
Required maximum memory, is obtained during each application program operation the 201st, installed on user terminal detection user terminal To testing result.
In the embodiment of the present invention, testing result includes maximum memory required when each application program is run.
In the embodiment of the present invention, user terminal is after a certain application program is installed, when being run a certain application program, User terminal can all detect the internal memory taken during the operation of a certain application program in real time, during obtaining a certain application program each run The peak value of shared internal memory, user terminal obtain the maximum in shared internal memory peak value during each run again, are answered as a certain Required maximum memory when being run with program.
In the embodiment of the present invention, the application program not timing in user terminal automatically updates, and after automatically updating, user The internal memory that application program in terminal takes when running also can be different from before renewal, so, user terminal, which needs to store, to be applied The peak value of shared internal memory during program each run, and reacquire maximum during each run in the peak value of shared internal memory Value, i.e. user terminal need to constantly update maximum memory required during application program operation, and then update testing result.
202nd, user terminal storage testing result.
In the embodiment of the present invention, after user terminal obtains testing result, user terminal storage testing result.Wherein, Testing result includes maximum memory required during all application program operations in user terminal.
203rd, user terminal receives the enabled instruction for destination application.
In the embodiment of the present invention, the target that user is clicked on by using external equipment (such as mouse) on user terminal should With the mark of program, or the mark of the destination application on user terminal touch-screen is touched, or touched during user terminal blank screen Touch and the modes such as desired guiding trajectory (such as circular) are drawn on screen trigger enabled instruction for destination application so that user terminal The enabled instruction for destination application can be received.
As another optional embodiment, when the screen front of user's face face user terminal and user face When the distance of portion and user terminal is within preset range (such as 15 centimetres), user can say destination application name Claim so that user terminal can receive the enabled instruction for destination application, and further, user terminal can lead to Real-time face identification function and Application on Voiceprint Recognition function are crossed, judges whether user is validated user, if it is, user terminal can Whether there is this destination application on user terminal to retrieve, if so, then performing step 204.
204th, user terminal obtains the instant free memory of user terminal.
In the embodiment of the present invention, user terminal is after the enabled instruction for destination application is received, Ke Yijian Survey the instant free memory of user terminal, the instant currently available internal memory of free memory i.e. user terminal.
In the embodiment of the present invention, user terminal can detect the instant free memory of user terminal in real time, work as user terminal Instant free memory when being less than predetermined threshold value (such as 1G), then display reminding information, prompt message are used for prompting user terminal The caching that user is cleared up in user terminal.
In the embodiment of the present invention, user terminal can be in the automatic cleaning user terminal of timing (such as every 6 hours once) Garbage files (such as browsing the advertising pictures downloaded automatically during webpage).
205th, user terminal obtains destination application operationally required maximum memory from testing result.
In the embodiment of the present invention, user terminal, can be from user after the instant free memory of user terminal is got Destination application operationally required maximum memory is got in the local data base of terminal.
In the embodiment of the present invention, user terminal can detect internal memory required during each run destination application and will be every The related data of required internal memory is stored in the local data base of user terminal during secondary operational objective application program.Wherein, mesh It is one of application program installed on user terminal to mark application program, after each download renewal, shared by destination application Internal memory can from download renewal before it is different.
In the embodiment of the present invention, in the application program installed on the subscriber terminal, user can set any one application Program maximum memory (such as must not exceed 200M) shared when running.
In the embodiment of the present invention, when detecting that application program operationally has the file cached automatically, user terminal shows Show prompt message, the prompt message is used to prompt the user whether to allow user terminal to delete the file cached automatically, so as to real-time Clear up the internal memory shared by the file cached automatically.
206th, user terminal judges operationally whether required maximum memory is more than immediately in residue destination application Deposit, if it is, step 207~step 208 is performed, if it is not, then performing step 212.
In the embodiment of the present invention, when user terminal gets destination application operationally required maximum memory and i.e. When free memory after, by destination application, operationally required maximum memory and instant free memory are carried out user terminal Compare, if operationally required maximum memory is less than instant free memory to destination application, directly initiating target should With program, if operationally required maximum memory is more than instant free memory to destination application, user terminal is removed The application program of running background until user terminal current residual internal memory be more than destination application operationally it is required most Imperial palace saves as only, restarts destination application.
In the embodiment of the present invention, the current residual internal memory of user terminal is that the application program of user terminal running background is entered After row cleaning, change what is obtained by instant free memory.
207th, user terminal reads the class letter that destination application is set from the registration table of user terminal.
In the embodiment of the present invention, user terminal reads the class letter of application program from the registration table of user terminal, and Application program in user terminal is divided into multiple grades, and each grade has different class letters again.
In the embodiment of the present invention, for example, the application program in user terminal is divided into Three Estate, and wherein one-level should It is popular application program with program, the initiation culture of popular application program is at least starts once in twenty four hours, and two Level application is conventional application program, and the initiation culture of conventional application program is at least to start one in 36 hours Secondary, three-level program is the application program being of little use, and the initiation culture for the application program being of little use is to be less than ten times in 30 days.
In the embodiment of the present invention, some application programs can be set to start shooting self-starting item and lock these to apply journey by user Sequence, these application programs can be then avoided when the application program of user terminal cleaning running background.Typically, user terminal only can be certainly The dynamic garbage files cleared up in these application programs, still, if these application program committed memories are excessive, it have impact on user's end The normal use at end, user terminal then can display reminding information, prompt message is used to prompt user to clear up these manually to apply journey The garbage files cached in sequence.
208th, the class letter that user terminal is set according to destination application, judges whether destination application belongs to The popular application program of user terminal, if belonged to, step 209~step 210 is performed, if be not belonging to, performs step 212。
In the embodiment of the present invention, class letter that user terminal is set according to destination application judges intended application Whether grade corresponding to program belongs to popular application program, wherein, popular application program can be user's frequency of use it is high (such as Per in twenty four hours, user using destination application when a length of 6 hours) application program.
209th, user terminal obtains the identity information of the currently used person of user terminal.
In the embodiment of the present invention, user terminal judge destination application belong to user terminal popular application program it Afterwards, user terminal can obtain the identity information (such as portrait, voice messaging and vocal print etc.) of the currently used person of user terminal. For example, after user terminal receives enabled instruction, user terminal then opens front camera and currently used person is taken pictures, and Obtain identity information of the portrait of currently used person as currently used person, or, when user terminal receive enabled instruction it Afterwards, user terminal shows passage and starts speech identifying function automatically, is collected by the speech identifying function currently used The voice messaging and vocal print of person, the identity information as currently used person.
210th, whether user terminal verifies the identity information of currently used person and believes with the identity of the validated user of user terminal Manner of breathing matches, if matched, performs step 211~step 212, if mismatched, performs step 212.
In the embodiment of the present invention, if the identity information of currently used person is the portrait of currently used person, in user terminal After getting the portrait of currently used person of user terminal, user terminal can be by the validated user of user terminal memory storage Data corresponding to portrait and the data corresponding to the portrait of currently used person are compared, if comparison result is that similarity is high In 90%, then it is validated user that user terminal, which gives tacit consent to currently used person,;Or if the identity information of currently used person is believed for voice Breath and vocal print, then after user terminal have collected the voice messaging and vocal print of currently used person, user terminal can be by currently Data corresponding to the voice messaging of user and the data corresponding to the passage of user terminal displays are compared, and obtain Comparison result, if comparison result similarity is higher than 90%, the vocal print institute that user terminal can continue to compare currently used person is right The data corresponding to data and the vocal print of the legitimate user of user terminal answered, obtain vocal print comparison result, if vocal print ratio 90% is higher than to result similarity, it is validated user that user terminal, which then gives tacit consent to currently used person,.
211st, user terminal removes the application program of user terminal running background until the current residual internal memory of user terminal Untill destination application operationally required maximum memory.
In the embodiment of the present invention, user terminal is clear by low level application according to the class letter of application program The program of user terminal running background is managed, after user terminal clears up the program of a user terminal running background every time, is used Family terminal judges whether the current residual internal memory of user terminal is more than destination application operationally required maximum memory, such as Fruit is then to start destination application, if it is not, then continuing to clear up user terminal backstage fortune according to the order of grade from low to high Capable program.
In the embodiment of the present invention, user can lock some application programs (such as instant messaging application program) in advance, when with When family terminal performs cleaning operation, user terminal does not clear up some application programs locked in advance, can so reduce user's mistake The situation for crossing important messages occurs.
In the embodiment of the present invention, optionally, user terminal removes the application program of user terminal running background until user The current residual internal memory of terminal is more than destination application and can operationally included untill required maximum memory:
User terminal obtains the initiation culture of the application program of user terminal running background;
User terminal according to the application program of user terminal running background initiation culture order from low to high, to user The application program of terminal running background is ranked up, and obtains application queue;
User terminal is pointed to according to the initiation culture order from low to high of the application program of user terminal running background The application program of user terminal running background in application queue is removed one by one, until the current residual of user terminal Internal memory is more than destination application operationally untill required maximum memory.
212nd, user terminal starts destination application.
In the embodiment of the present invention, user terminal is removing the application program of user terminal running background until user terminal Current residual internal memory be more than destination application operationally untill required maximum memory after, user terminal then starts target Application program.
For example, when user needs to use user terminal to carry out video conference call, related application journey can be clicked on The mark triggering enabled instruction of sequence, after user terminal receives enabled instruction, user terminal then starts to remove background application Program, due to the instant messaging application program locked by user in the application program of running background be present, therefore, removing backstage During the application program of operation, user terminal skips instant messaging application program automatically, and it is not removed, so entered in user Also the important messages received in instant messaging application program will not be missed while row video conference call, except being locked by user Outside fixed application program, user terminal can remove the application program of running background according to hierarchal order from low to high.This Outside, because the related application of user terminal default video videoconference is popular application program, therefore, refer to performing startup Before order, user terminal can authenticate the identity information of user, if user is validated user, start related application journey Sequence, if user is not validated user, enabled instruction is not performed and shows the information of authentication failure.
It can be seen that the method implemented described by Fig. 2 can meet destination application institute in user terminal current residual internal memory Need to be then turned on destination application during maximum memory, the phenomenon of interim card occurs when reducing destination application operation, and add Identity information certification before application program use, the security of user terminal is improved, also optimize and remove answering for running background With the operation of program, the speed for starting application program is accelerated.
Embodiment three
Referring to Fig. 3, Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention.As shown in figure 3, The user terminal can include:
Receiving unit 301, for receiving the enabled instruction for destination application.
In the embodiment of the present invention, after the enabled instruction for destination application is received, receiving unit 301 may be used also To send first triggering command to first acquisition unit 302, started with triggering first acquisition unit 302, and obtained to second Unit 303 sends the second triggering command, is started with triggering second acquisition unit 303.
First acquisition unit 302, obtain the instant free memory of user terminal.
Second acquisition unit 303, obtain destination application operationally required maximum memory.
First judging unit 304, for the destination application that judges to be got by second acquisition unit 303 operationally Whether required maximum memory is more than the instant free memory got by first acquisition unit 302.
Clearing cell 305, for judging destination application operationally required maximum in the first judging unit 304 Internal memory is more than after instant free memory, removes the application program of user terminal running background until the current residual of user terminal Internal memory is more than destination application operationally untill required maximum memory, and triggers start unit 306 and start, current residual Internal memory is after clearing up the application program of user terminal running background, changes what is obtained by instant free memory.
Start unit 306, for starting destination application.
It can be seen that the user terminal described by implementing Fig. 3, can meet intended application journey in user terminal current residual internal memory Destination application is then turned on needed for sequence during maximum memory, reduces the phenomenon that interim card occurs during destination application operation.
Example IV
Referring to Fig. 3, Fig. 3 is the structural representation of another user terminal disclosed in the embodiment of the present invention.Wherein, Fig. 4 Shown user terminal is that user terminal as shown in Figure 3 optimizes what is obtained.Compared with the user terminal shown in Fig. 3, User terminal shown in Fig. 4 can also include:
Detection unit 307, for before receiving unit 301 receives the enabled instruction for destination application, detecting Required maximum memory, obtains testing result, testing result includes during each application program operation installed on user terminal Each application program maximum memory required when running.
Memory cell 308, for storing the testing result detected by detection unit 307.
Second acquisition unit 303, specifically for obtaining destination application in the testing result that is stored from memory cell 308 Operationally required maximum memory.
In an optional embodiment, as shown in figure 4, the user terminal can also include:
Reading unit 309, for judging destination application operationally required maximum in the first judging unit 304 Internal memory is more than after instant free memory, and the grade mark that destination application is set is read from the registration table of user terminal Know.
Second judging unit 310, for the class letter read according to reading unit 309, judges destination application Whether the popular application program of user terminal is belonged to.
Clearing cell 305, specifically for judging that destination application is operationally required in the first judging unit 304 Maximum memory is more than after instant free memory, and, judge that destination application belongs to user in the second judging unit 310 After the popular application program of terminal, the application program of user terminal running background is removed until in the current residual of user terminal Untill depositing more than destination application operationally required maximum memory, and trigger start unit 306 and start.
Further alternative in the optional embodiment, the user terminal can also include:
3rd acquiring unit 311, for judging that destination application belongs to user terminal in the second judging unit 310 After popular application program, the identity information of the currently used person of user terminal is obtained.
Verification unit 312, the identity letter of the currently used person of the user terminal obtained for verifying the 3rd acquiring unit 311 Whether breath matches with the identity information of the validated user of user terminal.
Clearing cell 305, specifically for judging that destination application is operationally required in the first judging unit 304 Maximum memory is more than after instant free memory, and, judge that destination application belongs to user in the second judging unit 310 After the popular application program of terminal, and, verify out the identity information and user terminal of currently used person in verification unit 312 Validated user identity information match after, remove user terminal running background application program until user terminal work as Preceding free memory is more than destination application operationally untill required maximum memory, and triggers start unit 306 and start.
Further optional, in the user terminal shown in Fig. 4, clearing cell 305 can include:
First subelement 3051, for judging that destination application is operationally required in the first judging unit 304 Maximum memory is more than after instant free memory, and, judge that destination application belongs to user in the second judging unit 310 After the popular application program of terminal, and, verify out the identity information and user terminal of currently used person in verification unit 312 Validated user identity information match after, obtain user terminal running background application program initiation culture.
Second subelement 3052, it is suitable with from low to high for the initiation culture got according to the first subelement 3051 Sequence, the application program of user terminal running background is ranked up, obtains application queue.
3rd subelement 3053, it is suitable with from low to high for the initiation culture got according to the first subelement 3051 Sequence, be pointed to the second subelement 3052 acquisition application queue in user terminal running background application program carry out by Individual removing, until the current residual internal memory of user terminal is more than destination application operationally untill required maximum memory, Triggering start unit 306 starts.
It can be seen that implementing the user terminal described by Fig. 4, intended application journey can be met in user terminal current residual internal memory Destination application is then turned on needed for sequence during maximum memory, reduces the phenomenon that interim card occurs during destination application operation, and The validated user certification added before application program use, improves the security of user terminal, also optimizes removing background application The operation of program, accelerate the speed for starting application program.
The embodiment of the invention also discloses a kind of user terminal, including:
It is stored with the memory of executable program code;
The processor coupled with memory;
Processor calls the executable program code stored in memory, performs the application program described by Fig. 1 or Fig. 2 Open method.
The aspect of the embodiment of the present invention the 5th discloses a kind of computer-readable recording medium, and it stores computer program, wherein, The computer program causes computer to perform the open method of the application program described by Fig. 1 or Fig. 2.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
Detailed Jie has been carried out to the open method of a kind of application program disclosed in the embodiment of the present invention and user terminal above Continue, specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair Bright thought, there will be changes in specific embodiments and applications, in summary, this specification content should not manage Solve as limitation of the present invention.

Claims (10)

1. a kind of open method of application program, it is characterised in that methods described includes:
User terminal receives the enabled instruction for destination application;
The user terminal obtains the instant free memory of the user terminal;
The user terminal obtains the destination application operationally required maximum memory;
The user terminal judge the destination application operationally required maximum memory whether be more than it is described immediately surplus Remaining internal memory, if judging, operationally required maximum memory is more than the instant free memory to the destination application, The application program of the user terminal running background is removed until the current residual internal memory of the user terminal is more than the target Operationally untill required maximum memory, and start the destination application, the current residual internal memory is application program After clearing up the application program of the user terminal running background, change what is obtained by the free memory immediately.
2. according to the method for claim 1, it is characterised in that the user terminal receives opening for destination application Before dynamic instruction, methods described also includes:
The user terminal detects maximum memory required during each application program operation installed on the user terminal, obtains To testing result, the testing result includes maximum memory required during each application program operation;
The user terminal stores the testing result;
The user terminal obtains the destination application operationally required maximum memory, including:
The user terminal obtains the destination application operationally required maximum memory from the testing result.
3. method according to claim 1 or 2, it is characterised in that the user terminal judges the intended application journey Operationally required maximum memory is more than after the free memory immediately sequence, and removes the user terminal running background Application program until the user terminal current residual internal memory be more than the destination application operationally it is required most Before imperial palace saves as only, methods described also includes:
The user terminal reads the class letter that the destination application is set from the registration table of the user terminal;
The class letter that the user terminal is set according to the destination application, whether judge the destination application Belong to the popular application program of the user terminal, if belonged to, perform the described removing user terminal running background Application program is more than the destination application operationally required maximum until the current residual internal memory of the user terminal Untill internal memory.
4. according to the method for claim 3, it is characterised in that the user terminal is according to the destination application Class letter, judge that the destination application belongs to after the popular application program of the user terminal, and remove institute The application program of user terminal running background is stated until the current residual internal memory of the user terminal is more than the intended application journey Sequence operationally untill required maximum memory before, methods described also includes:
The user terminal obtains the identity information of the currently used person of the user terminal;
The user terminal verify the currently used person identity information whether the body with the validated user of the user terminal Part information match, if matched, the application program of the described removing user terminal running background is performed until described The current residual internal memory of user terminal is more than the destination application operationally untill required maximum memory.
5. according to the method for claim 4, it is characterised in that the user terminal removes the user terminal running background Application program until the user terminal current residual internal memory be more than the destination application operationally it is required most Imperial palace saves as only, including:
The user terminal obtains the initiation culture of the application program of the user terminal running background;
The user terminal according to the application program of the user terminal running background initiation culture order from low to high, it is right The application program of the user terminal running background is ranked up, and obtains application queue;
The user terminal according to the application program of the user terminal running background initiation culture order from low to high, it is right The application program of the user terminal running background in the application queue is removed one by one, until the use The current residual internal memory of family terminal is more than the destination application operationally untill required maximum memory.
A kind of 6. user terminal, it is characterised in that including:
Receiving unit, for receiving the enabled instruction for destination application;
First acquisition unit, for obtaining the instant free memory of the user terminal;
Second acquisition unit, for obtaining the destination application operationally required maximum memory;
First judging unit, for the destination application that judges to be got by the second acquisition unit operationally institute Whether the maximum memory needed is more than the instant free memory got by the first acquisition unit;
Clearing cell, for judging the destination application operationally required most imperial palace in first judging unit Deposit more than after the free memory immediately, remove the application program of the user terminal running background until the user terminal Current residual internal memory be more than the destination application and operationally trigger start unit untill required maximum memory and start, The current residual internal memory is after clearing up the application program of the user terminal running background, by the instant residue Deposit what change obtained;
The start unit, for starting the destination application.
7. user terminal according to claim 6, it is characterised in that also include:
Detection unit, for before the receiving unit receives the enabled instruction for destination application, detecting the use Required maximum memory, obtains testing result, the testing result bag during each application program operation installed in the terminal of family Include maximum memory required during each application program operation;
Memory cell, for storing the testing result detected by the detection unit;
The second acquisition unit, should specifically for obtaining the target in the testing result that is stored from the memory cell With program operationally required maximum memory.
8. the user terminal according to claim 6 or 7, it is characterised in that also include:
Reading unit, for judging the destination application operationally required most imperial palace in first judging unit Deposit more than after the free memory immediately, the destination application is read from the registration table of the user terminal and is set Class letter;
Second judging unit, for the class letter read according to the reading unit, judge the intended application journey Whether sequence belongs to the popular application program of the user terminal;
The clearing cell, specifically for judging that the destination application is operationally required in first judging unit Maximum memory be more than it is described immediately after free memory, and, judge the intended application in second judging unit Program belongs to after the popular application program of the user terminal, remove the application program of the user terminal running background until The current residual internal memory of the user terminal, which is more than the destination application, operationally to be triggered untill required maximum memory Start unit starts.
9. user terminal according to claim 8, it is characterised in that also include:
3rd acquiring unit, for judging that the destination application belongs to the user terminal in second judging unit Popular application program after, obtain the identity information of the currently used person of the user terminal;
Verification unit, the identity information of the currently used person of the user terminal obtained for verifying the 3rd acquiring unit Whether match with the identity information of the validated user of the user terminal;
The clearing cell, specifically for judging that the destination application is operationally required in first judging unit Maximum memory be more than it is described immediately after free memory, and, judge the intended application in second judging unit Program belongs to after the popular application program of the user terminal, and, verified out in the verification unit described currently used After the identity information of the identity information of person and the validated user of the user terminal matches, the user terminal backstage is removed The application program of operation is operationally required more than the destination application until the current residual internal memory of the user terminal Maximum memory untill trigger start unit start.
10. user terminal according to claim 9, it is characterised in that the clearing cell includes:
First subelement, for judging the destination application operationally required maximum in first judging unit Internal memory is more than after the free memory immediately, and, judge the destination application category in second judging unit After the popular application program of the user terminal, and, verify out the body of the currently used person in the verification unit After the identity information of part information and the validated user of the user terminal matches, the user terminal running background is obtained The initiation culture of application program;
Second subelement, for the order according to the initiation culture from low to high, the user terminal running background is answered It is ranked up with program, obtains application queue;
3rd subelement, for the order according to the initiation culture from low to high, it is pointed in the application queue The application program of the user terminal running background is removed one by one, until the current residual internal memory of the user terminal is more than The destination application is operationally untill required maximum memory.
CN201710967566.5A 2017-10-18 2017-10-18 The open method and user terminal of a kind of application program Pending CN107678849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710967566.5A CN107678849A (en) 2017-10-18 2017-10-18 The open method and user terminal of a kind of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710967566.5A CN107678849A (en) 2017-10-18 2017-10-18 The open method and user terminal of a kind of application program

Publications (1)

Publication Number Publication Date
CN107678849A true CN107678849A (en) 2018-02-09

Family

ID=61141509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710967566.5A Pending CN107678849A (en) 2017-10-18 2017-10-18 The open method and user terminal of a kind of application program

Country Status (1)

Country Link
CN (1) CN107678849A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium
CN111756922A (en) * 2020-06-15 2020-10-09 北京智明星通科技股份有限公司 Method and system for running mobile phone game and game terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN105242973A (en) * 2015-11-10 2016-01-13 上海斐讯数据通信技术有限公司 Internal memory optimization method of Android system
CN105335099A (en) * 2015-09-25 2016-02-17 深圳市金立通信设备有限公司 Memory cleaning method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN105335099A (en) * 2015-09-25 2016-02-17 深圳市金立通信设备有限公司 Memory cleaning method and terminal
CN105242973A (en) * 2015-11-10 2016-01-13 上海斐讯数据通信技术有限公司 Internal memory optimization method of Android system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710363A (en) * 2018-12-26 2019-05-03 北京金山安全软件有限公司 Method and device for preventing application program from being cleaned, terminal equipment and storage medium
CN111756922A (en) * 2020-06-15 2020-10-09 北京智明星通科技股份有限公司 Method and system for running mobile phone game and game terminal

Similar Documents

Publication Publication Date Title
CN106453061B (en) A kind of method and system identifying network fraudulent act
CN103984579B (en) More equipment rooms share the method for current application program real-time running state
CN105550554B (en) A kind of glance prevention method and mobile terminal
CN106156619A (en) Application safety means of defence and device
CN107426079A (en) A kind of processing method and processing device of informing message
CN107678849A (en) The open method and user terminal of a kind of application program
CN104598122B (en) A kind of terminal
CN103076879A (en) Multimedia interaction method and device based on face information, and terminal
CN103679013A (en) System rogue program detecting method and device
US10097685B2 (en) Telecommunications privacy method
CN113034808A (en) Interaction method, interaction device and interaction system
CN105760075B (en) Creation method, device and the intelligent terminal of operation note
CN106780998A (en) One kind moves back chucking method and device
CN107329763A (en) Application program interface display method and device, electronic equipment and storage medium
CN107507308B (en) Information matching method and device and intelligent door lock
CN107257361A (en) A kind of method and mobile terminal for downloading application program
CN106686246B (en) Short message processing method and terminal
CN109413283B (en) Method for extracting key information in call and mobile terminal
CN106559551A (en) A kind of information cuing method of address list, device
CN110084947B (en) Access control information updating method and device
CN106778927A (en) Update TV semantics recognition dictionary method and device
US20220279015A1 (en) Method for detecting financial attacks in emails
CN115688107A (en) Fraud-related APP detection system and method
US20150261961A1 (en) Scenario-based security method and system
CN107766826A (en) A kind of method and electronic equipment for searching word lexical or textual analysis

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180209

RJ01 Rejection of invention patent application after publication