Nothing Special   »   [go: up one dir, main page]

CN108776600A - Application program pretrigger method, mobile terminal and computer readable storage medium - Google Patents

Application program pretrigger method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108776600A
CN108776600A CN201810522044.9A CN201810522044A CN108776600A CN 108776600 A CN108776600 A CN 108776600A CN 201810522044 A CN201810522044 A CN 201810522044A CN 108776600 A CN108776600 A CN 108776600A
Authority
CN
China
Prior art keywords
application program
mobile terminal
application
list
user
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
CN201810522044.9A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810522044.9A priority Critical patent/CN108776600A/en
Publication of CN108776600A publication Critical patent/CN108776600A/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

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

Abstract

The invention discloses a kind of application program pretrigger method, mobile terminal and computer readable storage medium, the method includes the steps:Whether detection mobile terminal is currently in idle condition;When mobile terminal is currently at idle state, pre-stored the application list is obtained, process is created for the application program in the application list and controls process and enter suspend mode;It detects whether to receive enabled instruction corresponding with the application program in the application list;When detecting enabled instruction, searches corresponding with application program process and control process operating mode is entered by suspend mode.Compared with prior art, the present invention passes through in idle state, it creates process for certain application programs in advance and controls the process and enter suspend mode, then when detecting enabled instruction corresponding with a certain application program, operating mode is rapidly entered by the process being pre-created, cold start-up application program takes more long problem after avoiding booting, improves user experience.

Description

