CN108733430A - Management method, device and the storage medium of application program - Google Patents

Management method, device and the storage medium of application program Download PDF

Info

Publication number
CN108733430A
CN108733430A CN201810495079.8A CN201810495079A CN108733430A CN 108733430 A CN108733430 A CN 108733430A CN 201810495079 A CN201810495079 A CN 201810495079A CN 108733430 A CN108733430 A CN 108733430A
Authority
CN
China
Prior art keywords
data
application program
label
module
terminal
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
CN201810495079.8A
Other languages
Chinese (zh)
Other versions
CN108733430B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810495079.8A priority Critical patent/CN108733430B/en
Publication of CN108733430A publication Critical patent/CN108733430A/en
Application granted granted Critical
Publication of CN108733430B publication Critical patent/CN108733430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of management method of application program, device and storage mediums, belong to Internet technical field.The method includes:When monitoring that the system data of terminal changes, corresponding first data label of the system data is obtained, the system data is used to indicate the current state of terminal, and first data label is for being described the system data;Inquire corresponding first application program of first data label;According to query result, the application program in the terminal is managed.The disclosure by obtaining the first data label of system data, and according to the query result to the corresponding application program of the first data label, is managed the application program in terminal when monitoring system data variation.Due to can be started to application program or being closed according to system data, thus useless application program is avoided to occupy system resource, substantially increases system performance.

Description

