CN109274815A - Program operation control method, device, readable storage medium storing program for executing and mobile terminal - Google Patents

Program operation control method, device, readable storage medium storing program for executing and mobile terminal Download PDF

Info

Publication number
CN109274815A
CN109274815A CN201810961362.5A CN201810961362A CN109274815A CN 109274815 A CN109274815 A CN 109274815A CN 201810961362 A CN201810961362 A CN 201810961362A CN 109274815 A CN109274815 A CN 109274815A
Authority
CN
China
Prior art keywords
mobile terminal
program
mode
scene mode
current
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
CN201810961362.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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201810961362.5A priority Critical patent/CN109274815A/en
Publication of CN109274815A publication Critical patent/CN109274815A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Abstract

The present invention relates to a kind of program operation control method, device, readable storage medium storing program for executing and mobile terminals, and described method includes following steps: obtaining the present system time and current location information of the mobile terminal;According to the present system time and the current location information, the current scene mode of the mobile terminal is determined;It controls the mobile terminal and only runs application program corresponding with the current scene mode.The program for being not required to operation can be freezed, the speed of service of end product can be improved by program operation control method proposed by the present invention.

Description

Program operation control method, device, readable storage medium storing program for executing and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, in particular to a kind of program operation control method, device, readable storage Medium and mobile terminal.
Background technique
It is with the continuous development of science and technology and economical growing, mobile terminal be life for people with An indispensable object in work.Especially in recent years, have become frequency of use highest one in people's daily life Kind electronic equipment.People can use mobile phone terminal make a phone call, send out wechat, see webpage, see video, see news, play game and Shopping etc., substantially whenever and wherever possible it can be seen that people use the figure of mobile phone terminal.
However, current intelligent mobile phone terminal, due to being mounted with diversified application program, when operation is more simultaneously on backstage When a application program.Cell phone terminal inevitably the problem of Caton can occur since running memory is insufficient, to a certain extent Affect the usage experience of user.
Summary of the invention
Based on this, the purpose of the present invention is to solve existing intelligent mobile phone terminals, when backstage runs multiple answer simultaneously When with program, cell phone terminal the problem of Caton can occur since running memory is insufficient.
The present invention proposes a kind of program operation control method, is applied to a mobile terminal, wherein the method includes as follows Step:
Obtain the present system time and current location information of the mobile terminal;
According to the present system time and the current location information, the current scene mould of the mobile terminal is determined Formula;
It controls the mobile terminal and only runs application program corresponding with the current scene mode.
Program operation control method proposed by the present invention determines movement by the system time and location information of acquisition Then the scene mode of terminal controls mobile terminal and only runs application program relevant to current scene mode, others are answered It carries out freezing to handle with program, to reduce the memory operation consumption of mobile terminal, improves the speed of service of mobile terminal. The program for being not required to operation can be freezed, the operation of end product can be improved by program operation control method proposed by the present invention Speed.
In addition, program operation control method proposed by the present invention, can also have the following additional technical features:
Described program progress control method, wherein in the present system time for obtaining the mobile terminal and work as Before the step of front position information, the method also includes:
When receiving starting-up signal instruction, a model selection prompt information, the model selection prompt information are generated For prompting user to select in normal operation mode or scene operational mode, wherein the scene operational mode is corresponding Scene mode is operative scenario mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
Described program progress control method, wherein described according to the present system time and the present bit confidence Breath, the method for determining the current scene mode of the mobile terminal include the following steps:
According to the current location information, analysis obtains the changing coordinates of the mobile terminal in default map data base Location type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode by the location type, the work day off type and the current slot The default condition that meets be compared, with the corresponding current scene mode of the determination mobile terminal.
Described program progress control method, wherein determining the corresponding current scene mode of the mobile terminal After step, the method also includes:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the movement The application program that the current scene mode is not belonging in terminal is freezed.
Described program progress control method, wherein the method also includes:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode Missed call number and/or message push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then institute is controlled It states mobile terminal and is switched to the normal operation mode.
Described program progress control method, wherein the mobile terminal is corresponding with the first EMS memory occupation value, in described first It deposits occupation value and runs the maximum memory occupation value that can be carried for the application program smoothness of the guarantee mobile terminal, determining After the step of stating the current scene mode of mobile terminal, the method also includes:
When determine the corresponding EMS memory occupation total value of application program that is run under the current scene mode be greater than it is described First EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
Described program progress control method, wherein the method also includes:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping field Any one of scape mode or the moving scene mode;
If it is not, then controlling the mobile terminal is switched to the normal operation mode.
Described program progress control method, wherein the method also includes:
Obtain the corresponding frequency of usage of each application program on the mobile terminal, using duration, memory consumption accounting And power consumption accounting;
According to the frequency of usage, the use duration, the memory consumption accounting and the power consumption accounting, calculate To the corresponding freezing fraction of each application program, wherein the freezing fraction is to freeze each application program Preferential angle value.
Described program progress control method, wherein the method also includes following steps:
Judge the corresponding EMS memory occupation total value of application program under the normal operation mode, if be greater than described first EMS memory occupation value;
If so, being ranked up according to the corresponding freezing fraction of each application program, sequentially to the application Program freeze until the free memory of the mobile terminal is greater than the first EMS memory occupation value.
The present invention proposes a kind of program operating control device, is applied to a mobile terminal, wherein described device includes:
Data obtaining module, for obtaining the present system time and current location information of the mobile terminal;
Scene determining module, for determining the shifting according to the present system time and the current location information The current scene mode of dynamic terminal;
Program controling module only runs application corresponding with the current scene mode for controlling the mobile terminal Program.
Described program operating control device, wherein the control device further includes an interactive selection module, for when reception To when starting-up signal instruction, a model selection prompt information is generated, the model selection prompt information is for prompting user to exist It is selected in normal operation mode or scene operational mode, wherein the corresponding scene mode of the scene operational mode is work Scene mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
Described program operating control device, wherein the scene determining module is used for:
According to the current location information, analysis obtains the changing coordinates of the mobile terminal in default map data base Location type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode by the location type, the work day off type and the current slot The default condition that meets be compared, with the corresponding current scene mode of the determination mobile terminal.
Described program operating control device, wherein described program control module is used for:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the movement The application program that the current scene mode is not belonging in terminal is freezed.
Described program operating control device, wherein the control device further includes a mode switch module, is used for:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode Missed call number and/or message push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then institute is controlled It states mobile terminal and is switched to the normal operation mode.
Described program operating control device, wherein the mobile terminal is corresponding with the first EMS memory occupation value, in described first It deposits occupation value and runs the maximum memory occupation value that can be carried, described program for the application program smoothness of the guarantee mobile terminal Control module is also used to:
When determine the corresponding EMS memory occupation total value of application program that is run under the current scene mode be greater than it is described First EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
Described program operating control device, wherein the mode switch module is also used to:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping field Any one of scape mode or the moving scene mode;
If the location type is not belonging to the operative scenario mode, the leisure scene mode, the shopping scene mould Any one of formula or the moving scene mode then control the mobile terminal and are switched to the normal operation mode.
Described program operating control device, wherein described program control module is also used to:
Obtain the corresponding frequency of usage of each application program on the mobile terminal, using duration, memory consumption accounting And power consumption accounting;
According to the frequency of usage, the use duration, the memory consumption accounting and the power consumption accounting, calculate To the corresponding freezing fraction of each application program, wherein the freezing fraction is to freeze each application program Preferential angle value.
Described program operating control device, wherein described program control module is also used to:
Judge the corresponding EMS memory occupation total value of application program under the normal operation mode, if be greater than described first EMS memory occupation value;
It is accounted for if the corresponding EMS memory occupation total value of application program under the normal operation mode is greater than first memory With value, then it is ranked up according to the corresponding freezing fraction of each application program, sequentially the application program is carried out Freeze until the free memory of the mobile terminal is greater than the first EMS memory occupation value.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein described program is processed Device realizes program operation control method as described above when executing.
The present invention also proposes a kind of mobile terminal, including memory, processor and storage on a memory and can located The computer program run on reason device, wherein the processor realizes program operation control as described above when executing described program Method processed.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart for the program operation control method that first embodiment of the invention proposes;
Fig. 2 is the flow chart for the program operation control method that second embodiment of the invention proposes;
Fig. 3 is the flow chart for the program operation control method that third embodiment of the invention proposes;
Fig. 4 is the structural schematic diagram for the program operating control device that fourth embodiment of the invention proposes;
Fig. 5 is the structural schematic diagram for the program operating control device that fifth embodiment of the invention proposes.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing Give preferred embodiment of the invention.But the invention can be realized in many different forms, however it is not limited to this paper institute The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases Any and all combinations of the listed item of pass.
Current intelligent mobile phone terminal, due to being mounted with diversified application program, when backstage runs multiple answer simultaneously When with program.Cell phone terminal inevitably the problem of Caton can occur since running memory is insufficient, influence to a certain extent The usage experience of user.
In order to solve this technical problem, the present invention proposes a kind of program operation control method, referring to Fig. 1, for this The program operation control method that invention first embodiment proposes is applied to a mobile terminal, wherein this method includes following step It is rapid:
S101 obtains the present system time and current location information of the mobile terminal.
It takes the mobile phone as an example and is specifically described below.Since mobile phone is built-in with locator, which obtains working as mobile phone Front position information namely coordinate information.After obtaining location information, the location coordinate information and map data base that will acquire into Row compares analysis, determines the position that user is presently in.In this respect it is to be noted that user can be right in advance in map data base Common place is marked, such as company, family, gymnasium and sports ground etc..When mobile phone gets a certain position coordinates, The position coordinates that will acquire are compared with the map data base prestored, may thereby determine that the place class of user's Location Type.For example, being located in market when navigating to user, then the user is possible to just do shopping in market.
It in the present embodiment, is to carry out comprehensive judgement in such a way that user present position and current slot combine The corresponding scene mode of mobile phone.
S102 determines the current of the mobile terminal according to the present system time and the current location information Scene mode.
As described above, determining scene mould in this embodiment by the mode that the time combines with user present position Formula.In this step, scene mode may include operative scenario mode, leisure scene mode, shopping scene mode and movement Scene mode.
Wherein, above-mentioned system time includes at least work day off type and current slot.For example, get System time information is that " on August 21st, 2018, on Tuesday, AM 9:00 ", wherein the time is working day type, current time Also belong to working time section " AM 8:00~12:00 ".The system time got meets the time requirement of operative scenario.It ties again The location of accessed user coordinate is closed, such as user is located at company at this time, then system can determine that user is in work State, mobile phone should also correspond to and be switched to operative scenario mode at this time.
For another example the system time information got is " on August 4th, 2018, Tuesday, AM 9:00 ", wherein time For day off type, since under day off type, system default is not configured to operative scenario mode.In the present embodiment, only It is matched in above-mentioned leisure scene mode, shopping scene mode and moving scene mode.In conjunction with accessed The location of user coordinate, such as user is located at shopping plaza at this time, then system can determine that user is in shopping status, at this time Mobile phone should also correspond to and be switched to shopping scene mode;If user is located at golf course at this time, system can determine that user is in Leisure state, mobile phone should also correspond to and be switched to leisure scene mode at this time;If user is located at stadium of track and field at this time, system be can determine that User is kept in motion, and mobile phone should also correspond to and be switched to moving scene mode at this time.
S103 controls the mobile terminal and only runs application program corresponding with the current scene mode.
In this step, after corresponding scene mode has been determined, cell phone system will be under only operation and the scene mode Relevant application program, and the little application program of the degree of association is freezed.
For example, then only application program relevant to commercial work is opened when determining that user is in operative scenario mode So as to spare, and other not associated application programs are freezed.For example, by the common business office on the mobile phone of loading The process controls such as program " communication assistant " " the all-round king of scanning ", " nail nail ", " intelligence connection is recruited " and " the all-round king of business card " are wait open State is opened, and other application programs are freezed, to reduce the memory consumption of mobile phone, to promote the overall operation of mobile phone Speed.
For another example when determine scene mode is done shopping at user when, then only will the unlatching of relevant to shopping application program so as to It is spare, and other not associated application programs are freezed.For example, by the common shopping application program on the mobile phone of loading Process controls such as " Taobao " " spell the more ", " Meituan " and " Alipay " are state to be opened, and by other application programs into Row freezes.As described above, the setting can reduce the memory consumption of mobile phone, to promote the overall operation speed of mobile phone.
Program operation control method proposed by the present invention determines movement by the system time and location information of acquisition Then the scene mode of terminal controls mobile terminal and only runs application program relevant to current scene mode, others are answered It carries out freezing to handle with program, to reduce the memory operation consumption of mobile terminal, improves the speed of service of mobile terminal. The program for being not required to operation can be freezed, the operation of end product can be improved by program operation control method proposed by the present invention Speed.
Program operation control method proposed by the present invention is carried out with a more detailed embodiment below more detailed Ground explanation.Referring to Fig. 2, for the program operation control method that second embodiment of the invention proposes, specific embodiment packet Include following steps:
S201 selects normal operation mode or scene operational mode to be run.
After mobile phone power-on, cell phone system can generate a model selection prompt information, wherein the model selection prompt information For prompting user to select in normal operation mode and scene operational mode.In the present embodiment, scene operational mode Corresponding scene mode can be operative scenario mode, leisure scene mode, shopping scene mode and moving scene mode One of.Herein it should be added that, scene mode be not limited to it is above-mentioned several, can also be according to practical application need It asks and the actual use of user habit carries out customized setting.
S202, with the operation of scene operational mode.
After user's selection is run with scene mode, cell phone system can be according to acquired system time and location information To determine user's scene mode locating at that time.
S203 obtains present system time and current location information.
Likewise, in this step, above-mentioned system time includes at least work day off type and current slot. For example, the system time information got is that " on August 21st, 2018, on Tuesday, PM 8:30 " passes through the positioning built in mobile phone Device obtains current location information.
S204 determines location type, work day off type and current slot.
After obtaining system time and current location information, according to current location information, in default map datum Analysis obtains the location type of the changing coordinates of mobile phone in library.Further according to present system time, analysis, which determines, obtains work rest Day type and current slot, finally by the location type of the location of user, work day off type and it is current when Between section, it is corresponding with each scene mode it is default meet condition and be compared, to determine scene mode that user is presently in.
For example, the system time information got is " on August 21st, 2018, Tuesday, PM 8:30 ", wherein time For working day type, current time belongs to quitting time section " AFTER PM 6:00 ".When the system time got meets next Between section time requirement.In conjunction with the location of accessed user coordinate, the location type of user present position is determined.
S205 determines current scene mode, and other application program is freezed.
As described in step S204, the system time got is working day type, and belongs to quitting time section.In conjunction with institute The position coordinates got, such as user is located at sports ground at this time, then system can determine that user is in After Hours motion state, this Shi Shouji should also be corresponded to and is switched to moving scene mode.
At this point, mobile phone can only operation application program under moving scene mode relevant, such as " keep ", " interest move " with And " moving at once " etc..And other application programs unrelated with the moving scene mode are freezed.It should be understood that this sets The overall operation speed that mobile phone can be improved is set, the power consumption of mobile phone, the stand-by time of extending cell phone are reduced.
It, not only can will be with this after current scene mode has been determined herein it may also be noted that in the present embodiment The incoherent application program of scene mode carries out freezing to handle, when the EMS memory occupation total value of mobile phone has exceeded what mobile phone can carry It, can be by temporary not running other under the current scene mode after maximum memory occupation value (being denoted as the first EMS memory occupation value herein) Application program be set as frozen state.For example, being loaded on mobile phone when determining that current scene mode is shopping scene mode Application program relevant to the shopping scene mode include " Taobao ", " Meituan net ", " Jingdone district store ", " public comment " and " spelling the more " etc..Be currently at unlatching operating status has " Taobao ", " Meituan net " and " Jingdone district store ", if determining mobile phone EMS memory occupation total value exceed preset first EMS memory occupation value, then at this time can be (" public by other application programs that do not open temporarily Comment " and " spelling the more ") freeze to close, to guarantee the speed of service of mobile phone.
As another preferred embodiment, due under single scene mode, other application journeys unrelated with the scene mode Sequence is frozen.For messaging application, under scene mode, such as under the scene mode that lies fallow, Yong Huyou The information of messaging application possibly can not be timely received.In order to solve this problem, in the present invention, statistics is stopped described Missed call number and/or message under not busy scene mode push number;When determine missed call number and/or the message push number Beyond corresponding preset threshold, then controls mobile phone and be switched to normal operation mode.
S206 is run with normal operation mode.
In this respect it is to be noted that then being run with existing conventional mobile phone when user's selection is run with normal operation mode Mode is identical.
Referring to Fig. 3, for the program operation control method that third embodiment of the invention proposes, specific embodiment packet Include following steps:
S301 obtains present system time and current location information.
In this step, the present system time of acquisition includes at least work day off type and current slot.Example Such as, the system time information got is that " on August 21st, 2018, on Tuesday, PM 8:30 " passes through the locator built in mobile phone Obtain current location information.
S302 determines location type according to location information.
In practical applications, the current location information of acquisition with map data base when being compared, not each Position coordinates point can accurately determine location type.For example, the enterprising every trade of road of the user between " market " and " company " It walks, the location of user type can not be directly determined according to position coordinates at this time.
S303, judges whether location type belongs to one of scene mode.
In the present embodiment, common scene mode includes operative scenario mode, leisure scene mode, shopping scene mode And moving scene mode.After obtaining current location information, location type is determined according to the current location information, is then sentenced The one of which whether location type of breaking belongs in above-mentioned scene mode.
S304, control mobile terminal are switched to normal operation mode.
As described in step S302, if location type namely position class can not be determined according to acquired current location information Type is not belonging to any one of above-mentioned scene mode.Control cell phone system is switched to normal operation mode namely existing at this time Regular run mode.
S305 obtains the frequency of usage of each application program, using duration, memory consumption accounting and power consumption accounting, and Freezing fraction is calculated.
When due to being run with normal operation mode, cell phone system is it is possible to can occur low memory and influence to run The problem of speed.In order to solve this problem, in the present embodiment, by counting the frequency of usage f of each application program, using Duration T, memory consumption accounting Q1And power consumption accounting Q2, freezing fraction is then calculated according to formula:
W=af+bT+cQ1+dQ2
Wherein, W is freezing fraction, which is the preferential angle value for freezing each application program, a, b, c with D is respectively correction coefficient.
S306, judges whether EMS memory occupation total value is greater than the first EMS memory occupation value.
S307 is ranked up according to freezing fraction, and is sequentially freezed.
When the EMS memory occupation total value for determining mobile phone is greater than the first above-mentioned EMS memory occupation value, illustrate that the mobile phone has card Risk, needs to carry out freezing to handle to certain applications program.In the present embodiment, freezing fraction is bigger, and that is freezed is excellent First spend it is higher, until the free memory of mobile phone is greater than the first EMS memory occupation value, to guarantee the smooth operation of mobile phone.
Referring to Fig. 4, it is mobile whole to be applied to one for the program operating control device that fourth embodiment of the invention proposes End, wherein described device includes data obtaining module 11, scene determining module 12 and program controling module 13;
The data obtaining module 11 is specifically used for:
Obtain the present system time and current location information of the mobile terminal;
The scene determining module 12 is specifically used for:
According to the present system time and the current location information, the current scene mould of the mobile terminal is determined Formula;
Described program control module 13 is specifically used for:
It controls the mobile terminal and only runs application program corresponding with the current scene mode.
Referring to Fig. 5, described device includes information for the program operating control device that fifth embodiment of the invention proposes Obtain module 11, scene determining module 12 and program controling module 13;
The data obtaining module 11 is specifically used for:
Obtain the present system time and current location information of the mobile terminal;
The scene determining module 12 is specifically used for:
According to the present system time and the current location information, the current scene mould of the mobile terminal is determined Formula;
Described program control module 13 is specifically used for:
It controls the mobile terminal and only runs application program corresponding with the current scene mode.
The control device further includes an interactive selection module 10, is specifically used for:
When receiving starting-up signal instruction, a model selection prompt information, the model selection prompt information are generated For prompting user to select in normal operation mode or scene operational mode, wherein the scene operational mode is corresponding Scene mode is operative scenario mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
The scene determining module 12 also particularly useful for:
According to the current location information, analysis obtains the changing coordinates of the mobile terminal in default map data base Location type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode by the location type, the work day off type and the current slot The default condition that meets be compared, with the corresponding current scene mode of the determination mobile terminal.
Described program control module 13 is specifically used for:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the movement The application program that the current scene mode is not belonging in terminal is freezed.
The control device further includes a mode switch module 14, is specifically used for:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode Missed call number and/or message push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then institute is controlled It states mobile terminal and is switched to the normal operation mode.
The mobile terminal is corresponding with the first EMS memory occupation value, and the first EMS memory occupation value is to guarantee the mobile terminal Application program smoothness run the maximum memory occupation value that can carry, described program control module 13 also particularly useful for:
When determine the corresponding EMS memory occupation total value of application program that is run under the current scene mode be greater than it is described First EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
The mode switch module 14 is also used to:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping field Any one of scape mode or the moving scene mode;
If the location type is not belonging to the operative scenario mode, the leisure scene mode, the shopping scene mould Any one of formula or the moving scene mode then control the mobile terminal and are switched to the normal operation mode.
Described program control module 13 is also used to:
Obtain the corresponding frequency of usage of each application program on the mobile terminal, using duration, memory consumption accounting And power consumption accounting;
According to the frequency of usage, the use duration, the memory consumption accounting and the power consumption accounting, calculate To the corresponding freezing fraction of each application program, wherein the freezing fraction is to freeze each application program Preferential angle value.
Described program control module 13 also particularly useful for:
Judge the corresponding EMS memory occupation total value of application program under the normal operation mode, if be greater than described first EMS memory occupation value;
It is accounted for if the corresponding EMS memory occupation total value of application program under the normal operation mode is greater than first memory With value, then it is ranked up according to the corresponding freezing fraction of each application program, sequentially the application program is carried out Freeze until the free memory of the mobile terminal is greater than the first EMS memory occupation value.
The present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein described program is processed Device realizes program operation control method as described above when executing.
The present invention also proposes a kind of mobile terminal, including memory, processor and storage on a memory and can located The computer program run on reason device, wherein the processor realizes program operation control as described above when executing described program Method processed.
It will be understood by those skilled in the art that in flow charts indicate or logic described otherwise above herein and/or Step may be embodied in and appoint for example, being considered the order list of the executable instruction for realizing logic function In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system including processor System or other can be from instruction execution system, device or equipment instruction fetch and the system executed instruction) use, or combine this A little instruction execution systems, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with Include, store, communicate, propagate, or transport program is for instruction execution system, device or equipment or in conjunction with these instruction execution systems System, device or equipment and the device used.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program.The program can be stored in a computer readable storage medium. The program when being executed, includes the steps that described in the above method.The storage medium, comprising: ROM/RAM, magnetic disk, CD Deng.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
The embodiment of the present invention further discloses:
A1. a kind of program operation control method is applied to a mobile terminal, wherein described method includes following steps:
Obtain the present system time and current location information of the mobile terminal;
According to the present system time and the current location information, the current scene mould of the mobile terminal is determined Formula;
It controls the mobile terminal and only runs application program corresponding with the current scene mode.
A2. program operation control method according to a1, wherein in the current system for obtaining the mobile terminal Before the step of time and current location information, the method also includes:
When receiving starting-up signal instruction, a model selection prompt information, the model selection prompt information are generated For prompting user to select in normal operation mode or scene operational mode, wherein the scene operational mode is corresponding Scene mode is operative scenario mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
A3. the program operation control method according to A2, wherein described according to the present system time and described Current location information, the method for determining the current scene mode of the mobile terminal include the following steps:
According to the current location information, analysis obtains the changing coordinates of the mobile terminal in default map data base Location type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode by the location type, the work day off type and the current slot The default condition that meets be compared, with the corresponding current scene mode of the determination mobile terminal.
A4. program operation control method according to a3, wherein determining that the mobile terminal is corresponding described current After the step of scene mode, the method also includes:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the movement The application program that the current scene mode is not belonging in terminal is freezed.
A5. program operation control method according to a3, wherein the method also includes:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode Missed call number and/or message push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then institute is controlled It states mobile terminal and is switched to the normal operation mode.
A6. program operation control method according to a3, wherein the mobile terminal is corresponding with the first EMS memory occupation Value, the first EMS memory occupation value account for for the maximum memory that the application program smoothness operation of the guarantee mobile terminal can carry With value, the current scene mode for determining the mobile terminal the step of after, the method also includes:
When determine the corresponding EMS memory occupation total value of application program that is run under the current scene mode be greater than it is described First EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
A7. the program operation control method according to A6, wherein the method also includes:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping field Any one of scape mode or the moving scene mode;
If it is not, then controlling the mobile terminal is switched to the normal operation mode.
A8. the program operation control method according to A7, wherein the method also includes:
Obtain the corresponding frequency of usage of each application program on the mobile terminal, using duration, memory consumption accounting And power consumption accounting;
According to the frequency of usage, the use duration, the memory consumption accounting and the power consumption accounting, calculate To the corresponding freezing fraction of each application program, wherein the freezing fraction is to freeze each application program Preferential angle value.
A9. the program operation control method according to A8, wherein the method also includes following steps:
Judge the corresponding EMS memory occupation total value of application program under the normal operation mode, if be greater than described first EMS memory occupation value;
If so, being ranked up according to the corresponding freezing fraction of each application program, sequentially to the application Program freeze until the free memory of the mobile terminal is greater than the first EMS memory occupation value.
B10. the present invention also proposes a kind of program operating control device, is applied to a mobile terminal, wherein described device packet It includes:
Data obtaining module, for obtaining the present system time and current location information of the mobile terminal;
Scene determining module, for determining the shifting according to the present system time and the current location information The current scene mode of dynamic terminal;
Program controling module only runs application corresponding with the current scene mode for controlling the mobile terminal Program.
B11. program operating control device according to b10, wherein the control device further includes an interactive selection mould Block, for generating a model selection prompt information when receiving starting-up signal instruction, the model selection prompt information is used It is selected in normal operation mode or scene operational mode in prompt user, wherein the corresponding field of the scene operational mode Scape mode is operative scenario mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
B12. the program operating control device according to B11, wherein the scene determining module is used for:
According to the current location information, analysis obtains the changing coordinates of the mobile terminal in default map data base Location type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode by the location type, the work day off type and the current slot The default condition that meets be compared, with the corresponding current scene mode of the determination mobile terminal.
B13. program operating control device according to b12, wherein described program control module is used for:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the movement The application program that the current scene mode is not belonging in terminal is freezed.
B14. program operating control device according to b12, wherein the control device further includes a pattern switching mould Block is specifically used for:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode Missed call number and/or message push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then institute is controlled It states mobile terminal and is switched to the normal operation mode.
B15. program operating control device according to b14, wherein the mobile terminal is corresponding with the first EMS memory occupation Value, the first EMS memory occupation value account for for the maximum memory that the application program smoothness operation of the guarantee mobile terminal can carry With value, described program control module is also used to:
When determine the corresponding EMS memory occupation total value of application program that is run under the current scene mode be greater than it is described First EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
B16. the program operating control device according to B15, wherein the mode switch module is also used to:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping field Any one of scape mode or the moving scene mode;
If the location type is not belonging to the operative scenario mode, the leisure scene mode, the shopping scene mould Any one of formula or the moving scene mode then control the mobile terminal and are switched to the normal operation mode.
B17. the program operating control device according to B16, wherein described program control module is also used to:
Obtain the corresponding frequency of usage of each application program on the mobile terminal, using duration, memory consumption accounting And power consumption accounting;
According to the frequency of usage, the use duration, the memory consumption accounting and the power consumption accounting, calculate To the corresponding freezing fraction of each application program, wherein the freezing fraction is to freeze each application program Preferential angle value.
B18. the program operating control device according to B17, wherein described program control module is also used to:
Judge the corresponding EMS memory occupation total value of application program under the normal operation mode, if be greater than described first EMS memory occupation value;
It is accounted for if the corresponding EMS memory occupation total value of application program under the normal operation mode is greater than first memory With value, then it is ranked up according to the corresponding freezing fraction of each application program, sequentially the application program is carried out Freeze until the free memory of the mobile terminal is greater than the first EMS memory occupation value.
C19. the present invention also proposes a kind of readable storage medium storing program for executing, is stored thereon with computer program, wherein described program quilt Processor realizes program operation control method described in above-mentioned A1 to A9 any one when executing.
D20. the present invention also proposes a kind of mobile terminal, including memory, processor and storage are on a memory and can The computer program run on a processor, wherein the processor realizes that A1 as above to A9 is any one when executing described program Program operation control method described in.

