CN108132803A - Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal - Google Patents

Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal Download PDF

Info

Publication number
CN108132803A
CN108132803A CN201810043436.7A CN201810043436A CN108132803A CN 108132803 A CN108132803 A CN 108132803A CN 201810043436 A CN201810043436 A CN 201810043436A CN 108132803 A CN108132803 A CN 108132803A
Authority
CN
China
Prior art keywords
wake
application
waken
mobile terminal
result
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
CN201810043436.7A
Other languages
Chinese (zh)
Other versions
CN108132803B (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.)
Jilin Information Consultancy (shenzhen) Co Ltd
Original Assignee
Jilin Information Consultancy (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin Information Consultancy (shenzhen) Co Ltd filed Critical Jilin Information Consultancy (shenzhen) Co Ltd
Priority to CN201810043436.7A priority Critical patent/CN108132803B/en
Publication of CN108132803A publication Critical patent/CN108132803A/en
Application granted granted Critical
Publication of CN108132803B publication Critical patent/CN108132803B/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/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

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

Abstract

The present invention provides the timing keep-alive based on mobile terminal and awakening method, system, terminal and medium, this method setting timers;When timer time reaches, application can be waken up by detecting to whether there is in mobile terminal;If there is application can be waken up, application can be waken up to this and waken up, and record wake-up result;Report is waken up according to result generation is waken up, wake-up is reported to report, this method detects whether, in the presence of that can wake up application, if there is the application is waken up, to be manually operated without user, you can timely automated to wake up pent application by timer timing cycle.

Description

Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
Technical field
The invention belongs to technical field of data processing, and in particular to timing keep-alive and awakening method based on mobile terminal, System, terminal and medium.
Background technology
Major applications are in addition to needing when interacting with user to keep active state, it is also necessary to when application enters backstage into Other tasks go to ensure the interactive experience of user, such as required data content during the pre-loaded good startup of user next time Etc..In existing android system, the scheduling of entire android system is necessarily dependent upon using survival, using by using The operation at family could start, the closing application that user also can be instant, and in addition application is broadcasted by some in itself monitoring system It can achieve the effect that keep-alive, but be once closed in android system if applied in practical application, in addition to user grasps manually It is difficult to have an opportunity to restart again other than making.
Invention content
For the defects in the prior art, the present invention provide timing keep-alive based on mobile terminal and awakening method, system, Terminal and medium are manually operated without user, you can timely automated to wake up pent application.
In a first aspect, a kind of timing keep-alive and awakening method based on mobile terminal, including:
Timer is set;
When timer time reaches, application can be waken up by detecting to whether there is in mobile terminal;
If there is application can be waken up, application can be waken up to this and waken up, and record wake-up result;
Report is waken up according to result generation is waken up, wake-up is reported to report.
Further, described when timer time reaches, detecting to whether there is in mobile terminal can wake up using specific Including:
When timer time reaches, scan and all of preset wake-up mark are configured in the file destination of mobile terminal Using;
Application can be waken up to be described by defining the application for having been prepared in file destination and having waken up and identifying.
Further, described pair can wake up using carry out wake up specifically include:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result.
Further, described pair can wake up using carry out wake up specifically include:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
Second aspect, a kind of timing keep-alive and wake-up system based on mobile terminal, including wake-up module and reporting module;
The wake-up module is used to set timer;When timer time reaches, detect and whether there is in mobile terminal Application can be waken up, is waken up, and record wake-up result when that in the presence of application can be waken up, can wake up to apply to this;
The reporting module is used to, according to result generation wake-up report is waken up, wake-up be reported to report.
Further, described when timer time reaches, detecting to whether there is in mobile terminal can wake up using specific Including:
When timer time reaches, scan and all of preset wake-up mark are configured in the file destination of mobile terminal Using;
Application can be waken up to be described by defining the application for having been prepared in file destination and having waken up and identifying.
Further, described pair can wake up using carry out wake up specifically include:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result.
Further, described pair can wake up using carry out wake up specifically include:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
The third aspect, a kind of mobile terminal, including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, perform described in first aspect Method.
Fourth aspect, a kind of computer readable storage medium, the computer storage media are stored with computer program, institute It states computer program and includes program instruction, described program instruction makes the processor perform first aspect when being executed by a processor The method.
As shown from the above technical solution, timing keep-alive and awakening method provided by the invention based on mobile terminal, system, Terminal and medium detected whether by timer timing cycle in the presence of can wake up application, if there is being that the application is called out It wakes up, is manually operated without user, you can is timely automated to wake up pent application.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.In all the appended drawings, similar element Or part is generally identified by similar reference numeral.In attached drawing, each element or part might not be drawn according to practical ratio.
Fig. 1 is the method flow diagram that embodiment one provides.
Fig. 2 is the detection method flow chart that embodiment one provides.
Fig. 3 is the awakening method flow chart that embodiment three provides.
Fig. 4 is the system block diagram that example IV provides.
Fig. 5 is the module frame chart of mobile terminal that embodiment five provides.
Specific embodiment
The embodiment of technical solution of the present invention is described in detail below in conjunction with attached drawing.Following embodiment is only used for Clearly illustrate technical scheme of the present invention, therefore be only used as example, and the protection model of the present invention cannot be limited with this It encloses.It should be noted that unless otherwise indicated, technical term or scientific terminology used in this application are should be belonging to the present invention The ordinary meaning that field technology personnel are understood.
It it should be appreciated that ought be special described by the instruction of term " comprising " use in this specification and in the appended claims Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch Sensing surface) it can support the various application programs with user interface intuitive and transparent for a user.
Embodiment one:
Referring to Fig. 1, embodiment one provides a kind of timing keep-alive based on mobile terminal and awakening method, including:
S1:Timer is set;Such as can be 1 hour triggering one-time detection.
S2:When timer time reaches, application can be waken up by detecting to whether there is in mobile terminal;It is specific to wrap referring to Fig. 2 It includes:
When timer time reaches, scan and all of preset wake-up mark are configured in the file destination of mobile terminal Using;
Specifically, for the mobile terminal of Android system, file destination can be AndroidManifest.xml, It is the mark that developer is voluntarily set to wake up mark.When needing to automatically wake up A applications, A application configurations are waken up in AndroidManifest.xml and are identified.
Application can be waken up to be described by being defined on the application for having been prepared in file destination and having waken up and identifying.
S3:If there is application can be waken up, application can be waken up to this and waken up, and record wake-up result;
Specifically, for the mobile terminal of Android system, since Android system striding course interaction technique is system The technology itself supported, it is possible to carry out target wake-up using striding course interaction technique.
S4:Report is waken up according to result generation is waken up, wake-up is reported to report.
This method is detected whether by timer timing cycle in the presence of that can wake up application, if there is i.e. to the application progress It wakes up, is manually operated without user, you can is timely automated to wake up pent application.
Embodiment two:
Due to the opening of Android system, each vendor system can be modified primary Android system, So that the striding course technology of each vendor system can have certain limitation.So embodiment two proposes following wake-up mode:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result.
Specifically, the common method for waking up application of four kinds of mobile terminals for existing Android system more than, this method exist It wakes up every time in application, the one or more of above method can be selected to be waken up, ensure that can wake up application in time.It is logical It in the case of often, can be waken up simultaneously using the first with the third mode, the first or the second way can also be selected to wake up.
Embodiment three:
The wake-up mode of embodiment two has the following problems, wakes up all attempt a variety of wake-up modes wake-up applications, consumption every time Duration.Thus embodiment three for implement two there are the defects of, it is proposed that a kind of awakening method with memory function, referring to figure 3:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
Specifically, this method may be used above-mentioned four kinds when waking up to A applications for the first time and (optimal wake-up mode being not present) The combination of mode wakes up A applications.Then it defines in wakeup process for the first time, wakes up successful wake-up mode as optimal wake-up side Formula in subsequent wakeup process (there are optimal wake-up modes), is waken up with optimal wake-up mode, does not need to wake up every time A variety of wake-up modes are all attempted, shorten wakeup time.
Example IV:
Referring to Fig. 4, example IV provides a kind of timing keep-alive based on mobile terminal and wakes up system, including waking up mould Block and reporting module;
The wake-up module is used to set timer;When timer time reaches, detect and whether there is in mobile terminal Application can be waken up, is waken up, and record wake-up result when that in the presence of application can be waken up, can wake up to apply to this;
The reporting module is used to, according to result generation wake-up report is waken up, wake-up be reported to report.
Further, described when timer time reaches, detecting to whether there is in mobile terminal can wake up using specific Including:
When timer time reaches, scan and all of preset wake-up mark are configured in the file destination of mobile terminal Using;
Application can be waken up to be described by defining the application for having been prepared in file destination and having waken up and identifying.
Further, described pair can wake up using carry out wake up specifically include:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result.
Further, described pair can wake up using carry out wake up specifically include:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record is called out Awake result;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
The technique effect of the system that the embodiment of the present invention is provided, realization principle and generation and preceding method embodiment phase Together, to briefly describe, system embodiment part does not refer to part, can refer to corresponding contents in preceding method embodiment.
Embodiment five:
Referring to Fig. 5, embodiment five provides a kind of mobile terminal, including processor, 101, input equipment 102, output set Standby 103 and memory 104, the processor, input equipment, output equipment and memory are connected each other by bus 105, In, the memory is for storing computer program, and the computer program includes program instruction, and the processor is configured to use In calling described program instruction, the method described in embodiment one to embodiment three is performed.
It should be appreciated that in embodiments of the present invention, alleged processor 101 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 102 can include Trackpad, fingerprint and adopt sensor (for acquiring the finger print information of user and fingerprint Directional information), microphone etc., output equipment 103 can include display (LCD etc.), loud speaker etc..
The memory 104 can include read-only memory and random access memory, and to processor 101 provide instruction and Data.The a part of of memory 104 can also include nonvolatile RAM.For example, memory 104 can also be deposited Store up the information of device type.
Embodiment six:
Embodiment six provides a kind of computer readable storage medium, and the computer storage media is stored with computer journey Sequence, the computer program include program instruction, and described program instruction makes the processor perform reality when being executed by a processor Apply the method described in example one to embodiment three.
The computer readable storage medium can be the internal storage unit of the terminal described in aforementioned any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
It should be noted that:The system and method that flow chart and block diagram in attached drawing show multiple embodiments according to the present invention Architectural framework in the cards, function and operation.In this regard, each box in flow chart or block diagram can represent one A part for module, program segment or code, a part for the module, program segment or code are used to implement comprising one or more The executable instruction of defined logic function.It should also be noted that in some implementations as replacements, the work(marked in box It can also be occurred with being different from the sequence marked in attached drawing.For example, two continuous boxes can essentially be substantially parallel Ground performs, they can also be performed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram And/or the combination of each box in flow chart and the box in block diagram and/or flow chart, work(as defined in performing can be used Can or action dedicated hardware based system come realize or can with the combination of specialized hardware and computer instruction come reality It is existing.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, terminal and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, terminal and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation It may be combined or can be integrated into another system or some features can be ignored or does not perform.In addition, shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme should all cover in the claim of the present invention and the range of specification.

Claims (10)

1. a kind of timing keep-alive and awakening method based on mobile terminal, which is characterized in that including:
Timer is set;
When timer time reaches, application can be waken up by detecting to whether there is in mobile terminal;
If there is application can be waken up, application can be waken up to this and waken up, and record wake-up result;
Report is waken up according to result generation is waken up, wake-up is reported to report.
2. the timing keep-alive based on mobile terminal and awakening method according to claim 1, which is characterized in that
It is described when timer time reaches, detect in mobile terminal with the presence or absence of can wake up using specifically including:
When timer time reaches, scan be configured in the file destination of mobile terminal it is preset wake up mark it is all should With;
Application can be waken up to be described by defining the application for having been prepared in file destination and having waken up and identifying.
3. the timing keep-alive based on mobile terminal and awakening method according to claim 1, which is characterized in that
Described pair can wake up using carry out wake up specifically include:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record wakes up knot Fruit.
4. the timing keep-alive based on mobile terminal and awakening method according to claim 1, which is characterized in that
Described pair can wake up using carry out wake up specifically include:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record wakes up knot Fruit;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
5. a kind of timing keep-alive and wake-up system based on mobile terminal, which is characterized in that including wake-up module and reporting module;
The wake-up module is used to set timer;When timer time reaches, detect and whether there is in mobile terminal and can call out It wakes up and applies, waken up, and record wake-up result when that in the presence of application can be waken up, can wake up to apply to this;
The reporting module is used to, according to result generation wake-up report is waken up, wake-up be reported to report.
6. the timing keep-alive based on mobile terminal and wake-up system according to claim 5, which is characterized in that
It is described when timer time reaches, detect in mobile terminal with the presence or absence of can wake up using specifically including:
When timer time reaches, scan be configured in the file destination of mobile terminal it is preset wake up mark it is all should With;
Application can be waken up to be described by defining the application for having been prepared in file destination and having waken up and identifying.
7. the timing keep-alive based on mobile terminal and wake-up system according to claim 5, which is characterized in that
Described pair can wake up using carry out wake up specifically include:
Application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record wakes up knot Fruit.
8. the timing keep-alive based on mobile terminal and wake-up system according to claim 5, which is characterized in that
Described pair can wake up using carry out wake up specifically include:
Judge to whether there is optimal wake-up mode in mobile terminal;
It is waken up if it does, can wake up to apply using optimal wake-up mode pair;
If it does not, application can be waken up by one or more wake-up modes wake-up in following four mode:
1. can wake up the Service components being configured in application by startService startups, record wakes up result;
2. can wake up the Service components being configured in application by bindService startups, record wakes up result;
3. can wake up the ContentProvider components being configured in application by getType startups, record wakes up result;
4. can wake up the BroadcastReceiver components being configured in application by sendBroadcast startups, record wakes up knot Fruit;
It is optimal wake-up mode that definition wake-up result, which is the successful wake-up mode of wake-up,.
9. a kind of mobile terminal, which is characterized in that including processor, input equipment, output equipment and memory, the processing Device, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, performs claim 1-4 such as and appoint Method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor It is required that 1-4 any one of them methods.
CN201810043436.7A 2018-01-17 2018-01-17 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal Active CN108132803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810043436.7A CN108132803B (en) 2018-01-17 2018-01-17 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810043436.7A CN108132803B (en) 2018-01-17 2018-01-17 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

Publications (2)

Publication Number Publication Date
CN108132803A true CN108132803A (en) 2018-06-08
CN108132803B CN108132803B (en) 2021-02-12

Family

ID=62400699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810043436.7A Active CN108132803B (en) 2018-01-17 2018-01-17 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal

Country Status (1)

Country Link
CN (1) CN108132803B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035242A (en) * 2020-11-06 2020-12-04 南京研利科技有限公司 Method for playing push message, computing device and computer-readable storage medium
CN112199123A (en) * 2020-10-12 2021-01-08 广州欢网科技有限责任公司 Method and system for mutually awakening applications

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021019A (en) * 2014-06-18 2014-09-03 腾讯科技(深圳)有限公司 Application self-staring control method, terminal and server
US8887152B1 (en) * 2011-11-04 2014-11-11 Trend Micro, Inc. Android application virtual environment
CN105138372A (en) * 2015-08-27 2015-12-09 上海斐讯数据通信技术有限公司 Backstage service management and control system and method based on Android system
CN105282299A (en) * 2014-06-11 2016-01-27 中兴通讯股份有限公司 Application starting device and method
CN105740018A (en) * 2016-01-29 2016-07-06 北京奇虎科技有限公司 Application wake-up method and apparatus
CN106791004A (en) * 2016-11-28 2017-05-31 北京奇虎科技有限公司 That applies automatically wakens up method, device and mobile terminal
CN106815065A (en) * 2015-11-27 2017-06-09 腾讯科技(深圳)有限公司 The awakening method and device of background application, electronic equipment
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device
CN106959857A (en) * 2017-03-29 2017-07-18 联想(北京)有限公司 The application control method and apparatus of a kind of electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8887152B1 (en) * 2011-11-04 2014-11-11 Trend Micro, Inc. Android application virtual environment
CN105282299A (en) * 2014-06-11 2016-01-27 中兴通讯股份有限公司 Application starting device and method
CN104021019A (en) * 2014-06-18 2014-09-03 腾讯科技(深圳)有限公司 Application self-staring control method, terminal and server
CN105138372A (en) * 2015-08-27 2015-12-09 上海斐讯数据通信技术有限公司 Backstage service management and control system and method based on Android system
CN106815065A (en) * 2015-11-27 2017-06-09 腾讯科技(深圳)有限公司 The awakening method and device of background application, electronic equipment
CN105740018A (en) * 2016-01-29 2016-07-06 北京奇虎科技有限公司 Application wake-up method and apparatus
CN106791004A (en) * 2016-11-28 2017-05-31 北京奇虎科技有限公司 That applies automatically wakens up method, device and mobile terminal
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device
CN106959857A (en) * 2017-03-29 2017-07-18 联想(北京)有限公司 The application control method and apparatus of a kind of electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199123A (en) * 2020-10-12 2021-01-08 广州欢网科技有限责任公司 Method and system for mutually awakening applications
CN112035242A (en) * 2020-11-06 2020-12-04 南京研利科技有限公司 Method for playing push message, computing device and computer-readable storage medium

Also Published As

Publication number Publication date
CN108132803B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN103412644B (en) accessory device architecture
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
US20160004574A1 (en) Method and apparatus for accelerating system running
CN106502687A (en) A kind of method and terminal for entering resting state
CN102866903A (en) Decoupling backstage work with forestage work
CN106940652A (en) Control the method and mobile terminal of application program
CN104375929B (en) A kind of information processing method and electronic equipment
CN108345483A (en) A kind of reminding method of notification message, terminal and computer readable storage medium
CN107608693A (en) version upgrading method and terminal device
CN107810488A (en) A kind of method of state management of virtual machine, device and intelligent terminal
CN107390969B (en) A kind of method and terminal controlling suspended window
CN102169452A (en) Method for solving touch screen deadlock problem of mobile terminal
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN107743164A (en) A kind of exception falls the processing method and terminal of card
CN108132803A (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN107786729A (en) A kind of operating system update method and terminal
CN107436836A (en) The processing method and relevant device of a kind of journal file
CN110035171A (en) Electronic equipment and auxiliary operation method
CN106445698B (en) Method and device for acquiring step counting data
CN106648916B (en) Method and device for reporting pedometer message
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN106502858A (en) A kind of multiple subsystem power consumption determines method and terminal
CN106775894A (en) The operation method and terminal of a kind of application program
CN115543677A (en) Correctable error processing method, device and equipment and readable storage medium
CN107633385A (en) A kind of method, terminal and the computer-readable recording medium of picture timing

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