Management method, device and the storage medium of application program
Technical field
This disclosure relates to Internet technical field, more particularly to a kind of management method of application program, device and storage are situated between Matter.
Background technology
In order to meet the use demand of user, various application programs are mounted in terminal.Though many application programs Right frequency of use is very low, but i.e. in running background after terminal startup, for a long time in occupation of the resource of system.For example, NFC (Near Field Communication, close range wireless communication) application program, i.e. in running background after terminal startup, with Wait for induction NFC device, and in fact, NFC application programs in running background one day, may will not be called by system it is primary, And it occupies one day system resource.In view of system resource is limited, if system resource is not had to temporarily very much Application program occupy, system performance will be substantially reduced.Therefore, it for lifting system performance, needs to carry out pipe to application program Reason.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of management method of application program, device and deposits Storage media.
According to the first aspect of the embodiments of the present disclosure, a kind of management method of application program is provided, the method includes:
When monitoring that the system data of terminal changes, corresponding first data label of the system data is obtained, it is described System data is used to indicate the current state of terminal, and first data label is for being described the system data;
Inquire corresponding first application program of first data label;
According to the query result, the application program in the terminal is managed.
It is described to obtain corresponding first data label of the system data in another embodiment of the disclosure, including:
According to the acquisition modes of the system data, the system data is converted;
According to the transformed system data, first data label is obtained.
It is described according to query result in another embodiment of the disclosure, the application program in the terminal is carried out Management, including:
If inquiring corresponding first application program of first data label, and first data label is in and closes Closed state then starts first application program.
In another embodiment of the disclosure, after startup first application program, further include:
First data label is changed to starting state by closed state.
It is described according to query result in another embodiment of the disclosure, the application program in the terminal is carried out Management, including:
If not inquiring corresponding first application program of first data label, second in starting state is obtained Data label;
Obtain corresponding second application program of second data label;
Close second application program.
In another embodiment of the disclosure, it is described obtain corresponding first data label of the system data before, Further include:
The data that each function module is acquired are monitored by unified system interface;
When monitoring the data variation of any function module acquisition, the data of variation are obtained, and the data of variation are made For the system data.
In another embodiment of the disclosure, the function module includes radio-frequency module, WIFI (Wireless Fidelity, Wireless Fidelity) module, GPS (Global Positioning System, global positioning system) module, data are defeated Enter at least one of module, sensor and camera.
In another embodiment of the disclosure, the system data includes and the relevant input number of the function of application program According to, at least one of position data, weather data, time data.
According to the second aspect of the embodiment of the present disclosure, a kind of managing device of application program is provided, described device includes:
Acquisition module, for when monitoring that the system data of terminal changes, obtaining the system data corresponding first Data label, the system data are used to indicate the current state of terminal, and first data label is used for the system number According to being described;
Enquiry module, for inquiring corresponding first application program of first data label;
Management module, for according to the query result, being managed to the application program in the terminal.
In another embodiment of the disclosure, the acquisition module is used for the acquisition modes according to the system data, The system data is converted;According to the transformed system data, first data label is obtained.
In another embodiment of the disclosure, the management module, if for inquiring first data label Corresponding first application program, and first data label is closed, then starts first application program.
In another embodiment of the disclosure, described device further includes:
State change module, for first data label to be changed to starting state by closed state.
In another embodiment of the disclosure, the management module, if for not inquiring the first data mark Corresponding first application program is signed, the second data label in starting state is obtained;Second data label is obtained to correspond to The second application program;Close second application program.
In another embodiment of the disclosure, described device further includes:
Monitoring modular, for monitoring the data that each function module is acquired by unified system interface;
When monitoring the data variation of any function module acquisition, the data of variation are obtained, and the data of variation are made For the system data.
In another embodiment of the disclosure, the function module includes radio-frequency module, Wireless Fidelity WIFI module, complete At least one of ball Positioning System GPS module, data input module, sensor and camera.
In another embodiment of the disclosure, the system data includes and the relevant input number of the function of application program According to, at least one of position data, weather data, time data.
According to the third aspect of the embodiment of the present disclosure, a kind of managing device of application program is provided, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
When monitoring that the system data of terminal changes, corresponding first data label of the system data is obtained, it is described System data is used to indicate the current state of terminal, and first data label is for being described the system data;
Inquire corresponding first application program of first data label;
According to the query result, the application program in the terminal is managed.
According to the fourth aspect of the embodiment of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, it is special Sign is, is stored at least one instruction in the storage medium, at least one instruction loaded by processor and executed with Realize the management method of application program.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When monitoring system data variation, counted by obtaining the first data label of system data, and according to first According to the query result of the corresponding application program of label, the application program in terminal is managed.Due to can be according to system number According to, application program is started or is closed, thus useless application program is avoided to occupy system resource, substantially increase system Performance.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the implementation environment involved by a kind of management method of application program shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the management method of application program shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the management method of application program shown according to an exemplary embodiment.
A kind of schematic diagram of the managing device of application programs of the Fig. 4 shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the device of management for application program shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 provides the implementation environment involved by a kind of management method of application program, this method for the embodiment of the present disclosure Applied in terminal, which can be smart mobile phone, tablet computer, PDA (Personal Digital Assistant, the palm Upper computer) etc., the embodiment of the present disclosure does not make specific limit to the product type of terminal.Referring to Fig. 1, which includes: Information acquisition module 101, information data analysis module 102 and application management module 103.
Wherein, information acquisition module 101 passes through data input module for acquiring base station information, GPS information and user The data of input (for example, each input method application installed in terminal).The information acquisition module 101 can pass through unification System interface monitors the modules such as radio-frequency module, WIFI module, GPS module.When monitoring the data variation of these modules acquisition, Unified system interface sends a notification message to information acquisition module 101, upon receipt of the notification message, information acquisition module 101 can obtain the data of variation, and the data of these variations can be described as data source, that is to say the system number described in the embodiment of the present disclosure According to.For example, when monitoring that the collected position data of GPS module changes, system interface sends logical to information acquisition module 101 Know message, upon receipt of the notification message, information acquisition module 101 obtains newest position data.
Certainly, other than monitoring above-mentioned module, information acquisition module 101 can also monitor terminal support various sensors, Camera etc., and the delta data that each sensor monitored, camera are acquired is as system data.Information acquisition module 101 can also monitor each input method application installed in terminal, when monitoring that user passes through arbitrary input method application input word When language, the word that user is inputted is obtained, and using acquired word as system data.
Information acquisition module 101 also have data converting function, after getting the data of variation, can according to data come Source (i.e. acquisition modes), converts the data got.Information acquisition module 101 also has data sending function, right After the data of variation are converted, it can send and instruct to information data analysis module 102, to trigger information data analysis module 102 are handled.
Wherein, two databases are safeguarded in information analysis module 102, a database is tag database, can obtain change The corresponding data label of data after changing, another database are configuration database, and it is corresponding using journey can to inquire data label Sequence.Based on above-mentioned two database, information analysis module 102 can realize processing function, which includes inquiry, state change Deng.Information analysis module 102 also have notice sending function, can according to the query result of the corresponding application program of data label, Different notification messages is sent to application management module 103, with trigger application management module 103 to application program into Row management.
Application management module 103 can carry out application program different management according to the notification message received.
Fig. 2 is a kind of flow chart of the management method of application program shown according to an exemplary embodiment, such as Fig. 2 institutes Show, the management method of application program is in terminal, including the following steps.
In step s 201, when monitoring that the system data of terminal changes, corresponding first data of system data are obtained Label.
Wherein, system data is used to indicate the current state of terminal, and the first data label is for retouching system data It states.
In step S202, corresponding first application program of the first data label of inquiry.
In step S203, according to query result, the application program in terminal is managed.
The method that the embodiment of the present disclosure provides, when monitoring system data variation, by obtain system data first Data label, and according to the query result to the corresponding application program of the first data label, the application program in terminal is carried out Management.Due to can be started to application program or being closed according to system data, thus useless application program is avoided to occupy System resource substantially increases system performance.
In another embodiment of the disclosure, corresponding first data label of system data is obtained, including:
According to the acquisition modes of system data, system data is converted;
According to transformed system data, the first data label is obtained.
In another embodiment of the disclosure, according to query result, the application program in terminal is managed, is wrapped It includes:
If inquiring corresponding first application program of the first data label, and the first data label is closed, Then start the first application program.
In another embodiment of the disclosure, after starting the first application program, further include:
First data label is changed to starting state by closed state.
In another embodiment of the disclosure, according to query result, the application program in terminal is managed, is wrapped It includes:
If not inquiring corresponding first application program of the first data label, the second data in starting state are obtained Label;
Obtain corresponding second application program of the second data label;
Close the second application program.
In another embodiment of the disclosure, before obtaining corresponding first data label of system data, further include:
The data that each function module is acquired are monitored by unified system interface;
When monitoring the data variation of any function module acquisition, the data of variation are obtained, and the data of variation are made For system data.
In another embodiment of the disclosure, function module includes that radio-frequency module, Wireless Fidelity WIFI module, the whole world are fixed At least one of position System GPS module, data input module, sensor and camera.
In another embodiment of the disclosure, system data include with the relevant input data of the function of application program, At least one of position data, weather data, time data.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 3 is a kind of flow chart of the management method of application program shown according to an exemplary embodiment, such as Fig. 3 institutes Show, the management method of application program is in terminal, including the following steps.
In step S301, terminal monitoring terminal examining system data.
Wherein, the operating system installed in terminal can be Android system, IOS systems, Windows systems etc., the disclosure Embodiment does not make specific limit to the operating system installed in terminal.System data is used to indicate the current state of terminal, System data includes and the relevant input data of the function of application program, position data, weather data, temperature data, time number According at least one of, date data etc..
In the embodiments of the present disclosure, there are one unified system interfaces for tool in terminal, which can be by operating system It calls, to be monitored to the data that each function module is acquired in terminal.Wherein, function module includes radio-frequency module, nothing At least one of line fidelity WIFI module, global position system GPS module, data input module, sensor and camera etc..System One system interface monitors the data of each function module acquisition in real time, when the data variation for monitoring any function module acquisition When, the data of variation are obtained, and using the data of variation as system data.
For example, when terminal monitors that the collected position data of GPS module changes by unified system interface, terminal The new position data is obtained, and using new position data as system data;In another example when terminal is connect by unified system When mouth monitors that temperature sensor collects temperature data variation, terminal obtains new temperature data, and by new temperature data As system data;In another example when terminal monitors user by input method application input word by unified system interface, Terminal obtains the word that user is inputted, and the word that user is inputted is as system data.
In step s 302, when monitoring that the system data of terminal changes, terminal obtains system data corresponding first Data label.
Wherein, the first data label is for being described system data.When system data is position data, the first number It is the description information that position data is described according to label, for example, bus station, market, school, hospital, office building etc.;When being Unite data be weather data when, the first data label is the description information that weather data is described, for example, the cloudy day, fine day, Rainy day etc.;When system data is temperature data, the first data label is the description information that temperature data is described, example Such as, high temperature, low temperature etc.;When system data is time data, the first data label is the description that time data is described Information, for example, morning, noon, evening etc.;When system data be date data when, the first data label be to date data into The description information of row description, for example, working day, festivals or holidays etc.;When system data is the relevant data of function with application program When, the first data label is pair description information being described with the relevant input data of function of application program, for example, merely It, shopping, read, navigation etc..
When terminal obtains system data corresponding first data label, following method may be used:
The first step, terminal convert system data according to the acquisition modes of system data.
What the acquisition modes of system data were monitored when getting system data by unified system interface according to terminal Function module determines.For example, being obtained if system data monitors radio-frequency module by terminal by unified system interface, this is The acquisition modes for data of uniting are radio frequency method;If system data monitors WIFI module by unified system interface by terminal and obtains It arrives, then the acquisition modes of the system data are WIFI modes;If system data is monitored by terminal by unified system interface GPS module obtains, then the acquisition modes of the system data are GPS modes;If system data passes through unified system by terminal Interface monitor data input module obtains, then the acquisition modes of the system data are data entry mode;If system data by Terminal monitors sensor by unified system interface and obtains, then the acquisition modes of the system data are approach sensor;If System data monitors camera by unified system interface by terminal and obtains, then the acquisition modes of the system data are camera Mode.
After getting system data, according to the acquisition modes of system data, terminal-pair system data carries out different turn It changes.For example, system data is the base station data that radio-frequency module is got, acquisition modes are radio frequency method, then by base station data Geographic position name is converted, such as the base station data got is converted into Peking University, the Renmin University of China, is needed herein It is bright, since the position that the position of base station data description does not have GPS data to describe is accurate, thus it cannot specifically navigate to one Building, a specific position;System data is the longitude and latitude degrees of data that GPS module is got, and acquisition modes are GPS modes, Longitude and latitude data are then converted into geographic position name, such as longitude and latitude data are converted into multicolored city, Qinghe Middle St bus station Deng.
Second step, terminal obtain the first data label according to transformed system data.
Based on transformed system data, terminal can get corresponding first data label according to tag database.Its In, the database that tag database is safeguarded by terminal is stored with transformed system data and first in the database Correspondence between data label, the first database can be configured by research staff, can also provide setting interface, by with Family is independently configured.For corresponding between the transformed system data and the first data label that are stored in tag database Relationship can be found in table 1.
Table 1
Transformed system data First data label
Peking University, the Renmin University of China, Beijing University of Post & Telecommunication etc. University
On May 1st, 2018 Red-letter day
Higher than 35 degree High temperature
Based on above-mentioned table 1, if transformed system data is Peking University, it is big that can obtain the first data label It learns;If transformed system data is 39 degree, it is high temperature that can get a data label;If transformed system data For on May 1st, 2018, then it was red-letter day that can get the first data label.
In step S303, corresponding first application program of the first data label of terminal inquiry.
In the embodiments of the present disclosure, one configuration database of terminal maintenance is stored with data label in the configuration database Correspondence between application program.The configuration database can be configured by research staff, can be also configured by user.
It should be noted that the correspondence between the data label that the configuration database is stored and application program is not It is changeless, it, can be right when application program update or when original correspondence cannot meet the use demand of user The correspondence that the configuration database is stored is modified.
When getting the first data label, whether terminal is deposited in queries configuration database according to first data label The corresponding application program of the first data label is contained, obtains query result, and then according to query result to the application in terminal Program is managed.
In step s 304, terminal is managed the application program in terminal according to query result.
When terminal inquires corresponding first application program of the first data label from configuration database, two kinds of inquiries can be obtained As a result, be directed to different query results, when the application program in terminal-pair terminal is managed, including but not limited to the following two kinds Mode:
If first way inquires corresponding first application program of the first data label, and at the first data label In closed state, then terminal starts the first application program.
When inquiring corresponding first application program of the first data label, terminal detects the shape residing for the first data label State illustrates corresponding first application program of the first data label and not actuated if the first data label is closed, this When terminal can by program management module send enabled instruction, start first application program.
After starting the first application program, the first data label can be also changed to starting state by terminal by closed state.
For example, terminal gets system data by unified system interface, the corresponding first data mark of the system data Label are market, and it is that app is netted in public comment to inquire the corresponding application program in market, and then, whether terminal detects market label It is closed, if be closed, terminal sends enabled instruction to program management module, starts public comment net App, and the state of market label is changed to starting state by closed state.
In another embodiment of the disclosure, after inquiring the first data label corresponding first application program, eventually End can close other corresponding application programs of the first data label in starting state, to save system resource.
If the second way does not inquire corresponding first application program of the first data label, terminal can be obtained and is in Second data label of starting state, and obtain corresponding second application program of the second data label, and then close this and second answer Use program.
By taking system data is position data as an example, when getting new position data, illustrate that terminal has been moved off second The corresponding position of data label will waste system resource, at this time if continuing to run with the corresponding application program of the second data label Terminal can be by sending out code, to close second application program to application management module.
After closing the second application program, the second data label can be also in off state by terminal by starting state change.
For example, terminal monitors that the position data that GPS module acquires changes by unified system interface, terminal obtains new Position data, and get corresponding first data label of new position data be residential area label, terminal inquiry resident The corresponding application program of cell label, if not inquiring the corresponding application program of residential area label, terminal is obtained to be in and be opened Second data label of dynamic state is bus station's label, and it is NFC application programs to obtain the corresponding application program of bus station's label, And then by sending out code to application management module, to close the NFC application programs.
The method that the embodiment of the present disclosure provides, when monitoring system data variation, by obtain system data first Data label, and according to the query result to the corresponding application program of the first data label, the application program in terminal is carried out Management.Due to can be started to application program or being closed according to system data, thus useless application program is avoided to occupy System resource substantially increases system performance.
Fig. 4 is a kind of schematic diagram of the managing device of application program shown according to an exemplary embodiment.Reference Fig. 4, The device includes:Acquisition module 401, enquiry module 402 and management module 403.
The acquisition module 401 is configured as, when monitoring that the system data of terminal changes, it is corresponding obtaining system data First data label, system data are used to indicate the current state of terminal, and the first data label is for retouching system data It states;
The enquiry module 402 is configured as corresponding first application program of the first data label of inquiry;
The management module 403 is configured as, according to query result, being managed the application program in terminal.
In another embodiment of the disclosure, which is configured as the acquisition modes according to system data, System data is converted;According to transformed system data, the first data label is obtained.
In another embodiment of the disclosure, if the management module 403 is configured as inquiring the first data label Corresponding first application program, and the first data label is closed, then starts the first application program.
In another embodiment of the disclosure, which further includes:State change module.
The state change module is configured as the first data label being changed to starting state by closed state.
In another embodiment of the disclosure, if the management module 403 is configured as not inquiring the first data mark Corresponding first application program is signed, the second data label in starting state is obtained;Obtain the second data label corresponding Two application programs;Close the second application program.
In another embodiment of the disclosure, which further includes:Monitoring modular
The monitoring modular is configured as monitoring the data that each function module is acquired by unified system interface;
The acquisition module 401 is configured as, when monitoring the data variation of any function module acquisition, obtaining variation Data, and using the data of variation as system data.
In another embodiment of the disclosure, function module includes that radio-frequency module, Wireless Fidelity WIFI module, the whole world are fixed At least one of position System GPS module, data input module, sensor and camera.
In another embodiment of the disclosure, system data include with the relevant input data of the function of application program, At least one of position data, weather data, time data.
It should be noted that the information acquisition module 101 in implementation environment shown in FIG. 1 may include acquisition module 401 And monitoring modular, the acquisition module 401 can have the function of the acquisition of information acquisition module 101, which can have information The monitoring function of acquisition module 101;Information analysis module 102 in implementation environment shown in FIG. 1 may include enquiry module 402 And there is the query function of information analysis module 102, the state change module to have for state change module, the enquiry module 402 The state of information analysis module 102 changes function;Management module 403 can be the application program in implementation environment shown in FIG. 1 Management module 103, the management module 403 have the repertoire of application management module 103.
The device that the embodiment of the present disclosure provides, when monitoring system data variation, by obtain system data first Data label, and according to the query result to the corresponding application program of the first data label, the application program in terminal is carried out Management.Due to can be started to application program or being closed according to system data, thus useless application program is avoided to occupy System resource substantially increases system performance.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of block diagram of the device 500 of management for application program shown according to an exemplary embodiment.Example Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 may include following one or more components:Processing component 502, memory 504, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of 502 usual control device 500 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in equipment 500.These data are shown Example includes instruction for any application program or method that operate on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 506 provides electric power for the various assemblies of device 500.Electric power assembly 506 may include power management system System, one or more power supplys and other generated with for device 500, management and the associated component of distribution electric power.
Multimedia component 508 is included in the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When equipment 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detect the state that opens/closes of equipment 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
The terminal that the embodiment of the present disclosure provides, when monitoring system data variation, by obtain system data first Data label, and according to the query result to the corresponding application program of the first data label, the application program in terminal is carried out Management.Due to can be started to application program or being closed according to system data, thus useless application program is avoided to occupy System resource substantially increases system performance.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (18)

1. a kind of management method of application program, which is characterized in that the method includes:
When monitoring that the system data of terminal changes, corresponding first data label of the system data, the system are obtained Data are used to indicate the current state of terminal, and first data label is for being described the system data;
Inquire corresponding first application program of first data label;
According to the query result, the application program in the terminal is managed.
2. according to the method described in claim 1, it is characterized in that, described obtain the corresponding first data mark of the system data Label, including:
According to the acquisition modes of the system data, the system data is converted;
According to the transformed system data, first data label is obtained.
3. according to the method described in claim 1, it is characterized in that, described according to query result, to the application in the terminal Program is managed, including:
If inquiring corresponding first application program of first data label, and first data label is in and closes shape State then starts first application program.
4. according to the method described in claim 3, it is characterized in that, after startup first application program, further include:
First data label is changed to starting state by closed state.
5. according to the method described in claim 1, it is characterized in that, described according to query result, to the application in the terminal Program is managed, including:
If not inquiring corresponding first application program of first data label, the second data in starting state are obtained Label;
Obtain corresponding second application program of second data label;
Close second application program.
6. according to the method described in claim 1, it is characterized in that, described obtain the corresponding first data mark of the system data Before label, further include:
The data that each function module is acquired are monitored by unified system interface;
When monitoring the data variation of any function module acquisition, the data of variation are obtained, and using the data of variation as institute State system data.
7. according to the method described in claim 6, it is characterized in that, the function module includes radio-frequency module, Wireless Fidelity At least one of WIFI module, global position system GPS module, data input module, sensor and camera.
8. method according to any one of claim 1 to 7, which is characterized in that the system data include with using journey At least one of the relevant input data of function of sequence, position data, weather data, time data.
9. a kind of managing device of application program, which is characterized in that described device includes:
Acquisition module, for when monitoring that the system data of terminal changes, obtaining corresponding first data of the system data Label, the system data are used to indicate the current state of terminal, first data label be used for the system data into Row description;
Enquiry module, for inquiring corresponding first application program of first data label;
Management module, for according to the query result, being managed to the application program in the terminal.
10. device according to claim 9, which is characterized in that the acquisition module, for according to the system data Acquisition modes convert the system data;According to the transformed system data, the first data mark is obtained Label.
11. device according to claim 9, which is characterized in that the management module, if for inquiring described first Corresponding first application program of data label, and first data label is closed, then starts first application Program.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
State change module, for first data label to be changed to starting state by closed state.
13. device according to claim 9, which is characterized in that the management module, if for not inquiring described Corresponding first application program of one data label obtains the second data label in starting state;Obtain second data Corresponding second application program of label;Close second application program.
14. device according to claim 9, which is characterized in that described device further includes:
Monitoring modular, for monitoring the data that each function module is acquired by unified system interface;
The acquisition module, for when monitoring the data variation of any function module acquisition, obtaining the data of variation, and will The data of variation are as the system data.
15. device according to claim 14, which is characterized in that the function module includes radio-frequency module, Wireless Fidelity At least one of WIFI module, global position system GPS module, data input module, sensor and camera.
16. device according to any one of claims 9 to 15, which is characterized in that the system data includes and application At least one of the relevant input data of function of program, position data, weather data, time data.
17. a kind of managing device of application program, which is characterized in that including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
When monitoring that the system data of terminal changes, corresponding first data label of the system data, the system are obtained Data are used to indicate the current state of terminal, and first data label is for being described the system data;
Inquire corresponding first application program of first data label;
According to the query result, the application program in the terminal is managed.
18. a kind of non-transitorycomputer readable storage medium, which is characterized in that be stored at least one in the storage medium Instruction, at least one instruction are loaded by processor and are executed to realize such as application described in any item of the claim 1 to 8 The management method of program.
CN201810495079.8A 2018-05-22 2018-05-22 Application program management method and device and storage medium Active CN108733430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810495079.8A CN108733430B (en) 2018-05-22 2018-05-22 Application program management method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810495079.8A CN108733430B (en) 2018-05-22 2018-05-22 Application program management method and device and storage medium

Publications (2)

Publication Number Publication Date
CN108733430A true CN108733430A (en) 2018-11-02
CN108733430B CN108733430B (en) 2022-08-12

Family

ID=63937802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810495079.8A Active CN108733430B (en) 2018-05-22 2018-05-22 Application program management method and device and storage medium

Country Status (1)

Country Link
CN (1) CN108733430B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324578B1 (en) * 1998-12-14 2001-11-27 International Business Machines Corporation Methods, systems and computer program products for management of configurable application programs on a network
US7082791B2 (en) * 2000-10-18 2006-08-01 Shin-Etsu Chemical Co., Ltd. Apparatus for fabricating soot preform for optical fiber
WO2009021432A1 (en) * 2007-08-10 2009-02-19 Tencent Technology (Shenzhen) Company Limited A method and apparatus for activating application program by mobile terminal, and system thereof
CN101951549A (en) * 2010-09-15 2011-01-19 中兴通讯股份有限公司 Method, mobile terminal and application server for dynamically processing application
CN102308272A (en) * 2011-07-07 2012-01-04 华为终端有限公司 Method and device for automatic display of applications on home screen
WO2013026939A1 (en) * 2011-08-25 2013-02-28 Syngenta Participations Ag Methods for the control of termites and ants
CN104168390A (en) * 2014-08-29 2014-11-26 惠州Tcl移动通信有限公司 Method and system for automatically stopping application programs based on mobile terminal
CN105549717A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment
CN105677338A (en) * 2015-12-31 2016-06-15 小米科技有限责任公司 Application program display method and device
CN105912632A (en) * 2016-04-08 2016-08-31 海尔优家智能科技(北京)有限公司 Device service recommending method and device
CN106445606A (en) * 2016-09-29 2017-02-22 北京小米移动软件有限公司 Application program starting method and device
US9881096B1 (en) * 2011-09-26 2018-01-30 Google Llc Web page tab management based on location

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324578B1 (en) * 1998-12-14 2001-11-27 International Business Machines Corporation Methods, systems and computer program products for management of configurable application programs on a network
US7082791B2 (en) * 2000-10-18 2006-08-01 Shin-Etsu Chemical Co., Ltd. Apparatus for fabricating soot preform for optical fiber
WO2009021432A1 (en) * 2007-08-10 2009-02-19 Tencent Technology (Shenzhen) Company Limited A method and apparatus for activating application program by mobile terminal, and system thereof
CN101951549A (en) * 2010-09-15 2011-01-19 中兴通讯股份有限公司 Method, mobile terminal and application server for dynamically processing application
CN102308272A (en) * 2011-07-07 2012-01-04 华为终端有限公司 Method and device for automatic display of applications on home screen
WO2013026939A1 (en) * 2011-08-25 2013-02-28 Syngenta Participations Ag Methods for the control of termites and ants
US9881096B1 (en) * 2011-09-26 2018-01-30 Google Llc Web page tab management based on location
CN104168390A (en) * 2014-08-29 2014-11-26 惠州Tcl移动通信有限公司 Method and system for automatically stopping application programs based on mobile terminal
CN105549717A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment
CN105677338A (en) * 2015-12-31 2016-06-15 小米科技有限责任公司 Application program display method and device
CN105912632A (en) * 2016-04-08 2016-08-31 海尔优家智能科技(北京)有限公司 Device service recommending method and device
CN106445606A (en) * 2016-09-29 2017-02-22 北京小米移动软件有限公司 Application program starting method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YI LIU ET AL: "Characterizing RESTful Web Services Usage on Smartphones: A Tale of Native Apps and Web Apps", 《2015 IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES》 *
火山: "控制程序提升下载灵活性", 《个人电脑》 *

