CN110007746A - Application control method and apparatus, electronic equipment, readable storage medium storing program for executing - Google Patents
Application control method and apparatus, electronic equipment, readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110007746A CN110007746A CN201711480519.4A CN201711480519A CN110007746A CN 110007746 A CN110007746 A CN 110007746A CN 201711480519 A CN201711480519 A CN 201711480519A CN 110007746 A CN110007746 A CN 110007746A
- Authority
- CN
- China
- Prior art keywords
- information
- application
- frozen
- type
- electronic equipment
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Abstract
This application involves a kind of application control method, apparatus, electronic equipment and readable storage medium storing program for executing.This method comprises: obtaining the information for being sent to frozen application, the type of identification information carries out corresponding operation to frozen application according to the type of information.Due to having carried out the identification of information type to the information for being sent to frozen application, corresponding operation is carried out to frozen application further according to the type of information, so as to avoid frozen application from occurring arbitrarily thawing or continue frozen situation, system power dissipation is thereby reduced, resource has been saved.
Description
Technical field
This application involves technical field of data processing, more particularly to a kind of application control method and apparatus, electronic equipment,
Readable storage medium storing program for executing.
Background technique
With the development of mobile communication technology, the function of terminal is more and more abundant.It can be installed in terminal various
Using for system once starting, these applications can be in running background.Taiwan investment after application waste in order to avoid not needing operation
Source, it will usually these applications be freezed, make these applications in seemingly-dead state, to reduce the power consumption of system, reduced
The electric quantity consumption of terminal.When needs wake up freezing in application, can usually be disappeared to what is freezed using transmission according to other application
Breath is to wake up.
As long as frozen application will be waken up however, sending message using to frozen application, cause to increase function
Consumption, waste of resource.
Summary of the invention
The embodiment of the present application provides a kind of application control method, apparatus, electronic equipment, readable storage medium storing program for executing, can reduce
System power dissipation and resource.
A kind of application control method, comprising:
Obtain the information for being sent to frozen application;
Identify the type of the information;
Corresponding operation is carried out to the frozen application according to the type of the information.
A kind of application control device, comprising:
Data obtaining module, for obtaining the information for being sent to frozen application;
Information type identification module, for identification type of the information;
Processing module, for carrying out corresponding operation to the frozen application according to the type of the information.
A kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, the processor realize the application control method in each embodiment of the application when executing the computer program
Step.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of application control method in each embodiment of the application is realized when row.
Application control method, apparatus provided by the embodiments of the present application, electronic equipment, readable storage medium storing program for executing pass through and obtain hair
The information of frozen application is given, the type of identification information carries out corresponding operation to frozen application according to the type of information.
Due to having carried out the identification of information type to the information for being sent to frozen application, further according to information type to frozen application
Corresponding operation is carried out, so as to avoid frozen application from occurring arbitrarily thawing or continuing frozen situation, and then is dropped
Low system power dissipation, has saved resource.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of internal structure of electronic equipment in one embodiment;
Fig. 2 is the part frame schematic diagram of the system in one embodiment in electronic equipment;
Fig. 3 is the flow chart of application control method in one embodiment;
Fig. 4 is the flow chart of identification information type in one embodiment;
Fig. 5 is the flow chart for carrying out corresponding operating in one embodiment to application according to information transmitter;
Fig. 6 is the structural block diagram of application control device in one embodiment;
Fig. 7 is the block diagram of the part-structure of mobile phone in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
In one embodiment, as shown in Figure 1, providing the schematic diagram of internal structure of a kind of electronic equipment.The electronics is set
Standby includes processor, memory and the network interface connected by system bus.Wherein, which calculates and controls for providing
Ability processed supports the operation of entire electronic equipment.Memory for storing data, program, and/or instruction code etc., memory
Upper at least one computer program of storage, the computer program can be executed by processor, be provided with realizing in the embodiment of the present application
The application control method suitable for electronic equipment.Memory may include magnetic disk, CD, read-only memory (Read-Only
Memory, ROM) etc. non-volatile memory mediums or random access memory (Random-Access-Memory, RAM) etc..Example
Such as, in one embodiment, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with
Operating system, database and computer program.It is stored in the database for realizing one provided by following each embodiment
The relevant data of kind of application control method, for example can be stored with that the title of each application, each application is frozen or is defrosted
The information such as time.The computer program can be performed by processor, for realizing provided by each embodiment of the application
A kind of application control method.Built-in storage is that operating system, database and the computer program in non-volatile memory medium mention
For the running environment of cache.Network interface can be Ethernet card or wireless network card etc., for the electronic equipment with outside
It is communicated, for example can be used for same server and communicated.
It will be understood by those skilled in the art that structure shown in Fig. 1, only part relevant to application scheme is tied
The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with
Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
In one embodiment, as shown in Fig. 2, providing the part architecture diagram of a kind of electronic equipment.Wherein, which sets
It include JAVA space layer 210, local ccf layer 220 and kernel (Kernel) space layer 230 in standby architecture system.JAVA is empty
It may include that freezing pipe ought to use 212 on interbed 210, electronic equipment can ought to be realized with 212 by the freezing pipe and be answered each
Freeze strategy, freeze operation is done to the related application of backstage power consumption.It include resource prioritization and limit in local ccf layer 220
Management module 222 processed and platform freezing pipe manage module 224.Electronic equipment can pass through resource prioritization and limitation management module 222
In different tissue of the application in different priorities and different resource of real-time servicing, and application is adjusted according to the demand on upper layer
The resource group of program saves the effect of power consumption to reach optimization performance.Electronic equipment can freeze management module by platform
224 can the freezing on backstage of the tasks are assigned to freezing for corresponding preset different levels according to the length for entering freeze-off time
Layer, optionally, which may include three, be respectively: CPU limitation sleep pattern, CPU freeze sleep pattern, process depth
Freezing mode.Wherein, CPU limitation sleep pattern, which refers to, limits the occupied cpu resource of associated process, makes associated process
Less cpu resource is occupied, vacant cpu resource is tilted to other not frozen processes, limits and cpu resource is accounted for
With also accordingly limiting the occupancy carried out to Internet resources and I/O interface resource;CPU freezes sleep pattern and refers to forbid phase
Journey is put into using CPU, and retains the occupancy to memory, when being forbidden to use cpu resource, corresponding Internet resources and I/O are connect
Mouth resource is also prohibited from using;Process deep freezing mode refers in addition to being forbidden to use cpu resource, further to associated process
Occupied memory source is recycled, and the memory of recycling uses for other processes.CPU limits sleep pattern can be for CPU
Mode of the resource constraint in default cpu resource threshold value, for example CPU usage is within 10%, 15% etc..Electronic equipment can be with
It is identified by 226 pairs of the information type identification module types using the information sent by JAVA space layer 210, info class
Type identification module 226 can also judge whether the type of information is preset information type.
In kernel spacing layer 230 include UID management module 231, Cgroup module 232, Binder control module 233, into
Journey Memory recycle module 234 and time-out are freezed to exit module 235.Wherein, UID management module 231 is for realizing based on application
User Identity (User Identifier, UID) Lai Guanli third-party application resource or freezed.It is compared to
Based on process identity mark (Process Identifier, PID) Lai Jinhang process control, it is more convenient for being managed collectively by UID
The resource of the application of one user.Cgroup module 232 is for providing a set of perfect central processing unit (Central
Processing Unit, CPU), CPUSET, memory (memory), input/output (input/output, I/O) it is related to Net
Resource constraint mechanism.Binder manages module 233 for realizing the control of the backstage binder priority communicated.Wherein, originally
The interface module of ground ccf layer 220 includes binder interface of the exploitation to upper layer, and the frame on upper layer or application pass through offer
Binder interface freezes come the instruction for sending resource constraint or freezing to resource prioritization and limitation management module 222 and platform
Management module 224.Proceeding internal memory recycling module 234 can answer for realizing process deep freezing mode as some third party in this way
When with frozen state is chronically at, can mainly discharge the file area of process, thus reach save memory module, also plus
Fast this applies the speed in starting next time.Time-out freezes to exit module 235 for solving occur freezing what overtime scene generated
It is abnormal.By above-mentioned framework, it can be achieved that application control method in each embodiment of the application.
In one embodiment, provide a kind of application control method, be applied to above-mentioned electronic equipment come for example,
As shown in figure 3, including the following steps:
Step 302, the information for being sent to frozen application is obtained.
Frozen application refers in frozen state, the application that cannot be run.And the application for being not at frozen state can be with
It is that can send information to other application in the application of operating status in operating status.The information of transmission may include text letter
Breath, voice messaging, image information, video information etc..
It include that platform freezes management module in electronic equipment, platform freezes management module and is mainly used for what management was frozen
Using.Platform, which freezes management module, can also extract name information, the frozen temporal information etc. of frozen application.Work as detection
To when having using information is sent, platform freezes the available information to transmission of management module, further according to the letter of the transmission of acquisition
Breath search in requisition for receive information application.Since platform freezes the module that management module is the frozen application of management, institute
It is available to the information for being sent to frozen application to freeze management module with platform.
Step 304, the type of identification information.
The type of information can there are many, may include text information, voice messaging, image information, video information etc., also
It may include advertising information, news information, communication information etc..The identification of information type is usually the key according to present in information
Word distinguishes different information types.
There are information type identification module in electronic equipment, platform freezes management module and gets to be sent to frozen application
Information after the information that can will acquire be sent to information type identification module.Information type identification module can be to getting
The type of information identified, obtain the type of information.
Step 306, corresponding operation is carried out to frozen application according to the type of information.
Information type can be corresponding with corresponding operation, and operation can be pre-set, and different information types can be right
There should be different operations.After electronic equipment judges the type of information, can according to the type of information to it is frozen apply into
The corresponding preset operation of row.For example, pre-setting information type as the corresponding operation of advertising information is exactly not thaw to be frozen
Knot application can carry out corresponding do not understand after electronic equipment judges that the type of information is advertising information to frozen application
Freeze operation.
The information of frozen application, the type of identification information, according to the type of information to frozen are sent to by obtaining
Using progress corresponding operation.Due to having carried out the identification of information type to the information for being sent to frozen application, further according to letter
The type of breath carries out corresponding operation to frozen application, so as to avoid frozen application from occurring arbitrarily thawing or continuing
Frozen situation, thereby reduces system power dissipation, has saved resource.
In one embodiment, if a kind of application control method provided can also include: to detect comprising application identities
Information, then judge that the corresponding application of application identities whether in frozen state, is freezed if the corresponding application of application identities is in
State then obtains the information for being sent to frozen application.
Specifically, the information comprising application identities may indicate that the information from the corresponding application of application identities.Each
Using unique application identities are all corresponding with, for distinguishing other application.Application identities can be Apply Names, application numbers
Deng.
When electronic equipment, which detects, includes the information of application identities, the application identities in information, then root can be extracted
Corresponding application is found according to the application identities of extraction.After electronic equipment finds corresponding application, the available application
Status information, the status information of application, which can be divided into, is in non-frozen state using in frozen state and application.Work as application
When identifying corresponding application in frozen state, then the information for being sent to frozen application is obtained.
Wherein, the status information of all applications can store in application state list, and electronic equipment can also be to application
Application in frozen state in status list is marked.Electronic equipment searches application identities pair in application state list
It is answering in application, can go out the application according to the marker for judgment of application is to be in non-frozen state in frozen state.
By being detected to information, judge the corresponding application of application identities in information whether in frozen state,
The information for being sent to frozen state is obtained when application is in frozen state.Pass through the shape to the corresponding application of application identities
State is judged, then obtains information, so as to be rapidly obtained the information for being sent to frozen application, has saved resource.
In one embodiment, a kind of application control method provided can also include: to obtain to answer in frozen state
It with corresponding application identities, is monitored according to interface of the application identities to frozen application, when having detected that information is sent to
When interface, the information for being sent to interface is obtained.
Due to being marked in advance to the application in frozen state, electronic equipment is available in frozen
State applies corresponding application identities.Using there may be there is interface, interface for communication with the outside, is received or is sent
Information.Electronic equipment can be found frozen after getting the corresponding application identities of frozen application according to application identities
Application, then the interface of frozen application is monitored.When having detected that information is sent to interface, show that this information is
It is sent to frozen application, the available information for being sent to interface of electronic equipment.
By obtaining the application identities of frozen application, the interface of frozen application is monitored, when having detected letter
When breath is sent to interface, the information for being sent to interface is obtained.Since application is in frozen state, it is only necessary to frozen application
Interface be monitored and can get the information for being sent to frozen application, avoid the waste of resource.
As shown in figure 4, in one embodiment, a kind of application control method provided can also include identification information type
Process, specific steps include:
Step 402, the keyword in information is extracted.
In the information received there are a large amount of texts perhaps the most of text of character or character and identification information type without
It closes.Electronic equipment can extract the keyword in the information content, and corresponding text key word extraction algorithm can be used
Extract the keyword in the information content.
Specifically, information may include text information, voice messaging, image information, video information etc..Electronic equipment can be with
The crucial literal or character in text information are extracted, voice messaging can also be converted to text information, and extract in text
Crucial literal.Electronic equipment can also be scanned image information, and extract to the key message in image information,
Electronic equipment can also extract the key message in video information.
Step 404, keyword keyword corresponding with preset kind is compared.
The corresponding keyword of preset kind, which can be, to be pre-set, and different keywords can indicate different information
Type.For example, it is advertisement type that keyword, which can be set, as " promoting, dealing, shopping " corresponding information type.Electronic equipment can
It is compared with the keyword keyword corresponding with preset kind in the information by extraction.
Step 406, if they are the same, then the type of identification information is preset kind.
When the keyword corresponding with preset kind of the keyword in the information of extraction is identical, then electronic equipment can identify
The type for the information extracted out is preset kind.
By the keyword in extraction information, keyword keyword corresponding with preset kind is compared, if they are the same,
Then the type of identification information is preset kind.Electronic equipment can accurately judge whether the information obtained is preset information
Type.
In one embodiment, a kind of application control method provided can also include when information type is the first default class
It when type, to the process that frozen application is operated, specifically includes: if the type of information is the first preset kind, to being frozen
Knot application is operated without thawing.
Wherein, the first preset kind can be the information type that user pre-sets, and can be a kind of information type,
It can be much information type.First preset kind can be advertising information, Weather information, temporal information etc..Corresponding operation
It is pre-set to can be user, the corresponding operation of the first preset kind, which can be, operates frozen application without thawing.
For example, the information type received is advertisement type by judgement, then frozen application is operated without thawing.
When the type of information is the first preset kind, electronic equipment can be operated to freezing to apply without thawing, i.e.,
Frozen application continues to keep frozen state.
In one embodiment, a kind of application control method provided can also include when information type is the second default class
It when type, to the process that frozen application is operated, specifically includes: if the type of information is the second preset kind, working as information
Quantity when reaching preset quantity or receiving the duration of information and reach preset duration, defrosting behaviour is carried out to frozen application
Make.
Second preset kind is also possible to what user pre-set, can be a kind of information type, is also possible to a variety of
Information type.Second preset kind can be message sink information, event prompting message etc..It is pre- that user can preset second
If the corresponding operation of different type in type.For example, when the information type received is message sink information, can be set pair
The operation answered is to carry out defrosting operation to frozen application when the quantity of information reaches preset quantity.
When information type is the second preset kind, the timeline that defrosting operation is carried out to application can also be arranged in user
Part.For example, it is when receiving information that corresponding operation, which can be set, when the information type received is event prompting message
When length reaches preset duration, defrosting operation is carried out to frozen application.After thawing to application, user be can be set pair
Using the condition freezed again.For example, when using thawing and after receive the information of the second preset kind, using can be again
Frozen or thawing time again freezes application after reaching preset duration.
In one embodiment, a kind of application control method provided can also include when information type is not preset kind
When, it to the process that frozen application is operated, specifically includes: if the type of information is not preset kind, answering frozen
With carrying out defrosting operation.
The type of information can also be unsatisfactory for all preset kinds.It is some commonly to apply when receiving important information
It needs to carry out defrosting operation immediately.Electronic equipment can also carry out safety detection to the information that sender sends, and electronic equipment is also
It may include a database, for storing the information that safety is marked.When electronic equipment detects the letter that sender sends
When breath is safe, defrosting operation can be carried out to frozen application immediately, when electronic equipment detects the letter that sender sends
When breath is not safe, user information can be prompted dangerous with display reminding information, if user selects to receive this information, immediately
It thaws to frozen application, if user rejects this information, frozen application is operated without thawing.With
For contact application, when there are communicating request information, electronic equipment can carry out safety to the communicating request information of transmission
Detection, when testing result is that communicating request information is safe, electronic equipment can immediately be carried out frozen contact application
It thaws and operates, when it is non-safety information or fraud information that testing result, which is the communicating request information, then show that the call can
It can be the information alert user of fraudulent call, if user's selection receives calls, electronic equipment can be to frozen contact person
Using carrying out defrosting operation, if user's refusal receives calls, electronic equipment can to frozen contact application without
It thaws and operates.
As shown in figure 5, in one embodiment, a kind of application control method provided can also include being sent according to information
Person carries out the process of corresponding operating to application, and specific steps include:
Step 502, the sender of information is obtained.
The sender of information can be the application for sending information to frozen application, can also be push information to it is frozen
The platform or server of application.Electronic equipment can be according to the acquisition of information of transmission to the sender of information, i.e., information is next
Source.
Step 504, if the sender of information is default sender, frozen application is operated without thawing.
Default sender can be the pre-set application or system for sending information to frozen application, presets and sends
Person can also be some account with the identical application of frozen application.When the sender of information is default sender, electronics
Equipment can operate frozen application without thawing.
By obtaining the sender of information, if the sender of information is default sender, to frozen application without
It thaws and operates.Electronic equipment can decide whether to carry out defrosting operation to frozen application according to the transmission source of information, thus
System power dissipation is reduced, resource has been saved.
In one embodiment, a kind of application control method provided can also include the process for updating application state, electricity
Sub- equipment can be updated the status information of application, the status information of store-updated application, according to updated shape
Frozen application is marked in state information.
Application freeze or thawed state can change with received information.Freeze or thaw in application
After state changes, electronic equipment can be updated the status information of application, and the state of updated application is believed
Breath is stored into application state list.Electronic equipment can also mark frozen application according to updated status information
Note, for distinguishing frozen application and not frozen application.
By being updated to using status list, electronic equipment can obtain the state of application at any time, improve electronics
The efficiency of equipment acquisition application state.
In one embodiment, a kind of application control method is provided, this method is realized specific step is as follows and is described:
Firstly, the available information for being sent to frozen application of electronic equipment.It include that platform freezes in electronic equipment
Management module, platform freeze management module and are mainly used for the frozen application of management.Platform, which freezes management module, to be extracted
Name information, the frozen temporal information etc. of frozen application.When having detected using information is sent, platform freezes to manage
Module it is available to send information, further according to the transmission of acquisition information searching in requisition for receive information application.
Since platform freezes the module that management module is the frozen application of management, sent so platform freezes available arrive of management module
To the information of frozen application.
If electronic equipment detects the information comprising application identities, electronic equipment may determine that the corresponding application of application identities
Whether frozen state is in, if the corresponding application of application identities is in frozen state, available be sent to of electronic equipment is frozen
Tie the information of application.In addition, electronic equipment can also be obtained in frozen state using corresponding application identities, according to application
Mark is monitored the interface of frozen application, when having detected that information is sent to interface, the available hair of electronic equipment
Give the information of interface.
Then, electronic equipment can be with the type of identification information.There are information type identification module in electronic equipment, platform freezes
Knot management module gets the information that can be will acquire after the information for being sent to frozen application and is sent to information type identification
Module.Information type identification module can identify the type of the information got, obtain the type of information.Specifically,
Electronic equipment can extract the keyword in information.There are a large amount of texts or characters in the information that electronic equipment receives, greatly
Segment word or character are unrelated with identification information type.Electronic equipment can extract the keyword in the information content,
The keyword in the corresponding text key word extraction algorithm extraction information content can be used.Electronic equipment can also be by keyword
Keyword corresponding with preset kind is compared.Preset kind corresponding keyword, which can be, to be pre-set, different
Keyword can indicate different information types.For example, it is " promoting, dealing, shopping " corresponding information that keyword, which can be set,
Type is advertisement type.Electronic equipment can carry out the keyword keyword corresponding with preset kind in the information of extraction pair
Than.If the keyword keyword corresponding with preset kind in the information extracted is identical, the type of identification information is default class
Type.
Secondly, electronic equipment can carry out corresponding operation to frozen application according to the type of information.If the class of information
Type is the first preset kind, then electronic equipment operates frozen application without thawing.Wherein, the first preset kind can be
The information type that user pre-sets can be a kind of information type, be also possible to much information type.First preset kind
It can be advertising information, Weather information, temporal information etc..Pre-set, the first default class that corresponding operation can be user
The corresponding operation of type, which can be, operates frozen application without thawing.For example, by judgement, the information type received is
Advertisement type then operates frozen application without thawing.If the type of information is the second preset kind, when the number of information
When amount reaches preset quantity or receives the duration of information and reach preset duration, electronic equipment can be carried out frozen application
It thaws and operates.When information type is the second preset kind, the timeline that defrosting operation is carried out to application can also be arranged in user
Part.For example, it is when receiving information that corresponding operation, which can be set, when the information type received is event prompting message
When length reaches preset duration, defrosting operation is carried out to frozen application.After thawing to application, user be can be set pair
Using the condition freezed again.For example, when using thawing and after receive the information of the second preset kind, using can be again
Frozen or thawing time again freezes application after reaching preset duration.If the type of information is not preset kind,
Then electronic equipment can carry out defrosting operation to frozen application.The type of information can also be unsatisfactory for all preset kinds.
Some commonly apply needs to carry out defrosting operation immediately when receiving important information.Electronic equipment can also send out sender
The information sent carries out safety detection, and electronic equipment can also include a database, for storing the information that safety is marked.
When the information that electronic equipment detects that sender sends is safe, it can thaw immediately to frozen application, work as electricity
When the information that sub- equipment detects that sender sends is not safe, user information can be prompted dangerous with display reminding information, if
User selects to receive this information, then thaws immediately to frozen application, if user rejects this information, to being frozen
The application of knot is operated without thawing.
Finally, electronic equipment can also obtain the sender of information.The sender of information can be to send information to and be frozen
The application for tying application can also be the platform or server for pushing information to frozen application.Electronic equipment can be according to hair
The acquisition of information sent is to the sender of information, the i.e. source of information.If the sender of information is default sender, electronic equipment
Frozen application can be operated without thawing.Default sender, which can be, pre-set sends information to frozen application
Application or system, default sender can also be some account with the identical application of frozen application.When the hair of information
When the person of sending is default sender, electronic equipment can be operated frozen application without thawing.
It should be understood that although each step in the flow chart of Fig. 3 to Fig. 5 is successively shown according to the instruction of arrow,
But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, Fig. 3 is into Fig. 5
At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or
Alternately execute.
In one embodiment, as shown in fig. 6, providing a kind of application control device, which includes:
Data obtaining module 610, for obtaining the information for being sent to frozen application.
Information type identification module 620, for identification type of information.
Processing module 630, for carrying out corresponding operation to frozen application according to the type of information.
In one embodiment, data obtaining module 610 can also be used for when detecting the information comprising application identities
Judge whether the corresponding application of application identities obtains in frozen state if the corresponding application of application identities is in frozen state
Take the information for being sent to frozen application.
In one embodiment, data obtaining module 610 can be also used for obtaining in frozen state using corresponding
Application identities are monitored according to interface of the application identities to frozen application, when having detected that information is sent to interface, obtain
Take the information for being sent to interface.
In one embodiment, information type identification module 620 can be also used for extracting the keyword in information, will be crucial
Word keyword corresponding with preset kind is compared, and if they are the same, then the type of identification information is preset kind.
In one embodiment, if the type that processing module 630 can be also used for information is the first preset kind, to quilt
Freeze to operate using without thawing, if the type of information is the second preset kind, when the quantity of information reaches preset quantity
Or when receiving the duration of information and reaching preset duration, defrosting operation is carried out to frozen application, if the type of information is not
Preset kind then carries out defrosting operation to frozen application.
In one embodiment, processing module 630 can be also used for obtaining the sender of information, if the sender of information is
Default sender then states frozen application and operates without thawing.
In one embodiment, processing module 630 can be also used for being updated the status information of application, and storage updates
The status information of application afterwards is marked frozen application according to updated status information.
In one embodiment, a kind of electronic equipment is provided, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor is realized when processor executes computer program and is answered provided by the various embodiments described above
The step of with control method.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step of application control method provided by the various embodiments described above is realized when machine program is executed by processor.
The embodiment of the present application also provides a kind of computer program products.A kind of computer program product comprising instruction,
When run on a computer, so that the step of computer executes application control method provided by the various embodiments described above.
The embodiment of the present application also provides a kind of electronic equipment.As shown in fig. 7, for ease of description, illustrating only and this
Apply for the relevant part of embodiment, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The electronics is set
It include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS for that can be
Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, wearable device, using electronic equipment as mobile phone
For:
Fig. 7 is the block diagram of the part-structure of mobile phone relevant to electronic equipment provided by the embodiments of the present application.With reference to Fig. 7,
Mobile phone includes: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, passes
Sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, WiFi) module 770, processor 780, Yi Ji electricity
The components such as source 790.It, can be with it will be understood by those skilled in the art that handset structure shown in Fig. 7 does not constitute the restriction to mobile phone
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station
After downlink information receives, handled to processor 780;The data of uplink can also be sent to base station.In general, RF circuit include but
Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio
Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email,
Short message service (Short Messaging Service, SMS) etc..
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 720 can mainly include
Program storage area and data storage area, wherein program storage area can application journey needed for storage program area, at least one function
Sequence (such as application program, application program of image player function of sound-playing function etc.) etc.;Data storage area can store root
Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 720 may include high speed
Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or
Other volatile solid-state parts.
Input unit 730 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 700
And the related key signals input of function control.Specifically, input unit 730 may include touch panel 731 and other inputs
Equipment 732.Touch panel 731, alternatively referred to as touch screen collect touch operation (such as the user of user on it or nearby
Use the operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731),
And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 731 may include touching inspection
Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation
Bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 780, and can receive order that processor 780 is sent and be executed.In addition,
Touch panel 731 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 731, input unit 730 can also include other input equipments 732.Specifically, other input equipments 732 may include but not
It is limited to one of physical keyboard, function key (such as volume control button, switch key etc.) etc. or a variety of.
Display unit 740 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 740 may include display panel 741.In one embodiment, liquid crystal display (Liquid can be used
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 741.In one embodiment, touch panel 731 can cover display panel 741, when touch panel 731 is examined
After measuring touch operation on it or nearby, processor 780 is sent to determine the type of touch event, is followed by subsequent processing device
780 provide corresponding visual output according to the type of touch event on display panel 741.Although in Fig. 7, touch panel
731 and display panel 741 are the input and input function for realizing mobile phone as two independent components, but in certain implementations
In example, can be integrated by touch panel 731 and display panel 741 and that realizes mobile phone output and input function.
Mobile phone 700 may also include at least one sensor 750, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 741, and proximity sensor can close display panel when mobile phone is moved in one's ear
741 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity
Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 760, loudspeaker 761 and microphone 762 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to sound by loudspeaker 761 by road 760
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760
It is changed to audio data, then by after the processing of audio data output processor 780, another mobile phone can be sent to through RF circuit 710, or
Person exports audio data to memory 720 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 770
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown
WiFi module 770, but it is understood that, and it is not belonging to must be configured into for mobile phone 700, it can according to need and omit.
Processor 780 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 720, and call and be stored in memory 720
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles
Device 780 may include one or more processing units.In one embodiment, processor 780 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 780.
Mobile phone 700 further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 780 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
In one embodiment, mobile phone 700 can also include camera, bluetooth module etc..
In the embodiment of the present application, processor 780 included by the mobile phone executes the computer journey of storage on a memory
The step of application control method is realized when sequence.
Any reference to memory, storage, database or other media used in this application may include non-volatile
And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory
(RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM
(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application
Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of application control method characterized by comprising
Obtain the information for being sent to frozen application;
Identify the type of the information;
Corresponding operation is carried out to the frozen application according to the type of the information.
2. the method according to claim 1, wherein the method also includes:
If detecting the information comprising application identities, judge whether the corresponding application of the application identities is in frozen state,
If the corresponding application of the application identities is in frozen state, the information for being sent to frozen application is obtained.
3. the method according to claim 1, wherein the type of the identification information, comprising:
Extract the keyword in the information;
Keyword keyword corresponding with preset kind is compared;
If they are the same, then the type for identifying the information is the preset kind.
4. according to the method described in claim 3, it is characterized in that, the type according to the information answers described be frozen
With carrying out corresponding operation, comprising:
If the type of the information is the first preset kind, the frozen application is operated without thawing.
5. according to the method described in claim 3, it is characterized in that, the type according to the information answers described be frozen
With carrying out corresponding operation, comprising:
If the type of the information is the second preset kind, when the quantity of the information reaches preset quantity or receives institute
When stating the duration of information and reaching preset duration, defrosting operation is carried out to the frozen application.
6. according to the method described in claim 3, it is characterized in that, the type according to the information answers described be frozen
With carrying out corresponding operation, comprising:
If the type of the information is not the preset kind, defrosting operation is carried out to the frozen application.
7. method according to any one of claim 1 to 6, which is characterized in that the method also includes:
Obtain the sender of the information;
If the sender of the information is default sender, the frozen application is operated without thawing.
8. a kind of application control device characterized by comprising
Data obtaining module, for obtaining the information for being sent to frozen application;
Information type identification module, for identification type of the information;
Processing module, for carrying out corresponding operation to the frozen application according to the type of the information.
9. a kind of electronic equipment, including memory and processor, computer program, the computer are stored in the memory
When program is executed by the processor, so that the processor executes the application control as described in any one of claims 1 to 7
The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method as described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711480519.4A CN110007746A (en) | 2017-12-29 | 2017-12-29 | Application control method and apparatus, electronic equipment, readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711480519.4A CN110007746A (en) | 2017-12-29 | 2017-12-29 | Application control method and apparatus, electronic equipment, readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110007746A true CN110007746A (en) | 2019-07-12 |
Family
ID=67164085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711480519.4A Pending CN110007746A (en) | 2017-12-29 | 2017-12-29 | Application control method and apparatus, electronic equipment, readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007746A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995430A (en) * | 2021-02-26 | 2021-06-18 | 珠海奔图电子有限公司 | Data communication control method, data communication control device and image forming apparatus |
CN113918060A (en) * | 2021-09-06 | 2022-01-11 | 荣耀终端有限公司 | Application management method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9110693B1 (en) * | 2011-02-17 | 2015-08-18 | Emc Corporation | VM mobility over distance |
CN106022150A (en) * | 2016-05-30 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Freezing application method and device |
CN106791004A (en) * | 2016-11-28 | 2017-05-31 | 北京奇虎科技有限公司 | That applies automatically wakens up method, device and mobile terminal |
CN106844029A (en) * | 2017-01-19 | 2017-06-13 | 努比亚技术有限公司 | The device and method that a kind of Android processes of Self management are freezed and thawed |
-
2017
- 2017-12-29 CN CN201711480519.4A patent/CN110007746A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9110693B1 (en) * | 2011-02-17 | 2015-08-18 | Emc Corporation | VM mobility over distance |
CN106022150A (en) * | 2016-05-30 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Freezing application method and device |
CN106791004A (en) * | 2016-11-28 | 2017-05-31 | 北京奇虎科技有限公司 | That applies automatically wakens up method, device and mobile terminal |
CN106844029A (en) * | 2017-01-19 | 2017-06-13 | 努比亚技术有限公司 | The device and method that a kind of Android processes of Self management are freezed and thawed |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995430A (en) * | 2021-02-26 | 2021-06-18 | 珠海奔图电子有限公司 | Data communication control method, data communication control device and image forming apparatus |
CN113918060A (en) * | 2021-09-06 | 2022-01-11 | 荣耀终端有限公司 | Application management method and electronic equipment |
CN113918060B (en) * | 2021-09-06 | 2023-10-24 | 荣耀终端有限公司 | Application management method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104093123B (en) | The information-pushing method of application program, device and system, mobile terminal | |
CN109992438A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110008008A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN109992370A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN110018904A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN108112063A (en) | Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing | |
CN109992364A (en) | Using freezing method, device, computer equipment and computer readable storage medium | |
CN110018901A (en) | Method for recovering internal storage, device, computer equipment and computer readable storage medium | |
CN109445917A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN103177217B (en) | A kind of file scanning method, system and client and server | |
CN108616653A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN110045809A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110032266A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN106445336A (en) | Fast acquisition method for electronic resource and mobile terminal | |
CN110046032A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN106980654B (en) | Road condition updating method, device and computer equipment | |
CN106705988B (en) | Road conditions methods of exhibiting, device and computer equipment | |
CN110018905A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110018886A (en) | Application state switching method and apparatus, electronic equipment, readable storage medium storing program for executing | |
CN109992375A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110007746A (en) | Application control method and apparatus, electronic equipment, readable storage medium storing program for executing | |
CN110032430A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN109992309A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN110032397A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN109992323A (en) | Process handling method and device, electronic equipment, computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190712 |
|
RJ01 | Rejection of invention patent application after publication |