Claims (10)

1. a kind of program operation control method is applied to a mobile terminal, which is characterized in that described method includes following steps:
Obtain the present system time and current location information of the mobile terminal;
According to the present system time and the current location information, the current scene mode of the mobile terminal is determined;
It controls the mobile terminal and only runs application program corresponding with the current scene mode.
2. program operation control method according to claim 1, which is characterized in that in the acquisition mobile terminal Before the step of present system time and current location information, the method also includes:
When receiving starting-up signal instruction, a model selection prompt information is generated, the model selection prompt information is used for Prompt user selects in normal operation mode or scene operational mode, wherein the corresponding scene of the scene operational mode Mode is operative scenario mode, leisure scene mode, shopping at least one of scene mode and moving scene mode.
3. program operation control method according to claim 2, which is characterized in that described according to the present system time And the current location information, the method for determining the current scene mode of the mobile terminal include the following steps:
According to the current location information, analysis obtains the position of the changing coordinates of the mobile terminal in default map data base Set type;
According to the present system time, analysis determination obtains work day off type and current slot;
It is corresponding with each scene mode pre- by the location type, the work day off type and the current slot If the condition of satisfaction is compared, with the corresponding current scene mode of the determination mobile terminal.
4. program operation control method according to claim 3, which is characterized in that determining that the mobile terminal is corresponding After the step of current scene mode, the method also includes:
It controls the mobile terminal and only runs application program corresponding with the current scene mode, and by the mobile terminal In be not belonging to the application program of the current scene mode and freezed.
5. program operation control method according to claim 3, which is characterized in that the method also includes:
When determining the current scene mode is the leisure scene mode, count under the leisure scene mode not Several and/or message of answering the call push number;
When determining the missed call number and/or message push number beyond corresponding preset threshold, then the shifting is controlled Dynamic terminal is switched to the normal operation mode.
6. program operation control method according to claim 3, which is characterized in that the mobile terminal is corresponding in first Occupation value is deposited, the first EMS memory occupation value runs the maximum that can be carried for the application program smoothness of the guarantee mobile terminal EMS memory occupation value, the current scene mode for determining the mobile terminal the step of after, the method also includes:
It is greater than described first when determining the corresponding EMS memory occupation total value of application program run under the current scene mode EMS memory occupation value then sets frozen state for the other application program under the current scene mode.
7. program operation control method according to claim 6, which is characterized in that the method also includes:
Judge whether the location type belongs to the operative scenario mode, the leisure scene mode, the shopping scene mould Any one of formula or the moving scene mode;
If it is not, then controlling the mobile terminal is switched to the normal operation mode.
8. a kind of program operating control device, it is applied to a mobile terminal, which is characterized in that described device includes:
Data obtaining module, for obtaining the present system time and current location information of the mobile terminal;
Scene determining module, for determining described mobile whole according to the present system time and the current location information The current scene mode at end;
Program controling module, for control the mobile terminal only run it is corresponding with the current scene mode using journey Sequence.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that when described program is executed by processor Realize program operation control method described in 1 to 7 any one of the claims.
10. a kind of mobile terminal including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized as claimed in any one of claims 1 to 7 when executing described program Program operation control method.
CN201810961362.5A 2018-08-22 2018-08-22 Program operation control method, device, readable storage medium storing program for executing and mobile terminal Pending CN109274815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810961362.5A CN109274815A (en) 2018-08-22 2018-08-22 Program operation control method, device, readable storage medium storing program for executing and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810961362.5A CN109274815A (en) 2018-08-22 2018-08-22 Program operation control method, device, readable storage medium storing program for executing and mobile terminal

