CN104239102A - Operation method and device of application program - Google Patents

Operation method and device of application program Download PDF

Info

Publication number
CN104239102A
CN104239102A CN201410468551.0A CN201410468551A CN104239102A CN 104239102 A CN104239102 A CN 104239102A CN 201410468551 A CN201410468551 A CN 201410468551A CN 104239102 A CN104239102 A CN 104239102A
Authority
CN
China
Prior art keywords
functional module
application program
running environment
module
described application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410468551.0A
Other languages
Chinese (zh)
Other versions
CN104239102B (en
Inventor
汤文亮
刘方敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410468551.0A priority Critical patent/CN104239102B/en
Publication of CN104239102A publication Critical patent/CN104239102A/en
Application granted granted Critical
Publication of CN104239102B publication Critical patent/CN104239102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an operation method and device of an application program, and belongs to the technical field of terminals. The method comprises the following steps: acquiring operation environment information of the application program to be started; if the operation environment information does not meet a preset operation condition, loading a specific functional component of the application program according to a historical startup condition of the application program; applying the application component based on the loaded functional component. The specific functional component of the application program is loaded by acquiring the operation environment information of the application program to be started, so that the application program is operated based on the loaded functional component; the application program is operated according to different operation environment information without increasing extra research and development cost, the operation efficiency is higher, and the method and the device are easier and more convenient and flexible to realize.

Description

Application program operation method and device
Technical field
The present invention relates to field of terminal technology, particularly a kind of application program operation method and device.
Background technology
Along with popularizing of terminal technology, user is also growing to the functional requirement of various terminal.The functional diversities of application program and complicated, make single application program can meet the demand to multiple difference in functionality of different user, the system resource also single application program operationally being taken is more, is unfavorable for that the smoothness of terminal uses.
Prior art is when realizing the method that application program is run, in order to reduce the system resource that single application program operationally takies, adopt the method single application program comprising several functions being carried out according to its different function splitting, obtain multiple independently applet.When which user needs to use plant function, which just downloads one by one and plants corresponding several of function independently applet, and do not need download package to contain the whole application program of all functions.
Realizing in process of the present invention, inventor finds that correlation technique at least exists following problem:
Single application program is split into multiple independently applet according to different functions, add the R&D costs of application program, and when user needs to use several function, several independently applets need be downloaded one by one, operate comparatively loaded down with trivial details, efficiency is lower, flexibly easy not in realization.
Summary of the invention
In order to solve the problem of correlation technique, embodiments provide a kind of application program operation method and device.Described technical scheme is as follows:
First aspect, provide a kind of application program operation method, described method comprises:
Obtain the running environment information of application program to be launched;
If described running environment information does not meet preset operating conditions, then start situation according to the history of described application program, load the appointed function assembly of described application program;
Based on the functional module loaded, run described application program.
Second aspect, provide a kind of application program running gear, described device comprises:
Acquisition module, for obtaining the running environment information of application program to be launched;
Load-on module, for when described running environment information does not meet preset operating conditions, the history according to described application program starts situation, loads the appointed function assembly of described application program;
Run module, for based on the functional module loaded, run described application program.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of application program operation method process flow diagram that one embodiment of the invention provides;
Fig. 2 is a kind of application program operation method process flow diagram that another embodiment of the present invention provides;
Fig. 3 is a kind of display interface schematic diagram that another embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of application program running gear that another embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of application program operation terminal that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the process flow diagram of a kind of application program operation method that the embodiment of the present invention provides.See Fig. 1, the executive agent of the application program operation method that the present embodiment provides is terminal, and this terminal can be mobile phone, panel computer or desktop computer etc., and the method flow process comprises:
101, the running environment information of application program to be launched is obtained.
Wherein, running environment information at least comprises in the memory size information of running environment and the current residual ratio memory of running environment.
If 102 running environment information do not meet preset operating conditions, then start the appointed function assembly of situation loading application programs according to the history of application program.
Wherein, preset operating conditions comprises the first predetermined threshold value arranged for memory size information, and for the second predetermined threshold value that current residual ratio memory is arranged.When the memory size information of terminal is less than the first predetermined threshold value, can think that this terminal is low terminal, its processing power is poor; When the current residual ratio memory of terminal is greater than the second predetermined threshold value, can think that the current free memory of this terminal is too small, its current processing capabilities is poor.
The functional module of application program refers to and in application program operational process, can realize usability of program fragments or the routine package of some specific function of application program.Such as, for safety management software, the functional module of safety management software can comprise the virus killing assembly of realization virus killing function, realizes the Disk Cleanup assembly of Disk Cleanup function, realize the upgrade components etc. of application program updating.
The appointed function assembly of application program at least comprises the Core Feature assembly of application program, and the framework assembly of this Core Feature assembly needed for startup application program, for the basic function of executive utility.
103, based on the functional module loaded, run application.
When application program is initiating switchup, based on the first functional module of application program, namely can the Core Feature assembly of executive utility basic function, run application.
When application program is not initiating switchup, based on the second functional module of application program, namely Core Feature assembly and optional function assembly, run application, and this second functional module is the functional module beyond the 3rd functional module that do not carry out loading.When application program is not initiating switchup, need to carry out value-added tax function assembly according to the history service condition of user to functional module, except loading Core Feature assembly, also may load the higher functional module of some frequencies of utilization, be optional function assembly.
The method that the embodiment of the present invention provides, the appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Alternatively, running environment information does not meet preset operating conditions, comprising:
When memory size information is less than the first predetermined threshold value, running environment information does not meet preset operating conditions; Or,
When current residual ratio memory is less than the second predetermined threshold value, running environment information does not meet preset operating conditions.
Alternatively, the history according to application program starts situation, and the appointed function assembly of loading application programs, comprising:
History according to application program starts situation, judges whether application program is initiating switchup;
If application program is initiating switchup, then the first functional module of loading application programs;
If application program is not initiating switchup, then the second functional module of loading application programs.
Alternatively, before the second functional module of loading application programs, also comprise:
Determine the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
Alternatively, determine the 3rd functional module not carrying out loading in start-up course, comprising:
According to the access times of each functional module of application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of application program is defined as the 3rd functional module;
Or securing component configuration information, determines the 3rd functional module according to module configuration information, module configuration information is used to indicate the 3rd functional module in application program.
Alternatively, after determining the 3rd functional module not carrying out loading in start-up course, comprising:
If application program is not initiating switchup, the functional module list of display application program;
When receive arbitrary functional module in functional module list choose instruction time, using choose instruction corresponding functional module as the 3rd functional module.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the process flow diagram of a kind of application program operation method that the embodiment of the present invention provides, and see Fig. 2, the executive agent of the application program operation method that the present embodiment provides is terminal, and the method flow process comprises:
201, terminal obtains the running environment information of application program to be launched.
In embodiments of the present invention, application program to be launched can be the application program of any one type mounted in terminal, and the embodiment of the present invention does not do concrete restriction to this.Such as, application program to be launched can be mobile phone safe house keeper, news client or social applications client etc.
Wherein, the running environment information of application program to be launched at least comprises one in the memory size information of running environment and the current residual ratio memory of running environment.The memory size information of running environment specifically includes but not limited to: the maximum running memory that terminal can provide.Such as, the maximum running memory that certain mobile phone can provide is 2048 megabyte.
The current residual ratio memory of running environment specifically includes but not limited to: in terminal, the internal memory of current residual accounts for the ratio of running memory.Such as, if the maximum running memory that terminal can provide is 1024 megabyte, and save as 512 megabyte in current residual, then the current residual ratio memory of running environment is the ratio of 512 and 1024, namely 50 percent.
202, judge whether running environment information meets preset operating conditions;
If so, step 203 is performed;
If not, step 204 is performed.
In embodiments of the present invention, before judging whether running environment information meets preset operating conditions, need to obtain preset operating conditions.Obtain preset operating conditions, specifically comprise: obtain the preset operating conditions that server end is arranged, or obtain the preset operating conditions that user manually carries out according to current operating environment arranging, wherein, preset operating conditions can by technician experimentally result arrange or arranged according to user demand by user, the embodiment of the present invention does not do concrete restriction to this.
In embodiments of the present invention, preset operating conditions can have following two kinds of forms:
(1) the memory size information of terminal is not less than the first predetermined threshold value.When the memory size information of terminal is lower than the first predetermined threshold value, can think that this terminal is low terminal, its processing power is poor, therefore, according to this judged result, can perform subsequent step.As, when the first predetermined threshold value is 768 megabyte, if tag memory is 256 megabyte, then think that this terminal is low terminal, its processing power is poor.
(2) the current residual ratio memory of terminal is not less than the second predetermined threshold value.When the current residual ratio memory of terminal is less than the second predetermined threshold value, can think that the current free memory of this terminal is too small, its current processing capabilities is poor, therefore, according to this judged result, can perform subsequent step.As, when the second predetermined threshold value is 50 percent, if the current residual ratio memory of terminal is 30 percent, then think that the current free memory of this terminal is too small, its processing power is poor.
If 203 running environment information conforms preset operating conditions, all functions assembly of this application program of terminal loads, and start this application program, terminate.
Running environment information conforms preset operating conditions, comprising: when memory size information is not less than the first predetermined threshold value, and when current residual ratio memory is not less than the second predetermined threshold value, running environment information conforms preset operating conditions.Such as, when the first predetermined threshold value is 1024 megabyte, when the second predetermined threshold value is 50 percent, if tag memory is 2048 megabyte, and the current residual ratio memory of terminal is 70 percent, then this running environment information conforms preset operating conditions.
Due to running environment information conforms preset operating conditions, that is to say, the operation of this application program can not have influence on the overall operation speed of terminal, therefore, can directly start this application program.
If 204 running environment information do not meet preset operating conditions, then judge whether application program is initiating switchup;
If so, step 205 is performed;
If not, step 206 is performed.
Running environment information does not meet preset operating conditions, comprising: when memory size information is less than the first predetermined threshold value, running environment information does not meet preset operating conditions; Or when current residual ratio memory is less than the second predetermined threshold value, running environment information does not meet preset operating conditions.
It should be noted that, the initiating switchup of application program refer to application program install after initiating switchup.Due to when application program installs rear initiating switchup, application program can carry out record to log-on message; When therefore starting application program each time, according to the log-on message that can get application program, can judge whether this application program is initiating switchup.
Wherein, the log-on message of application program can be the functional module information that user's initiating switchup application program loads, can be user's personal information of recording of login application program first, the log-on message of embodiment of the present invention application programs do concrete restriction yet.Such as, social application program install after the log-on message of initiating switchup can be the personal information that user logs in described in social application program, and use the historical record of chat feature of social application program.
If 205 application programs are initiating switchup, then the first functional module of loading application programs.
For judging that whether application program is the method for initiating switchup in 204, if during application program launching, if the log-on message of application program is blank, then this application program is initiating switchup.
Particularly, the first functional module of application program comprises one or more Core Feature assemblies of application program, and wherein, Core Feature assembly is for performing the basic function of this application program.Such as, for application program for social application program, the Core Feature assembly of social application program includes chat components etc.
Before the first functional module of loading application programs, need determine which assembly is the first functional module of application program, wherein, determine the first functional module of application program, include but not limited to: obtain pre-configured Core Feature configuration information, according to Core Feature configuration information, determine the first functional module of application program.
If 206 application programs are not initiating switchup, then the functional module list of display application program.
For judging that whether application program is the method for initiating switchup in 204, if during application program launching, if having log-on message in application program, then this application program is not initiating switchup.
In embodiments of the present invention, functional module list comprises multiple functional modules of application program, and each functional module all can choosing instruction load or not loading according to user.As, Fig. 3 is a kind of display interface schematic diagram that the embodiment of the present invention provides, see Fig. 3, if application program is not initiating switchup, then terminal display reminding information on display interface, this information is used for the 3rd functional module that reminding user can manually be selected not carry out loading.When receive user to the confirmation instruction of this information after, terminal is by the functional module list of display application program on display interface, and an option is shown after each functional module of functional module list, and whether the option detecting each functional module is selected, and whether receive the confirmation instruction, thus perform step 207.
Certainly, in order to avoid bothering user, this step 206 can be carry out when the number of starts of this application program reaches preset times whenever detecting, carries out when also can be initiating switchup after application program is upgraded.The deterministic process of the 3rd functional module is carried out during initiating switchup after upgrading, can according to the actual user demand of user, determine the function that this application program provides after upgrading flexibly, avoid owing to having upgraded the function that some users infrequently use and the wasting of resources caused.
207, when receive arbitrary functional module in functional module list choose instruction time, using choose instruction corresponding functional module as the 3rd functional module.
Based on the display interface schematic diagram shown in Fig. 3, when detecting that the option of certain functional module is selected, and when receiving the confirmation instruction, namely determining to receive and instruction is chosen, using this functional module as the 3rd functional module to this functional module.
208, using the functional module except the 3rd functional module as the second functional module, the second functional module of loading application programs.
Above-mentioned steps 206-208 is that the embodiment of the present invention provides the process really fixing in start-up course the 3rd functional module not carrying out loading, in another embodiment, this step 206-208 can also be replaced by following arbitrary step: (one) is according to the access times of each functional module of application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of application program is defined as the 3rd functional module, using the functional module except the 3rd functional module as the second functional module, second functional module of loading application programs.(2) securing component configuration information, the 3rd functional module is determined according to module configuration information, module configuration information is used to indicate the 3rd functional module in application program, using the functional module except the 3rd functional module as the second functional module, the second functional module of loading application programs.
Plant situation for (one), before according to the access times of each functional module of application program each functional module being sorted, also comprise the access times obtaining each functional module of application program.Particularly, obtain the access times of each functional module of application program, include but not limited to: often use once certain functional module, add up the access times of this functional module.
It should be noted that, in the above description, only using the access times of functional module as order standard, and in actual applications, can also each use certain functional module time, while its access times of statistics, record its service time, to obtain the frequency of utilization of this functional module.Correspondingly, this determines that the process of the 3rd functional module not carrying out loading in start-up course comprises: according to each functional module frequency of utilization order from low to high, and the functional module of preset number in each functional module of application program is defined as the 3rd functional module.Wherein, the embodiment of the present invention does not do concrete restriction to the size of preset number.
By sequence and the deterministic process of this (one) kind situation, can the automatic loading of practical function assembly, and due to load functional module be all determine according to user's actual service condition on the terminal, therefore, more can meet the use habit of user.
Plant situation for (two), module configuration information can be obtained by terminal access server, or is sent to terminal by server.Wherein, module configuration information can be arranged according to the service condition of multiple user's application programs by technician, particularly, the method arranging module configuration information includes but not limited to: the service condition obtaining each functional module in each user's application programs, according to this service condition, each functional module is sorted, the functional module of preset number in each functional module of application program is determined to be carried in module configuration information.
Further, in each user's application programs of this acquisition, the process of the service condition of each functional module comprises: add up the access times of this terminal user to each functional module respectively by each terminal, and respectively the statistics of these access times is sent to server; Or add up separately this terminal user to the access times of each functional module and corresponding service time by each terminal, obtain this terminal user to after the frequency of utilization of each functional module according to these access times and corresponding service time, the frequency of utilization statistics of this terminal user to each functional module is sent to server by each terminal.
From above-mentioned situation, the statistics that all terminals that server receives send can be the statistics of access times, also can be the statistics of frequency of utilization.Therefore, service condition according to each functional module got sorts to each functional module, the functional module of preset number in each functional module of application program is determined to be carried in module configuration information, specifically comprise: after server receives the access times statistics of all terminals transmission, according to the access times statistics received, the access times of all users to each functional module are made general evaluation system, according to all users to the access times of each functional module order from less to more, the functional module of preset number in each functional module of application program is determined to be carried in module configuration information, or, after server receives the frequency of utilization statistics of all terminals transmission, according to the frequency of utilization statistics received, the frequency of utilization of all users to each functional module is made general evaluation system, according to all users to the frequency of utilization of each functional module order from low to high, the functional module of preset number in each functional module of application program is determined to be carried in module configuration information.
Because module configuration information arranges the service condition of each functional module according to all users, therefore this module configuration information meets popular preference, can be used in indicating the 3rd functional module in application program, after terminal gets above-mentioned module configuration information, the 3rd functional module can be determined according to this module configuration information.
Above-mentioned steps 202-208 was before application program launching, judge whether running environment information meets preset operating conditions, and determine the 3rd functional module that do not carry out loading according to running environment information conforms and two kinds of situations not meeting preset operating conditions, thus load the second functional module beyond the 3rd functional module.In actual applications, also after the initiating switchup after application program is installed, above-mentioned steps 202-208 can be performed, and after the 3rd functional module determining not carry out loading, preserves load information.This load information can be the 3rd functional module information determined, also can be the second functional module information beyond the 3rd functional module.When application program is not initiating switchup after installation, do not perform and judge whether running environment information meets the step of preset operating conditions, but obtain this load information, determine the 3rd functional module not carrying out loading according to this load information, thus load the second functional module beyond the 3rd functional module.
It should be noted that, can any time after application program is installed after initiating switchup, determine the 3rd functional module not carrying out loading in start-up course, and according to this comformed information, load information is modified.Wherein, determine that the process of the 3rd functional module not carrying out loading in start-up course can be identical with providing the process really fixing in start-up course the 3rd functional module not carrying out loading in the embodiment of the present invention.
209, based on the functional module loaded, run application.
When application program is initiating switchup, based on the first functional module of application program, namely can the Core Feature assembly of executive utility basic function, run application; When application program is not initiating switchup, based on the second functional module of application program, namely do not carry out the functional module beyond the 3rd functional module that loads, run application.
It should be noted that, in actual applications, loading procedure also can load some functional modules run for basis, to ensure the normal operation of application program.
The method that the embodiment of the present invention provides, by when the memory size information of terminal is less than the first predetermined threshold value, determine that terminal is low terminal, processing power is poor; When the current residual ratio memory of terminal is less than the second predetermined threshold value, determine that terminal current processing capabilities is poor, and load the first functional module and the second functional module respectively according to the situation of application program initiating switchup and non-initiating switchup in these cases, run application based on the functional module loaded, achieve and run application according to the processing power of terminal, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Fig. 4 is the structural representation of a kind of application program running gear that the embodiment of the present invention provides, the application program operation method that this device provides for performing the embodiment shown in above-mentioned Fig. 1 or Fig. 2.See Fig. 4, this device comprises:
Acquisition module 401, for obtaining the running environment information of application program to be launched;
Load-on module 402, for when running environment information does not meet preset operating conditions, the history according to application program starts situation, the appointed function assembly of loading application programs;
Run module 403, for based on the functional module loaded, run application.
Alternatively, running environment information at least comprises in the memory size information of running environment and the current residual ratio memory of running environment.
Alternatively, running environment information does not meet preset operating conditions, comprising:
When memory size information is less than the first predetermined threshold value, running environment information does not meet preset operating conditions; Or,
When current residual ratio memory is less than the second predetermined threshold value, running environment information does not meet preset operating conditions.
Alternatively, load-on module 402, specifically comprises:
Judging unit, starts situation for the history according to application program, judges whether application program is initiating switchup;
First loading unit, for when application program is initiating switchup, the first functional module of loading application programs;
Second loading unit, for when application program is not initiating switchup, the second functional module of loading application programs.
Alternatively, load-on module 402, specifically also comprises:
Determining unit, for determining the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
Alternatively, this determining unit, for the access times of each functional module according to application program, sorts to each functional module, according to access times order from less to more, the functional module of preset number in each functional module of application program is defined as the 3rd functional module;
Or for securing component configuration information, determine the 3rd functional module according to module configuration information, module configuration information is used to indicate the 3rd functional module in application program.
Alternatively, this determining unit, for when application program is not initiating switchup, the functional module list of display application program;
When receive arbitrary functional module in functional module list choose instruction time, using choose instruction corresponding functional module as the 3rd functional module.
The device that the embodiment of the present invention provides, the appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Please refer to Fig. 5, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, this terminal may be used for the application program operation method implementing to provide in above-described embodiment.Specifically:
Terminal 500 can comprise display unit 140, includes the storer 120 of one or more computer-readable recording mediums, input block 130, sensor 150, include the parts such as processor 160 and power supply 170 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 5, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Storer 120 can be used for storing software program and module, and processor 160 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 500.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 160 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 500 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 160 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 160 according to the type of touch event.Although in Figure 5, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 500 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 500 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 500 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Processor 160 is control centers of terminal 500, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 500, thus integral monitoring is carried out to mobile phone.Optionally, processor 160 can comprise one or more process core; Preferably, processor 160 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 160.
Terminal 500 also comprises the power supply 170 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 160 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 170 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 500 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, and terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor.Described more than one or one routine package is containing the instruction for performing following operation:
Obtain the running environment information of application program to be launched;
If running environment information does not meet preset operating conditions, then start situation, the appointed function assembly of loading application programs according to the history of application program;
Based on the functional module loaded, run application.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation:
Running environment information at least comprises one in the memory size information of running environment and the current residual ratio memory of running environment.
In the third the possible embodiment provided based on the embodiment that the second is possible, in the storer of terminal, also comprise the instruction for performing following operation:
When memory size information is less than the first predetermined threshold value, running environment information does not meet preset operating conditions; Or,
When current residual ratio memory is less than the second predetermined threshold value, running environment information does not meet preset operating conditions.
In the 4th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation:
History according to application program starts situation, judges whether application program is initiating switchup;
If application program is initiating switchup, then the first functional module of loading application programs;
If application program is not initiating switchup, then the second functional module of loading application programs.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
Determine the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
According to the access times of each functional module of application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of application program is defined as the 3rd functional module;
Or securing component configuration information, determines the 3rd functional module according to module configuration information, module configuration information is used to indicate the 3rd functional module in application program.
In the 7th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
If application program is not initiating switchup, the functional module list of display application program;
When receive arbitrary functional module in functional module list choose instruction time, using choose instruction corresponding functional module as the 3rd functional module.
The terminal that the embodiment of the present invention provides, the appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Embodiments provide a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in the storer in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.This computer-readable recording medium stores more than one or one program, and this more than one or one program is used for executive utility operation method by one or more than one processor, and the method comprises:
Obtain the running environment information of application program to be launched;
If running environment information does not meet preset operating conditions, then start situation, the appointed function assembly of loading application programs according to the history of application program;
Based on the functional module loaded, run application.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation:
Running environment information at least comprises one in the memory size information of running environment and the current residual ratio memory of running environment.
In the third the possible embodiment provided based on the embodiment that the second is possible, in the storer of terminal, also comprise the instruction for performing following operation:
When memory size information is less than the first predetermined threshold value, running environment information does not meet preset operating conditions; Or,
When current residual ratio memory is less than the second predetermined threshold value, running environment information does not meet preset operating conditions.
In the 4th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation:
History according to application program starts situation, judges whether application program is initiating switchup;
If application program is initiating switchup, then the first functional module of loading application programs;
If application program is not initiating switchup, then the second functional module of loading application programs.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
Determine the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
In the 6th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
According to the access times of each functional module of application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of application program is defined as the 3rd functional module;
Or securing component configuration information, determines the 3rd functional module according to module configuration information, module configuration information is used to indicate the 3rd functional module in application program.
In the 7th kind of possible embodiment provided based on the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation:
If application program is not initiating switchup, the functional module list of display application program;
When receive arbitrary functional module in functional module list choose instruction time, using choose instruction corresponding functional module as the 3rd functional module.
The computer-readable recording medium that the embodiment of the present invention provides, the appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
Provide a kind of graphical user interface in the embodiment of the present invention, this graphical user interface is used in terminal, and this terminal comprises touch-screen display, storer and one or more than one processor for performing one or more than one program; This graphical user interface comprises:
Obtain the running environment information of application program to be launched;
If running environment information does not meet preset operating conditions, then start situation, the appointed function assembly of loading application programs according to the history of application program;
Based on the functional module loaded, run application.
The graphical user interface that the embodiment of the present invention provides, the appointed function assembly of loading application programs is carried out by the running environment information obtaining application program to be launched, thus run application based on the functional module loaded, achieve and run application according to different running environment information, without the need to increasing extra R&D costs, and operating efficiency is higher, more flexibly easy in realization.
It should be noted that: the application program running gear that above-described embodiment provides is when running application, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the application program running gear that above-described embodiment provides and the embodiment of application program operation method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. an application program operation method, is characterized in that, described method comprises:
Obtain the running environment information of application program to be launched;
If described running environment information does not meet preset operating conditions, then start situation according to the history of described application program, load the appointed function assembly of described application program;
Based on the functional module loaded, run described application program.
2. method according to claim 1, is characterized in that, described running environment information at least comprises one in the memory size information of running environment and the current residual ratio memory of running environment.
3. method according to claim 2, is characterized in that, described running environment information does not meet preset operating conditions, comprising:
When described memory size information is less than the first predetermined threshold value, described running environment information does not meet preset operating conditions; Or,
When described current residual ratio memory is less than the second predetermined threshold value, described running environment information does not meet preset operating conditions.
4. method according to claim 1, is characterized in that, the described history according to described application program starts situation, loads the appointed function assembly of described application program, comprising:
History according to described application program starts situation, judges whether described application program is initiating switchup;
If described application program is initiating switchup, then load the first functional module of described application program, described first functional module is Core Feature assembly;
If described application program is not initiating switchup, then load the second functional module of described application program, described second functional module is Core Feature assembly and optional function assembly.
5. method according to claim 4, is characterized in that, before the second functional module of the described application program of described loading, also comprises:
Determine the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
6. method according to claim 5, is characterized in that, described the 3rd functional module determining not carry out loading in start-up course, comprising:
According to the access times of each functional module of described application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of described application program is defined as the 3rd functional module;
Or securing component configuration information, determines described 3rd functional module according to described module configuration information, and described module configuration information is used to indicate the 3rd functional module in described application program.
7. method according to claim 5, is characterized in that, described the 3rd functional module determining not carry out loading in start-up course, comprising:
If application program is not initiating switchup, show the functional module list of described application program;
When receive arbitrary functional module in described functional module list choose instruction time, using the described functional module choosing instruction corresponding as the 3rd functional module.
8. an application program running gear, is characterized in that, described device comprises:
Acquisition module, for obtaining the running environment information of application program to be launched;
Load-on module, for when described running environment information does not meet preset operating conditions, the history according to described application program starts situation, loads the appointed function assembly of described application program;
Run module, for based on the functional module loaded, run described application program.
9. device according to claim 8, is characterized in that, described running environment information at least comprises one in the memory size information of running environment and the current residual ratio memory of running environment.
10. device according to claim 9, is characterized in that, when described memory size information is less than the first predetermined threshold value, described running environment information does not meet preset operating conditions; Or when described current residual ratio memory is less than the second predetermined threshold value, described running environment information does not meet preset operating conditions.
11. devices according to claim 8, is characterized in that, described load-on module, comprising:
Judging unit, starts situation for the history according to described application program, judges whether described application program is initiating switchup;
First loading unit, for when described application program is initiating switchup, loads the first functional module of described application program;
Second loading unit, for when described application program is not initiating switchup, loads the second functional module of described application program.
12. devices according to claim 11, is characterized in that, described load-on module, also comprises:
Determining unit, for determining the 3rd functional module not carrying out loading in start-up course, using the functional module except the 3rd functional module as the second functional module.
13. devices according to claim 12, it is characterized in that, described determining unit, for the access times of each functional module according to described application program, each functional module is sorted, according to access times order from less to more, the functional module of preset number in each functional module of described application program is defined as the 3rd functional module;
Or for securing component configuration information, determine described 3rd functional module according to described module configuration information, described module configuration information is used to indicate the 3rd functional module in described application program.
14. devices according to claim 12, is characterized in that, described determining unit, for when application program is not initiating switchup, show the functional module list of described application program;
When receive arbitrary functional module in described functional module list choose instruction time, using the described functional module choosing instruction corresponding as the 3rd functional module.
CN201410468551.0A 2014-09-15 2014-09-15 application program operation method and device Active CN104239102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410468551.0A CN104239102B (en) 2014-09-15 2014-09-15 application program operation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410468551.0A CN104239102B (en) 2014-09-15 2014-09-15 application program operation method and device

Publications (2)

Publication Number Publication Date
CN104239102A true CN104239102A (en) 2014-12-24
CN104239102B CN104239102B (en) 2016-08-24

Family

ID=52227237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410468551.0A Active CN104239102B (en) 2014-09-15 2014-09-15 application program operation method and device

Country Status (1)

Country Link
CN (1) CN104239102B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700892A (en) * 2016-02-22 2016-06-22 浪潮通用软件有限公司 Component layering extension method based on inheritance relationship
CN105824673A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for operating application program
CN106033397A (en) * 2015-03-17 2016-10-19 小米科技有限责任公司 Method and device for adjusting memory buffer, and terminal
CN106502717A (en) * 2016-09-22 2017-03-15 华为技术有限公司 application program operation method and device
CN106648746A (en) * 2016-11-07 2017-05-10 三星电子(中国)研发中心 Application execution method and device
CN107122214A (en) * 2017-04-28 2017-09-01 广东欧珀移动通信有限公司 Preprocess method, device and the terminal of application program
CN107133065A (en) * 2017-03-31 2017-09-05 北京奇艺世纪科技有限公司 A kind of method and device for opening software function
WO2017206302A1 (en) * 2016-05-31 2017-12-07 中兴通讯股份有限公司 Application execution method and device
CN108958824A (en) * 2017-05-18 2018-12-07 龙芯中科技术有限公司 Starting method, apparatus, electronic equipment and the storage medium of application program
CN110162345A (en) * 2019-05-05 2019-08-23 网宿科技股份有限公司 A kind of application program access method, device and storage medium
CN110245066A (en) * 2018-03-09 2019-09-17 财付通支付科技有限公司 Application runtime environment creation method, creating device, electronic equipment and storage medium
CN110288952A (en) * 2019-06-24 2019-09-27 湖北亿咖通科技有限公司 The setting method and device of backlight illumination when a kind of onboard system is switched on
CN111258676A (en) * 2020-01-16 2020-06-09 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111314330A (en) * 2020-02-05 2020-06-19 腾讯科技(深圳)有限公司 Network application operation method and device
CN111756927A (en) * 2020-06-23 2020-10-09 广东小天才科技有限公司 Output method of positioning information, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436457A (en) * 2011-02-18 2012-05-02 奇智软件(北京)有限公司 Method and equipment for distributing progresses of browser
CN103226486A (en) * 2013-04-23 2013-07-31 北京奇虎科技有限公司 Optimization method and device for browser operation
CN103297275A (en) * 2013-06-08 2013-09-11 烽火通信科技股份有限公司 Dynamic discovery and loading system and method for Web network management client module
CN103544039A (en) * 2013-10-30 2014-01-29 北京国双科技有限公司 Plug-in loading processing method and device
US8667478B1 (en) * 2010-09-17 2014-03-04 Emc Corporation Backward-compatibility using a plugin architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667478B1 (en) * 2010-09-17 2014-03-04 Emc Corporation Backward-compatibility using a plugin architecture
CN102436457A (en) * 2011-02-18 2012-05-02 奇智软件(北京)有限公司 Method and equipment for distributing progresses of browser
CN103226486A (en) * 2013-04-23 2013-07-31 北京奇虎科技有限公司 Optimization method and device for browser operation
CN103297275A (en) * 2013-06-08 2013-09-11 烽火通信科技股份有限公司 Dynamic discovery and loading system and method for Web network management client module
CN103544039A (en) * 2013-10-30 2014-01-29 北京国双科技有限公司 Plug-in loading processing method and device

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033397A (en) * 2015-03-17 2016-10-19 小米科技有限责任公司 Method and device for adjusting memory buffer, and terminal
CN105700892A (en) * 2016-02-22 2016-06-22 浪潮通用软件有限公司 Component layering extension method based on inheritance relationship
CN105824673A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Method and device for operating application program
WO2017206302A1 (en) * 2016-05-31 2017-12-07 中兴通讯股份有限公司 Application execution method and device
CN106502717B (en) * 2016-09-22 2020-04-14 华为技术有限公司 Application program running method and device
CN106502717A (en) * 2016-09-22 2017-03-15 华为技术有限公司 application program operation method and device
CN111427594B (en) * 2016-09-22 2024-04-09 华为技术有限公司 Application program running method and device
CN111427594A (en) * 2016-09-22 2020-07-17 华为技术有限公司 Application program running method and device
CN106648746A (en) * 2016-11-07 2017-05-10 三星电子(中国)研发中心 Application execution method and device
CN106648746B (en) * 2016-11-07 2020-10-20 三星电子(中国)研发中心 Application program execution method and device
CN107133065A (en) * 2017-03-31 2017-09-05 北京奇艺世纪科技有限公司 A kind of method and device for opening software function
CN107133065B (en) * 2017-03-31 2020-10-30 北京奇艺世纪科技有限公司 Method and device for starting software function
CN107122214A (en) * 2017-04-28 2017-09-01 广东欧珀移动通信有限公司 Preprocess method, device and the terminal of application program
CN108958824A (en) * 2017-05-18 2018-12-07 龙芯中科技术有限公司 Starting method, apparatus, electronic equipment and the storage medium of application program
CN110245066A (en) * 2018-03-09 2019-09-17 财付通支付科技有限公司 Application runtime environment creation method, creating device, electronic equipment and storage medium
CN110162345A (en) * 2019-05-05 2019-08-23 网宿科技股份有限公司 A kind of application program access method, device and storage medium
CN110162345B (en) * 2019-05-05 2022-02-18 网宿科技股份有限公司 Application program access method and device and storage medium
CN110288952A (en) * 2019-06-24 2019-09-27 湖北亿咖通科技有限公司 The setting method and device of backlight illumination when a kind of onboard system is switched on
CN111258676A (en) * 2020-01-16 2020-06-09 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111258676B (en) * 2020-01-16 2023-07-25 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111314330A (en) * 2020-02-05 2020-06-19 腾讯科技(深圳)有限公司 Network application operation method and device
CN111314330B (en) * 2020-02-05 2021-05-11 腾讯科技(深圳)有限公司 Network application operation method and device
CN111756927A (en) * 2020-06-23 2020-10-09 广东小天才科技有限公司 Output method of positioning information, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN104239102B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN104239102A (en) Operation method and device of application program
CN103500002B (en) The method of application program management, device and terminal unit
CN103677903A (en) Mobile terminal intelligent upgrade method and device, and electronic equipment
CN105320598A (en) Software testing method and device
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN106502703B (en) Function calling method and device
CN104780164A (en) Method and device for operating game client
CN105278937A (en) Method and device for displaying pop-up box messages
CN103473163A (en) Application program detection method and device
EP2979177B1 (en) Method for controlling process of application and computer system
CN103455348A (en) Subarea adjustment method, device, terminal, server and system
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
CN106713608B (en) Application function state modification method and device and terminal
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
US20170097725A1 (en) Device and method for starting mobile terminal application and mobile terminal
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN103631625A (en) Data acquisition method, user terminal, server and system
CN104572046A (en) Method for restoring stacks and computer system
CN104133693B (en) Installment state detection method, device and terminal
CN105530239A (en) Multimedia data obtaining method and device
CN108431767A (en) A kind of method, user terminal and the storage medium of load software program
EP3129883B1 (en) Method and apparatus for repairing dynamic link library file
CN105278942B (en) Component management method and device
CN103729283A (en) System log output method and device and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant