CN104699534A - Data connection and application program association control method - Google Patents

Data connection and application program association control method Download PDF

Info

Publication number
CN104699534A
CN104699534A CN201310665310.0A CN201310665310A CN104699534A CN 104699534 A CN104699534 A CN 104699534A CN 201310665310 A CN201310665310 A CN 201310665310A CN 104699534 A CN104699534 A CN 104699534A
Authority
CN
China
Prior art keywords
application program
apk
apk application
list table
cube computation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310665310.0A
Other languages
Chinese (zh)
Inventor
孙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chiun Mai Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201310665310.0A priority Critical patent/CN104699534A/en
Publication of CN104699534A publication Critical patent/CN104699534A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a data connection and application program association control method. The method comprises the following steps: associating Apk application programs already installed in an electronic device to a starting association table list and a closing association table list; inquiring the starting association table list when the data connection of the electronic device is started and sequentially starting the Apk application programs which are not started in the starting association table list; inquiring the closing association table list when the data connection of the electronic device is closed and sequentially closing the Apk application programs which are not closed in the closing association table list. By using the data connection and application program association control method, a user can start the Apk application program while starting data connection and also exit the Apk application program while closing the data connection, so that the consumption of internal storage is reduced, and the resources are saved.

Description

The control method that data cube computation associates with application program
Technical field
The present invention relates to the control method that a kind of data cube computation associates with application program.
Background technology
Various application (Android Package on Android (Android) mobile phone, i.e. Apk) exceed 1,000,000 kinds, the function that a lot of application has networking automatically and upgrades, such as weather plug-in unit, novel reading, antivirus software etc., this kind of application is the source of the indescribable generation flow of mobile phone.In order to prevent the flow of use too much, a lot of people likes after being finished Apk application, and close data cube computation in time, fundamentally disconnect network, avoid flow to produce, this is a kind of simple effective method.But although sometimes close data cube computation, application program also may at the running background of mobile phone, even if lost the meaning of operation.Such as QQ, microblogging etc., not only consume internal memory, and take cpu resource.
Summary of the invention
In view of above content, be necessary the control method providing a kind of data cube computation to associate with application program, utilize the data cube computation button in Android phone, user is enable to start Apk application while startup data cube computation, also Apk application is closed when the data cube computation of closing, and then minimizing memory consumption, economize on resources.
The control method that described data cube computation associates with application program, be applied in electronic installation, the method comprising the steps of: Apk application program mounted in electronic installation be associated with and start association list table and close in association list table; When the data cube computation of described electronic installation is opened, inquire about described startup association list table, start the Apk application program do not started in this table successively; When the data cube computation of described electronic installation is closed, inquire about described closedown association list table, close the Apk application program of not closing in this table successively.
Compared to prior art, the present invention utilizes the data cube computation button in Android phone, enables user start Apk application while startup data cube computation, also closes Apk application when the data cube computation of closing, and then reach minimizing memory consumption, the object economized on resources.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of the control system preferred embodiment that data cube computation of the present invention associates with application program.
Fig. 2 is the process flow diagram of the control method preferred embodiment that data cube computation of the present invention associates with application program.
Fig. 3 is the refinement process flow diagram of Fig. 2 step S22.
Fig. 4 is the refinement process flow diagram of Fig. 2 step S23.
Fig. 5 is database table single structure schematic diagram.
Main element symbol description
Electronic installation 1
The control system 10 that data cube computation associates with application program
Configuration module 101
Enquiry module 102
Start module 103
Closing module 104
Judge module 105
Memory storage 11
Processor 12
Display device 13
Database 14
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Consulting shown in Fig. 1, is the system architecture diagram of the control system preferred embodiment that data cube computation of the present invention associates with application program.In the present embodiment, the control system (hereinafter referred to as " described system ") that described data cube computation associates with application program is installed and runs in electronic installation 1, this electronic installation 1 also include but not limited to, memory storage 11, processor 12, display device 13 and database 14.Described electronic installation 1 can be a kind of mobile electronic device such as smart mobile phone or panel computer of Andriod operating system.
In the present embodiment, the control system 10 that described data cube computation associates with application program comprises configuration module 101, enquiry module 102, starts module 103, closing module 104 and judge module 105.Functional module alleged by the present invention refer to a kind of can be performed and the sequence of program instructions section of fixed function can be completed by the processor 12 of electronic installation 1, it is stored in the memory storage 11 of electronic installation 1.The concrete function of described functional module 101-105 is described in detail in the process flow diagram of Fig. 2 later.
Consulting shown in Fig. 2, is the process flow diagram of the control method preferred embodiment that data cube computation of the present invention associates with application program.In the present embodiment, the control method that described data cube computation associates with application program is applied in electronic installation 1, user is enable to start Apk application program while startup data cube computation, also Apk application program is exited when closedown data cube computation, and then reduce the consumption of internal memory, economize on resources.
Step S21, the Apk list table of the application program automatically exited when configuration module 101 arranges the Apk list table of automatically actuated application program when turn-on data connects and closes data cube computation.
First configuration module 101 needs in database 14, set up two database lists as shown in Figure 5, and its structure comprises sequence number, Apk name, bag name and class name.The structure of two database lists is identical and corresponding with the opening and closing of data cube computation respectively, is respectively used to store data and connects the Apk application information automatically exited when automatically actuated Apk application information and data cube computation are closed when opening.Two described database lists are called and start association list table and associate list table.
Secondly configuration module 101 calls PackageManager (class name) object of Andriod system, obtains mounted Apk application information in described electronic installation 1 by getInstalledPackages (method name) method of this object.According to the information obtained, Apk application program mounted in described electronic installation 1 shows in display device 13 with the form of icon and Apk name by configuration module 101, selects for user.
Finally when user selects to associate certain Apk application program, the title ApkName of this Apk application program, Apk bag name packageName and program entry (Activity) class name className deposit in field corresponding to the above-mentioned database list created by configuration module 101.Described database list can be startup association list table also can be close association list table.This database list can provide inquiry and delete the function of related information.
Step S22, when data cube computation is opened, the startup association list table in enquiry module 102 Query Database 14, startup module 103 starts the Apk application program in described list table.The detailed step of connection with step S22 will be described in detail in Fig. 3 later.
Step S23, when data cube computation is closed, the closedown association list table in enquiry module 102 Query Database 14, closing module 104 closes the Apk application program in described list table.The detailed step of connection with step S23 will be described in detail in Fig. 4 later.
Consulting shown in Fig. 3, is the refinement process flow diagram of step S22 in Fig. 2.
Step S221, enquiry module 102 calls telephoneManager (class name) object of Andriod system, is inquired about the data connection state of described electronic installation 1 by getDataState (method name) method of this object.
Step S222, data cube computation, as opened, enters step S223, otherwise directly exits, process ends.
Step S223, an Apk application information in the startup association list table in enquiry module 102 Query Database 14, and return bag name and the class name of this Apk.
Step S224, enquiry module 102, according to the bag name returned and class name, by getRunningProcess (method name) method of Andriod system, inquires about the operation information of described Apk application program.If this Apk application program is run, then enter step S226, otherwise enter step S225.
Step S225, starts module 103 by sending the communication mechanism in Intent(Andriod system), start described Apk application program.
Step S226, judge module 105 judges whether the described Apk application program started in association list table inquired about all.If all inquired about, then process ends, otherwise return step S223, continue inquiry described startup association list table, read next Apk application information.
Consulting shown in Fig. 4, is the refinement process flow diagram of step S23 in Fig. 2.
Step S231, enquiry module 102 calls the telephoneManager object of Andriod system, is inquired about the data connection state of described electronic installation 1 by the getDataState method of this object.
Step S232, data cube computation, as closed, enters step S233, otherwise directly exits, process ends.
Step S233, an Apk application information in the closedown association list table in enquiry module 102 Query Database 14, and return bag name and the class name of this Apk.
Step S234, enquiry module 102, according to the bag name returned and class name, by getRunningProcess (method name) method of Andriod system, inquires about the operation information of described Apk application program.If this Apk application program is not closed, then enter step S235, otherwise enter step S236.
Step S235, closing module 104 calls Andriod system killBackgroundProcesses(method name) method, stop the process of described Apk application program, close Apk application program.
Step S236, judge module 105 judges whether described Apk application program of closing in association list table inquired about all.If all inquired about, then process ends, otherwise return step S233, continue inquiry described closedown association list table, read next Apk application information.
In the present embodiment, pass through above-mentioned steps, make user when turn-on data connects, Apk application synchronization starts and the Apk application program not repeated priming started before turn-on data connection, when closing data cube computation, Apk application synchronization is closed and before closedown data cube computation, buttoned-up Apk application program does not repeat to close.
Above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to above preferred embodiment to invention has been detailed description, those of ordinary skill in the art should be appreciated that and can modify to technical scheme of the present invention or be equal to the spirit and scope of replacing and should not depart from technical solution of the present invention.

Claims (6)

1. the control method that associates with application program of data cube computation, be applied in electronic installation, it is characterized in that, the method comprising the steps of:
A Apk application program mounted in electronic installation is associated with and starts association list table and close in association list table by ();
B (), when the data cube computation of described electronic installation is opened, is inquired about described startup association list table, is started the Apk application program do not started in this table successively;
C (), when the data cube computation of described electronic installation is closed, is inquired about described closedown association list table, is closed the Apk application program of not closing in this table successively.
2. the control method that associates with application program of data cube computation as claimed in claim 1, it is characterized in that, described step a comprises:
Create the identical startup association list table of structure in a database and associate list table;
Call the PackageManager object of Andriod system, by getInstalledPackages method, obtain mounted Apk application information in described electronic installation, and show in the display device of described electronic installation with the form of icon and Apk name;
Receive the selection of user, list table need be associated stored in described startup or associate in list table respectively with the Apk name of the Apk application program that data cube computation is opened or data cube computation associates, bag name and class name.
3. the control method that associates with application program of data cube computation as claimed in claim 1, it is characterized in that, described step b comprises:
Query steps one: call Andriod system telephoneManager object, inquired about the data connection state of described electronic installation by the method for the getDataState of this object;
Query steps two: when data cube computation is opened, inquiry starts an Apk application information in association list table, and returns bag name and the class name of this Apk application program;
Query steps three: by the method for Andriod system getRunningProcess, inquires about the operation information of described Apk application program;
Setting up procedure: when this application program off-duty, sends Intent, starts described Apk application program;
Determining step one: judge whether have Apk application program not to be queried in described startup association list table, if also have Apk application program not to be queried, then return query steps two, inquiry starts the next Apk application information in association list table, if the Apk application program started described in association list table was queried all, then process ends.
4. the control method that associates with application program of data cube computation as claimed in claim 3, is characterized in that, also comprise after described query steps three:
When this Apk application program is run, do not restart this Apk application program, directly enter determining step one.
5. the control method that associates with application program of data cube computation as claimed in claim 1, it is characterized in that, described step c comprises:
Query steps four: call Andriod system telephoneManager object, inquired about the data connection state of described electronic installation by the method for the getDataState of this object;
Query steps five: when data cube computation is closed, an Apk application information in association list table is closed in inquiry, and returns bag name and the class name of this Apk application program;
Query steps six: by the method for Andriod system getRunningProcess, inquires about the operation information of described Apk application program;
Close step: when this application program is not closed, by killBackgroundProcesses method, stop the process of described Apk application program, close described Apk application program;
Determining step two: judge whether have Apk application program not to be queried in described closedown association list table, if also have Apk application program not to be queried, then return query steps five, the next Apk application information in association list table is closed in inquiry, if the Apk application program started described in association list table was queried all, then process ends.
6. the control method that associates with application program of data cube computation as claimed in claim 5, is characterized in that, also comprise after described query steps six:
When described Apk application program is run, no longer close this Apk application program, directly enter determining step two.
CN201310665310.0A 2013-12-10 2013-12-10 Data connection and application program association control method Pending CN104699534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310665310.0A CN104699534A (en) 2013-12-10 2013-12-10 Data connection and application program association control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310665310.0A CN104699534A (en) 2013-12-10 2013-12-10 Data connection and application program association control method

Publications (1)

Publication Number Publication Date
CN104699534A true CN104699534A (en) 2015-06-10

Family

ID=53346697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310665310.0A Pending CN104699534A (en) 2013-12-10 2013-12-10 Data connection and application program association control method

Country Status (1)

Country Link
CN (1) CN104699534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020427A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Processing method and device of associated applications and mobile terminal
CN106528210A (en) * 2016-10-20 2017-03-22 广东欧珀移动通信有限公司 Application running method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650943A (en) * 2011-02-28 2012-08-29 深圳富泰宏精密工业有限公司 Application program startup management system and method
CN103235686A (en) * 2013-03-29 2013-08-07 北京智谷睿拓技术服务有限公司 Application management method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650943A (en) * 2011-02-28 2012-08-29 深圳富泰宏精密工业有限公司 Application program startup management system and method
CN103235686A (en) * 2013-03-29 2013-08-07 北京智谷睿拓技术服务有限公司 Application management method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020427A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Processing method and device of associated applications and mobile terminal
WO2017206881A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Method and apparatus for processing associated applications, storage medium, and electronic device
CN106528210A (en) * 2016-10-20 2017-03-22 广东欧珀移动通信有限公司 Application running method and apparatus
CN106528210B (en) * 2016-10-20 2019-09-24 Oppo广东移动通信有限公司 A kind of operation method and device of application program

Similar Documents

Publication Publication Date Title
EP3855312A1 (en) Information processing method, device, storage medium, electronic device and system
CN105190555B (en) Centralized task schedule
US20160171978A1 (en) Voice recognition system and construction method thereof
US20140195663A1 (en) Method and System for Providing Cloud-Based Common Distribution Applications
CN102073526B (en) Software transfer installation method and system for mobile terminal
WO2020206691A1 (en) Application processing method and apparatus, storage medium, and electronic device
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
WO2012155698A1 (en) Browser engine based method for dynamically loading widget and mobile terminal
CN103595566A (en) Method and device for detecting idle IP addresses
CN110417871A (en) A kind of smart machine upgrade method
WO2019128574A1 (en) Information processing method and device, computer device and computer readable storage medium
CN107943820A (en) Searching method, device, terminal device and operating system
CN109992380A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN112601201A (en) Method for automatically distributing network, routing equipment and computer readable storage medium
CN104699534A (en) Data connection and application program association control method
CN104158857B (en) A kind of apparatus and method that the service of networking operating system is provided
US8761833B2 (en) Apparatus and method for power saving using predictive polling in a portable terminal
CN103631621A (en) Method and device for prompting information
CN104079540A (en) Method, device and system of updating application as well as user equipment
WO2023060893A1 (en) Storage space management method and apparatus, and device and storage medium
US10572531B1 (en) Predictive session-based search engine
CN107453959B (en) Network card management method and device
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN105005476A (en) Android-mobile-application-mashup-oriented framework
CN108391307B (en) Power consumption control method and device based on android system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150610