Application program pretrigger method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to a kind of field of terminal technology more particularly to application program pretrigger method, mobile terminal and calculating Machine readable storage medium storing program for executing.
Background technology
Currently, smart mobile phone uses cold start-up mode when after turning back on, starting a certain application program, i.e., when startup is answered When with program, from the background without the process of the application program, at this moment system needs to create a new course allocation applies journey to this Sequence.Since Cold Start needs to re-create process, the consuming time is longer, and user experience is bad.
Come therefore, it is necessary to provide a kind of application program pretrigger method, mobile terminal and computer readable storage medium Solve above-mentioned technical problem.
Invention content
It is a primary object of the present invention to propose a kind of application program pretrigger method, mobile terminal and computer-readable deposit Storage media, it is intended to solve to expend that the time is longer, user experience when starting application program in a manner of cold start-up after application program booting The technical problem of difference.
First, to achieve the above object, the present invention provides a kind of application program pretrigger method, and the application program opens in advance Dynamic method includes the following steps:
Whether detection mobile terminal is currently in idle condition;
When mobile terminal is currently at idle state, pre-stored the application list is obtained, is the application program Application program in list, which creates process and controls the process, enters suspend mode;
It detects whether to receive enabled instruction corresponding with the application program in described the application list;
When detecting enabled instruction corresponding with the application program in described the application list, search and the application The corresponding process of program simultaneously controls the process and enters operating mode by suspend mode.
Optionally, described to obtain pre-stored the application list, it is the application program wound in described the application list It builds process and controls after the step of process enters suspend mode and further include:
Each application program in described the application list is detected successively whether receive startup within a preset period of time refer to It enables;
The process-kill of the application program of enabled instruction will not be received in preset time period.
Optionally, further include before described the step of obtaining pre-stored the application list:
It generates described the application list and stores.
Optionally, the step of generation described the application list includes:
Operation information of the counting user to each application program on the mobile terminal;
Determine that user often uses application program according to the operation information;
According to the user often described the application list is generated with application program.
Optionally, the operation information includes operating frequency, described to determine the common application of user according to the operation information The step of program includes:
By the operating frequency according to being ranked sequentially from high to low;
The application program of the highest predetermined number of screening operation frequency often uses application program as user.
Optionally, the operation information includes operation duration, described to determine the common application of user according to the operation information The step of program includes:
By the operation duration according to being ranked sequentially from high to low;
The application program of the highest predetermined number of screening operation duration often uses application program as user.
Optionally, further include after the step of generation described the application list:
Detect edit operation of the user to described the application list;
Described the application list is changed to the edit operation of described the application list according to user.
Optionally, the step of whether the detection mobile terminal is currently in idle condition include:
Whether detection mobile terminal currently has the application program of front stage operation;
If testing result is no, judge that the mobile terminal is in idle condition.
Meanwhile the present invention also provides a kind of mobile terminal, the mobile terminal includes memory, processor and is stored in institute State the application program pre-start-up procedure that can be run on memory and on the processor, the application program pre-start-up procedure quilt The step of processor realizes application program pretrigger method as described above when executing.
In addition, the present invention also provides a kind of computer readable storage medium, stored on the computer readable storage medium There is application program pre-start-up procedure, the application program pre-start-up procedure, which is performed, realizes that application program as described above opens in advance The step of dynamic method.
Compared to the prior art, application program pretrigger method proposed by the invention, mobile terminal and computer-readable Storage medium enters suspend mode mould by idle state, creating process for certain application programs in advance and controlling the process Formula, when detecting enabled instruction corresponding with a certain application program, to keep application program quick by the process being pre-created Into operating mode, cold start-up application program takes more long problem after avoiding booting, improves user experience.
Description of the drawings
The hardware architecture diagram of Fig. 1 one optional mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the implementation process diagram of application program pretrigger method first embodiment of the present invention;
Fig. 4 is the implementation process diagram of application program pretrigger method second embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of application program pre-start-up procedure first embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of application program pre-start-up procedure second embodiment of the present invention;
Schematic diagram when Fig. 7 corresponds for the process of the application list and pretrigger.
Reference numeral:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein application processor mainly handles information system, user interface and application program etc., and modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber location-server) 2032, other MME2033, SGW (Serving Gate Way, gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on 100 hardware configuration of above-mentioned mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
First, the present invention proposes that a kind of application program pretrigger method, the application program pretrigger method are applied to Fig. 1 extremely Mobile terminal described in Fig. 2.As shown in figure 3, being the implementing procedure figure of application program pretrigger method first embodiment of the present invention.? In the present embodiment, the execution sequence of the step in flow chart shown in Fig. 3 can change according to different requirements, certain steps It can be omitted.The application program pretrigger method includes:
Whether step S301, detection mobile terminal are currently in idle condition.
After mobile terminal-opening, cold start-up mode, application program launching are used when starting application program The problem of time length.Therefore, application program pretrigger method of the present invention after mobile terminal-opening for executing, specifically, being Application program pretrigger method of the present invention is executed always after avoiding booting, a time threshold can be set, application program is worked as When time after booting is less than the time threshold, application program pretrigger method of the present invention is executed, time after booting is more than Or when equal to the time threshold, then application program pretrigger method of the present invention is no longer executed.It is 1 small as the time threshold is arranged When, then step S301 to step S304 is executed in 1 hour after powering.
Specifically, whether detection mobile terminal includes the step of being currently in idle condition:(1) detection mobile terminal is current Whether the application program of front stage operation is had;(2) if testing result is no, judge that the mobile terminal is in idle condition, if When testing result is, then judge that mobile terminal is in busy condition.That is, idle state refers to that mobile terminal foreground does not have in the present invention There is the state of operation application program, is arranged such, it is ensured that the present invention does not interfere with user's normal operating mobile terminal.
Step S302 obtains pre-stored the application list when mobile terminal is currently at idle state, is described Application program in the application list, which creates process and controls the process, enters suspend mode.
Specifically, be stored in the application list user often use application program, the application list can according to Family operation note automatically generates, and can also be actively arranged by user, can also be after automatically generating by user's edit-modify.In order to Application program pretrigger method of the present invention is executed before executing step S302 should also:Generate described the application list simultaneously Storage.Specifically, in a preferred embodiment, the step of generation described the application list, includes:(1) counting user pair The operation information of each application program on the mobile terminal;(2) determine that user often uses application program according to the operation information; (3) described the application list is often generated with application program according to the user.More specifically, which may include behaviour Working frequency, the operation information such as duration, wherein the operating frequency refer to application program a unit interval (such as 24 hours, a star Phase or one month etc.) interior front stage operation number, operation duration refers to the duration of each front stage operation of application program or applies journey The total duration of sequence front stage operation within the unit interval can determine that user often uses application program by operating frequency, operation duration. Such as, in one embodiment, the operation information includes operating frequency, described to determine the common application of user according to the operation information The step of program includes:By the operating frequency according to being ranked sequentially from high to low;Highest default of screening operation frequency Several application programs often use application program as user.In another embodiment, the operation information includes operation duration, described Determine user often according to the operation information includes with the step of application program:The operation duration is suitable according to from high to low Sequence arranges;The application program of the highest predetermined number of screening operation duration often uses application program as user.Certainly, in other realities It applies in example, operating frequency and operation duration can also be considered to determine that user often uses application program.In addition, in order to realize use The application list is actively arranged according to self-demand in family, and application program pretrigger method of the present invention is further comprising the steps of:Also Detect edit operation of the user to described the application list;The edit operation of described the application list is changed according to user Described the application list.Wherein, the edit operation can be to delete, change or increase etc..
It is the application program wound in described the application list specifically, when mobile terminal is currently at idle state It builds process and controls the process and enter suspend mode, wherein suspend mode refers to that process is placed on backstage, is not transported on foreground Row.Referring to FIG. 7, schematic diagram when Fig. 7 corresponds for the process of the application list and pretrigger, as shown in Figure 7, it is assumed that The application list includes application program A, application program B and application program C, then detects that mobile terminal is in after being switched on When idle state, process is respectively created for application program A, application program B and application program C, such as create process 1, process 2 with And process 3 corresponds to application program A, application program B and application program C respectively, while controlling process 1, process 2 and process 3 Into backstage, called at any time when user being waited for open application program.
Step S303 detects whether to receive enabled instruction corresponding with the application program in described the application list.
Step S304 is searched when detecting enabled instruction corresponding with the application program in described the application list Process corresponding with the application program simultaneously controls the process and enters operating mode by suspend mode.
In the present embodiment, after being pre-created process for the application program in the application list, user can be detected in real time Whether application program in the application list is started, if detecting user to a certain application program in the application list Process corresponding with the application program is then searched in enabled instruction, and is controlled the process found and entered Working mould by suspend mode Formula, wherein operating mode, that is, process enter foreground.Such as when detecting enabled instruction of the user to application program B, at this time from rear The process that application program B is searched in platform, if finding the corresponding processes 2 of application program B, pull-up process 2 is aobvious by process 2 The interface for showing application program B, compared with cold start-up mode needs real-time establishment process, application program launching takes shorter, use Family experience is more preferable.Wherein, when creating process for different application programs, by distinguishing different processes using packet name, starting After a certain application program, and pass through application packet name matching process.
S301 to S304 through the above steps, application program pretrigger method of the present invention is by idle state, in advance Create process for certain application programs and control the process and enter suspend mode, with detect it is corresponding with a certain application program Enabled instruction when, so that application program is rapidly entered operating mode by the process being pre-created, avoid booting after cold start-up Application program takes more long problem, improves user experience.
Further, it is based on above-mentioned first embodiment, proposes the second embodiment of application program pretrigger method of the present invention. As shown in figure 4, being the implementing procedure figure of application program pretrigger method second embodiment of the present invention.In the present embodiment, according to The execution sequence of different demands, the step in flow chart shown in Fig. 4 can change, and certain steps can be omitted.It is described to answer Include with program pretrigger method:
Whether step S401, detection mobile terminal are currently in idle condition.
Step S402 obtains pre-stored the application list when mobile terminal is currently at idle state, is described Application program in the application list, which creates process and controls the process, enters suspend mode.
Whether step S403, each application program detected successively in described the application list receive within a preset period of time To enabled instruction.
Step S404 is looked into for receiving the application program of enabled instruction in the application list within a preset period of time It looks for process corresponding with the application program and controls the process and operating mode is entered by suspend mode.
Step S405, for not receiving the application program of enabled instruction in the application list within a preset period of time, It searches process corresponding with the application program and deletes.
In the present embodiment, free time after powering is pre-created process for the application program in the application list Afterwards, a preset time period can be set, it is assumed that application program does not receive enabled instruction within a preset period of time, then deletes at its In the process of suspend mode, setting this method is to occupy resource, shadow in the presence of the process long-time in order to avoid each application program Ring the speed of service of mobile terminal.And for
S401 to S405 through the above steps, application program pretrigger method of the present invention is by idle state, in advance Create process for certain application programs and control the process and enter suspend mode, with detect it is corresponding with a certain application program Enabled instruction when, so that application program is rapidly entered operating mode by the process being pre-created, avoid booting after cold start-up Application program takes more long problem;Meanwhile a preset time period is arranged in the present invention, has the application program of process to exist when creating When not receiving enabled instruction in preset time period, then deletes it and be in the process of suspend mode, to avoid each application program Process long-time in the presence of occupy resource, influence the speed of service of mobile terminal.
Meanwhile the present invention also proposes a kind of mobile terminal, the mobile terminal includes memory, processor and is stored in institute State the application program pre-start-up procedure 400 that can be run on memory and on the processor.As shown in figure 5, being that the present invention answers With the high-level schematic functional block diagram of 400 first embodiment of program pre-start-up procedure.In the present embodiment, the application program pretrigger Program 400 can be divided into one or more modules, for example, in Figure 5, the application program pre-start-up procedure 400 can be with It is divided into state detection module 401, process pre-creates module 402, instruction detection module 403 and starting module 404.This hair Bright so-called module refers to a series of a kind of acquisition machine program instruction sections that can complete specific function, more suitable than obtaining machine program Together in implementation procedure of the description software in the mobile terminal.Below by the specific work(of just above-mentioned each function module 401-404 It can be described in detail.Wherein:
Whether the state detection module 401 is currently in idle condition for detecting mobile terminal.
After mobile terminal-opening, cold start-up mode, application program launching are used when starting application program The problem of time length.Therefore, application program pretrigger method of the present invention after mobile terminal-opening for executing, specifically, being Application program pretrigger method of the present invention is executed always after avoiding booting, a time threshold can be set, application program is worked as When time after booting is less than the time threshold, application program pretrigger method of the present invention is executed, time after booting is more than Or when equal to the time threshold, then application program pretrigger method of the present invention is no longer executed.It is 1 small as the time threshold is arranged When, then executing application pre-start-up procedure 400 in 1 hour after powering.
Specifically, whether detection mobile terminal includes the step of being currently in idle condition:(1) detection mobile terminal is current Whether the application program of front stage operation is had;(2) if testing result is no, judge that the mobile terminal is in idle condition, if When testing result is, then judge that mobile terminal is in busy condition.That is, idle state refers to that mobile terminal foreground does not have in the present invention There is the state of operation application program, is arranged such, it is ensured that the present invention does not interfere with user's normal operating mobile terminal.
The process pre-creates module 402, for when mobile terminal is currently at idle state, obtaining pre-stored answer With program listing, creates process for the application program in described the application list and control the process and enter suspend mode.
Specifically, be stored in the application list user often use application program, the application list can according to Family operation note automatically generates, and can also be actively arranged by user, can also be after automatically generating by user's edit-modify.In order to Application program pretrigger method of the present invention is executed before executive process pre-creates module 402 should also:Generate the application Program listing simultaneously stores.Specifically, in a preferred embodiment, the step of generation described the application list, includes:(1) Operation information of the counting user to each application program on the mobile terminal;(2) determine that user is common according to the operation information Application program;(3) described the application list is often generated with application program according to the user.More specifically, the operation information May include operating frequency, the operation information such as duration, wherein the operating frequency refer to application program a unit interval (such as 24 hours, a week or one month etc.) interior front stage operation number, operation duration refer to each front stage operation of application program when Long or application program front stage operation within the unit interval total duration can determine that user is normal by operating frequency, operation duration Use application program.Such as, in one embodiment, the operation information includes operating frequency, described to be determined according to the operation information User includes often with the step of application program:By the operating frequency according to being ranked sequentially from high to low;Screening operation frequency The application program of highest predetermined number often uses application program as user.In another embodiment, the operation information includes Duration is operated, it is described user is determined often according to the operation information to include with the step of application program:By long-press when the operation According to being ranked sequentially from high to low;The application program of the highest predetermined number of screening operation duration is common using journey as user Sequence.Certainly, in other embodiments, operating frequency and operation duration can also be considered and apply journey to determine that user is common Sequence.In addition, in order to realize that the application list, application program pretrigger method of the present invention is actively arranged according to self-demand in user It is further comprising the steps of:Also edit operation of the detection user to described the application list;According to user to the application program Described the application list is changed in the edit operation of list.Wherein, the edit operation can be to delete, change or increase etc..
It is the application program wound in described the application list specifically, when mobile terminal is currently at idle state It builds process and controls the process and enter suspend mode, wherein suspend mode refers to that process is placed on backstage, is not transported on foreground Row.Such as assume that the application list includes application program A, application program B and application program C, then detects shifting after being switched on When dynamic terminal is in idle condition, process is respectively created for application program A, application program B and application program C, such as create into Journey 1, process 2 and process 3 correspond to application program A, application program B and application program C respectively, while controlling process 1, process 2 and process 3 enter backstage, wait for user open application program when call at any time.
Described instruction detection module 403, for detecting whether receiving and the application program in described the application list Corresponding enabled instruction.
The starting module 404 detects startup corresponding with the application program in described the application list for working as When instruction, searches corresponding with application program process and control the process operating mode is entered by suspend mode.
In the present embodiment, after being pre-created process for the application program in the application list, user can be detected in real time Whether application program in the application list is started, if detecting user to a certain application program in the application list Process corresponding with the application program is then searched in enabled instruction, and is controlled the process found and entered Working mould by suspend mode Formula, wherein operating mode, that is, process enter foreground.Such as when detecting enabled instruction of the user to application program B, at this time from rear The process that application program B is searched in platform, if finding the corresponding processes 2 of application program B, pull-up process 2 is aobvious by process 2 The interface for showing application program B, compared with cold start-up mode needs real-time establishment process, application program launching takes shorter, use Family experience is more preferable.Wherein, when creating process for different application programs, by distinguishing different processes using packet name, starting After a certain application program, and pass through application packet name matching process.
By above-mentioned module 401 to 404, application program pre-start-up procedure of the present invention is by idle state, being in advance Certain application programs, which create processes and control the process, enters suspend mode, with detect it is corresponding with a certain application program When enabled instruction, so that application program is rapidly entered operating mode by the process being pre-created, avoids cold start-up after being switched on and answer More long problem is taken with program, improves user experience.
Further, the first embodiment based on aforementioned present invention application program pre-start-up procedure 400 proposes that the present invention answers With the second embodiment of program pre-start-up procedure 400.Referring to FIG. 6, Fig. 6 is application program pre-start-up procedure of the present invention 400 the The high-level schematic functional block diagram of two embodiments, compared with first embodiment, in the present embodiment, application program pre-start-up procedure 400 is also Including judgment module 405.In the present embodiment, each function module is described as follows:
The judgment module 405 detects the application program successively after pre-creating module 402 in executive process Whether each application program in list receives enabled instruction within a preset period of time.Wherein, in the application list Receive the application program of enabled instruction in preset time period, search process corresponding with the application program and described in controlling into Journey enters operating mode by suspend mode;For not receiving answering for enabled instruction in the application list within a preset period of time With program, searches process corresponding with the application program and delete.In the present embodiment, free time after powering is application After application program in program listing is pre-created process, a preset time period can be set, it is assumed that answer within a preset period of time Enabled instruction is not received with program, then deletes it and be in the process of suspend mode, setting this method is in order to avoid each application Resource is occupied in the presence of the process long-time of program, influences the speed of service of mobile terminal.And for
By above-mentioned module 401 to 405, application program pre-start-up procedure of the present invention is by idle state, being in advance Certain application programs, which create processes and control the process, enters suspend mode, with detect it is corresponding with a certain application program When enabled instruction, so that application program is rapidly entered operating mode by the process being pre-created, avoids cold start-up after being switched on and answer More long problem is taken with program;Meanwhile a preset time period is arranged in the present invention, when establishment has the application program of process pre- If do not receive enabled instruction in the period, then deletes it and be in the process of suspend mode, to avoid each application program Resource is occupied in the presence of process long-time, influences the speed of service of mobile terminal.
In addition, the present invention also provides a kind of computer readable storage medium, stored on the computer readable storage medium There are application program pre-start-up procedure, the application program pre-start-up procedure to be performed the application program realized described in Fig. 3 to Fig. 4 The step of pretrigger method.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer is fixed Position server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of application program pretrigger method is applied to mobile terminal, which is characterized in that the application program pretrigger method Include the following steps:
Whether detection mobile terminal is currently in idle condition;
When mobile terminal is currently at idle state, pre-stored the application list is obtained, is described the application list In application program create process and control the process and enter suspend mode;
It detects whether to receive enabled instruction corresponding with the application program in described the application list;
When detecting enabled instruction corresponding with the application program in described the application list, search and the application program Corresponding process simultaneously controls the process and enters operating mode by suspend mode.
2. application program pretrigger method as described in claim 1, which is characterized in that described to obtain pre-stored application program List, create process for the application program in described the application list and control the step of process enters suspend mode it After further include:
Whether each application program detected successively in described the application list receives enabled instruction within a preset period of time;
The process-kill of the application program of enabled instruction will not be received in preset time period.
3. application program pretrigger method as described in claim 1, which is characterized in that described to obtain pre-stored application program Further include before the step of list:
It generates described the application list and stores.
4. application program pretrigger method as claimed in claim 3, which is characterized in that described to generate described the application list The step of include:
Operation information of the counting user to each application program on the mobile terminal;
Determine that user often uses application program according to the operation information;
According to the user often described the application list is generated with application program.
5. application program pretrigger method as claimed in claim 4, which is characterized in that the operation information includes operation frequency Rate, it is described user is determined often according to the operation information to include with the step of application program:
By the operating frequency according to being ranked sequentially from high to low;
The application program of the highest predetermined number of screening operation frequency often uses application program as user.
6. application program pretrigger method as claimed in claim 4, which is characterized in that when the operation information includes operation It is long, it is described user is determined often according to the operation information to include with the step of application program:
By the operation duration according to being ranked sequentially from high to low;
The application program of the highest predetermined number of screening operation duration often uses application program as user.
7. application program pretrigger method as described in claim 1, which is characterized in that described to generate described the application list The step of after further include:
Detect edit operation of the user to described the application list;
Described the application list is changed to the edit operation of described the application list according to user.
8. application program pretrigger method as described in claim 1, which is characterized in that the detection mobile terminal currently whether The step of being in idle condition include:
Whether detection mobile terminal currently has the application program of front stage operation;
If testing result is no, judge that the mobile terminal is in idle condition.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, processor and is stored in the memory Application program pre-start-up procedure that is upper and can running on the processor, the application program pre-start-up procedure is by the processing It is realized such as the step of application program pretrigger method described in any item of the claim 1 to 8 when device executes.
10. a kind of computer readable storage medium, which is characterized in that be stored with using journey on the computer readable storage medium Sequence pre-start-up procedure, the application program pre-start-up procedure are performed realization and are answered as described in any item of the claim 1 to 8 The step of with program pretrigger method.
CN201810522044.9A 2018-05-28 2018-05-28 Application program pretrigger method, mobile terminal and computer readable storage medium Pending CN108776600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810522044.9A CN108776600A (en) 2018-05-28 2018-05-28 Application program pretrigger method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810522044.9A CN108776600A (en) 2018-05-28 2018-05-28 Application program pretrigger method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108776600A true CN108776600A (en) 2018-11-09

Family

ID=64027709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810522044.9A Pending CN108776600A (en) 2018-05-28 2018-05-28 Application program pretrigger method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108776600A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262849A (en) * 2019-06-10 2019-09-20 努比亚技术有限公司 Using starting method, wearable device and computer readable storage medium
CN110597566A (en) * 2019-08-28 2019-12-20 Oppo(重庆)智能科技有限公司 Application processing method and device, storage medium and electronic equipment
CN112860352A (en) * 2021-03-17 2021-05-28 惠州Tcl移动通信有限公司 Application loading method and device, storage medium and terminal
CN114357210A (en) * 2021-12-17 2022-04-15 浙江仁欣环科院有限责任公司 Unmanned aerial vehicle system for pipe network early warning sewage dynamic supervision and using method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040030882A1 (en) * 2002-08-08 2004-02-12 Forman George Henry Managed application pre-launching
CN105431822A (en) * 2013-06-12 2016-03-23 微软技术许可有限责任公司 Managing a succession of deployments of an application programming interface (api) server configuration in the software lifecycle development
CN105867591A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN106648811A (en) * 2017-01-23 2017-05-10 努比亚技术有限公司 Method for starting application of terminal and terminal
CN107391200A (en) * 2017-07-27 2017-11-24 上海传英信息技术有限公司 A kind of control method and control system based on intelligent terminal application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040030882A1 (en) * 2002-08-08 2004-02-12 Forman George Henry Managed application pre-launching
CN105431822A (en) * 2013-06-12 2016-03-23 微软技术许可有限责任公司 Managing a succession of deployments of an application programming interface (api) server configuration in the software lifecycle development
CN105867591A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Terminal control method and device
CN106648811A (en) * 2017-01-23 2017-05-10 努比亚技术有限公司 Method for starting application of terminal and terminal
CN107391200A (en) * 2017-07-27 2017-11-24 上海传英信息技术有限公司 A kind of control method and control system based on intelligent terminal application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262849A (en) * 2019-06-10 2019-09-20 努比亚技术有限公司 Using starting method, wearable device and computer readable storage medium
CN110262849B (en) * 2019-06-10 2024-05-17 努比亚技术有限公司 Application starting method, wearable device and computer readable storage medium
CN110597566A (en) * 2019-08-28 2019-12-20 Oppo(重庆)智能科技有限公司 Application processing method and device, storage medium and electronic equipment
CN110597566B (en) * 2019-08-28 2023-05-30 Oppo(重庆)智能科技有限公司 Application processing method and device, storage medium and electronic equipment
CN112860352A (en) * 2021-03-17 2021-05-28 惠州Tcl移动通信有限公司 Application loading method and device, storage medium and terminal
CN114357210A (en) * 2021-12-17 2022-04-15 浙江仁欣环科院有限责任公司 Unmanned aerial vehicle system for pipe network early warning sewage dynamic supervision and using method thereof
CN114357210B (en) * 2021-12-17 2023-04-07 浙江仁欣环科院有限责任公司 Unmanned aerial vehicle system for pipe network early warning sewage dynamic supervision and using method thereof

Similar Documents

Publication Publication Date Title
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108390988A (en) Fast operating method, mobile terminal and computer readable storage medium
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN108834157A (en) Internet wide band distribution, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109769067A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN109151162A (en) A kind of multi-panel screen interaction control method, equipment and computer readable storage medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN108776600A (en) Application program pretrigger method, mobile terminal and computer readable storage medium
CN107493396A (en) Button screen method, terminal and computer-readable recording medium
CN107741802A (en) Using startup method, terminal and computer-readable recording medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108322595A (en) A kind of control method, terminal and computer readable storage medium
CN108153477A (en) Multiple point touching operating method, mobile terminal and computer readable storage medium
CN107818022A (en) Application programming interfaces merging method, mobile terminal and computer-readable recording medium
CN107707755A (en) Button application method, terminal and computer-readable recording medium
CN109309762A (en) Message treatment method, device, mobile terminal and storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN108776566A (en) A kind of method for information display, mobile terminal and computer readable storage medium
CN108540697A (en) It is double before and after one kind to take the photograph circuit structure and its mobile terminal
CN108536529A (en) A kind of multitask regulation and control method, equipment and computer readable storage medium
CN108228301A (en) The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface

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

RJ01 Rejection of invention patent application after publication