Publications (1)

Publication Number Publication Date
CN109274815A true CN109274815A (en) 2019-01-25

Family

ID=65154302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810961362.5A Pending CN109274815A (en) 2018-08-22 2018-08-22 Program operation control method, device, readable storage medium storing program for executing and mobile terminal

Country Status (1)

Country Link
CN (1) CN109274815A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468643A (en) * 2020-11-23 2021-03-09 深圳传音控股股份有限公司 Control method of mobile terminal, mobile terminal and storage medium
CN113348443A (en) * 2019-04-12 2021-09-03 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment
CN113366446A (en) * 2019-04-12 2021-09-07 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659778A (en) * 1992-02-03 1997-08-19 Tm Patents, L.P. System and method of mapping an array to processing elements
KR101094516B1 (en) * 2007-04-06 2011-12-19 엔티티 도꼬모 인코퍼레이티드 Mobile communication terminal, information processing apparatus, and program
CN102508701A (en) * 2011-10-18 2012-06-20 北京百纳威尔科技有限公司 User terminal and method for controlling automatically-operating application program
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN106055406A (en) * 2016-05-20 2016-10-26 深圳天珑无线科技有限公司 Program operation method and terminal
CN106126295A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 The control method of application program and control device, terminal
CN106126298A (en) * 2016-06-30 2016-11-16 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN106155789A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN107786732A (en) * 2017-09-28 2018-03-09 努比亚技术有限公司 Terminal applies method for pushing, mobile terminal and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659778A (en) * 1992-02-03 1997-08-19 Tm Patents, L.P. System and method of mapping an array to processing elements
KR101094516B1 (en) * 2007-04-06 2011-12-19 엔티티 도꼬모 인코퍼레이티드 Mobile communication terminal, information processing apparatus, and program
CN102508701A (en) * 2011-10-18 2012-06-20 北京百纳威尔科技有限公司 User terminal and method for controlling automatically-operating application program
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN106055406A (en) * 2016-05-20 2016-10-26 深圳天珑无线科技有限公司 Program operation method and terminal
CN106155789A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN106126295A (en) * 2016-06-29 2016-11-16 宇龙计算机通信科技(深圳)有限公司 The control method of application program and control device, terminal
CN106126298A (en) * 2016-06-30 2016-11-16 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN107786732A (en) * 2017-09-28 2018-03-09 努比亚技术有限公司 Terminal applies method for pushing, mobile terminal and computer-readable recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113348443A (en) * 2019-04-12 2021-09-03 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment
CN113366446A (en) * 2019-04-12 2021-09-07 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
CN112468643A (en) * 2020-11-23 2021-03-09 深圳传音控股股份有限公司 Control method of mobile terminal, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109274815A (en) Program operation control method, device, readable storage medium storing program for executing and mobile terminal
CN103167185B (en) Battery energy-saving method and system
CN105473196B (en) The resource allocation of game title into remote game environment
US7398093B2 (en) Method and apparatus for providing information about a real-world space
CN107291549A (en) A kind of method and device for managing application program
US20150127961A1 (en) Method, device, platform, and mobile terminal for recording and analyzing battery power of a mobile terminal
CN102480763B (en) Method and device for providing data to mobile equipment
CN107330993A (en) A kind of intelligent register method, device, system, equipment and storage medium
CN110458663A (en) A kind of vehicle recommended method, device, equipment and storage medium
CN107911491A (en) Information recommendation method, device and storage medium, server and mobile terminal
US11480623B2 (en) Apparatus and method for predicting a remaining battery life in a device
CN107941234A (en) Recommendation method, apparatus, storage medium and the mobile terminal of traffic path
CN108600803A (en) Back method, device, terminal device and the storage medium of multi-channel video code stream
CN109968352A (en) A kind of robot control method and robot, the device with store function
US11460905B2 (en) Frequency scaling responding to a performance change method and apparatus and computer-readable storage medium
CN109192268A (en) Move reminding method, device, readable storage medium storing program for executing and the mobile terminal of interaction
CN108288069A (en) A kind of positioning function management method, mobile terminal and readable storage medium storing program for executing
CN106569580A (en) Dynamic energy-saving method and system of intelligent terminal
CN111942209A (en) Battery pack access method, system, medium and charging and replacing power station
CN107608778A (en) Application program management-control method, device, storage medium and electronic equipment
CN110155835A (en) For audient's user experience and energy saving novel elevator intelligent advisement player
CN107894917A (en) Terminal and its method for closing background application, storage device
CN101084631A (en) Mobile terminal for multi-displa yable contents information which is composed with independent channel, method thereof, and computer readable record medium on which program for executing method is REC
CN103377071B (en) A kind of batch data delet method and system
CN106406654A (en) Application icon automatic sorting method and system, and mobile device comprising system

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: 20190125

RJ01 Rejection of invention patent application after publication