Also Published As

Publication number Publication date
CN108733430B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US9554050B2 (en) Mobile device using images and location for reminders
CN104268129B (en) The method and device of message back
CN105680892A (en) Correlation article reminding method and device
CN104966411A (en) Method, apparatus and system for determining idle parking stalls
CN104932276B (en) The control method and device of home intelligent power supply
CN106157602A (en) The method and apparatus of calling vehicle
CN110110026A (en) A kind of method, apparatus and medium of intelligent prompt trip help information
KR20170023746A (en) Method and apparatus of displaying ticket information
CN103916473A (en) Travel information processing method and relative device
CN103377205A (en) Method and device for executing scheduled tasks
CN107230137A (en) Merchandise news acquisition methods and device
CN105681549B (en) Export the method and device of prompt information
CN105872976A (en) Positioning method and device
CN107027157A (en) Location updating method and equipment
CN105306690B (en) A kind of method and apparatus of processing communication information
CN106568454A (en) Information prompting method and device
CN103905442A (en) Wakeup method and device in data synchronization
CN106453774B (en) Contact information methods of exhibiting and device
CN108574777A (en) Information prompting method and device
CN105208209A (en) Alarm clock setting method and device and terminal equipment
CN106537947A (en) Operation triggering method and portable electronic device
CN105094364B (en) Vocabulary display methods and device
CN108572979A (en) A kind of position service method and device, a kind of device for location-based service
CN106445606A (en) Application program starting method and device
CN106534495A (en) Method of information processing, device and equipment

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
GR01 Patent grant
GR01 Patent grant