CN108304227A - A kind of online wake-up system, method, terminal and medium - Google Patents

A kind of online wake-up system, method, terminal and medium Download PDF

Info

Publication number
CN108304227A
CN108304227A CN201810043592.3A CN201810043592A CN108304227A CN 108304227 A CN108304227 A CN 108304227A CN 201810043592 A CN201810043592 A CN 201810043592A CN 108304227 A CN108304227 A CN 108304227A
Authority
CN
China
Prior art keywords
wake
application
result
module
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810043592.3A
Other languages
Chinese (zh)
Inventor
刘铎涛
吴亚海
王可为
唐献
罗伟东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810043592.3A priority Critical patent/CN108304227A/en
Publication of CN108304227A publication Critical patent/CN108304227A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The invention discloses a kind of online wake-up systems, and method, terminal and medium, the system comprises link block, parsing module, detection module, wake-up module and feedback modules;Wherein:The link block is for receiving the wakeup message that high in the clouds issues;The parsing module is for parsing the wakeup message to obtain wake up target;Whether the detection module is for detecting in client there are the wake up target;The wake-up module is used for when there are the wake up target, triggers the wake-up application operating in client, and obtain wake-up result;The feedback module is used to the wake-up result reporting to high in the clouds;Its effect is:Wake up target is obtained by parsing the wakeup message that high in the clouds issues, and then it whether detects in client there are the wake up target, and if so, the wake-up application operating in triggering client, is manually operated, you can automatically wake up pent application by high in the clouds without user.

Description

A kind of online wake-up system, method, terminal and medium
Technical field
The present invention relates to mobile Internet fields of communication technology, and in particular to a kind of online wake-up system, method, terminal And medium.
Background technology
Major applications in addition to need active state is kept when being interacted with user, it is also necessary to application enter backstage when into Other tasks go to ensure the interactive experience of user, such as required data content when the pre-loaded good startup of user next time Etc..In existing android system, it is necessarily dependent upon the scheduling of entire android system using survival, using passing through use 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 killed 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
To solve the above-mentioned problems, the present invention provides a kind of online wake-up system, and method, terminal and medium solve existing Need user that the defect to re-apply is manually operated in technology.
System is waken up in a first aspect, a kind of online, including link block, parsing module, detection module, wake-up module and anti- Present module;Wherein:
The link block is for receiving the wakeup message that high in the clouds issues;
The parsing module is for parsing the wakeup message to obtain wake up target;
Whether the detection module is for detecting in client there are the wake up target;
The wake-up module is used for when there are the wake up target, triggers the wake-up application operating in client, and obtain Go out to wake up result;
The feedback module is used to the wake-up result reporting to high in the clouds.
Further scheme is, the wakeup message includes intended application package informatin, intended application module information and calls out The mode of waking up.
Further scheme is that the wake-up mode includes:
Start the Service components configured in application by startService, record wakes up result;
Start the Service components configured in application by bindService, record wakes up result;
Start the ContentProvider components configured in application by getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application by sendBroadcast, record wakes up As a result.
Further scheme is that the wake-up result includes waking up successfully and waking up failure.
Second aspect, a kind of online awakening method are applied to the online wake-up system of one kind described in first aspect, the side Method includes:
Receive the wakeup message that high in the clouds issues;
The wakeup message is parsed to obtain wake up target;
It whether detects in client there are the wake up target;
When there are the wake up target, the wake-up application operating in client is triggered, and obtain wake-up result;
The wake-up result is reported into high in the clouds.
Further scheme is, the wakeup message includes intended application package informatin, intended application module information and calls out The mode of waking up.
The wake-up mode includes:
Start the Service components configured in application by startService, record wakes up result;
Start the Service components configured in application by bindService, record wakes up result;
Start the ContentProvider components configured in application by getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application by sendBroadcast, record wakes up As a result.
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 for storing computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, executes as described in second aspect Method.
Fourth aspect, a kind of computer readable storage medium, the computer storage media are stored with computer program, institute It includes program instruction to state computer program, and described program instruction makes the processor execute second aspect when being executed by a processor The method.
As shown from the above technical solution, a kind of online wake-up system provided by the invention, method, terminal and medium pass through Whether the wakeup message that issues of parsing high in the clouds obtains wake up target, and then detect in client there are the wake up target, such as There is the wake-up application operating then triggered in client in fruit, be manually operated without user, you can automatically waken up and closed by high in the clouds The application closed.
Description of the drawings
Fig. 1 is a kind of system block diagram of online wake-up system provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of online awakening method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of mobile terminal provided by the invention.
Specific implementation mode
In order to keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and Specific embodiment is described in detail, and description here does not mean that all masters corresponding to the specific example stated in embodiment Topic all refers in the claims.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special 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.
Referring to FIG. 1, be a kind of system block diagram of online wake-up system provided in an embodiment of the present invention, a kind of online wake-up System, including link block, parsing module, detection module, wake-up module and feedback module;Wherein:
The link block is for receiving the wakeup message that high in the clouds issues;
The parsing module is for parsing the wakeup message to obtain wake up target;
Whether the detection module is for detecting in client there are the wake up target;
The wake-up module is used for when there are the wake up target, triggers the wake-up application operating in client, and obtain Go out to wake up result;
The feedback module is used to the wake-up result reporting to high in the clouds.
Further, the wakeup message includes intended application package informatin, intended application module information and wake-up mode.
Further, the wake-up mode includes:
Start the Service components configured in application by startService, record wakes up result;
Start the Service components configured in application by bindService, record wakes up result;
Start the ContentProvider components configured in application by getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application by sendBroadcast, record wakes up As a result.
Further, the wake-up result includes waking up successfully and waking up failure.
Referring to FIG. 2, being a kind of method flow diagram of online awakening method provided in an embodiment of the present invention, one kind is called out online Awake method is applied to the online wake-up system of one kind described above, the method includes:
S101 receives the wakeup message that high in the clouds issues;
Specifically, in the present embodiment, link block opens TCP long connections, monitors the long link information that high in the clouds issues, and Determine whether to wake up information, is to wake up information then to handle, is not handle, the wakeup message includes intended application packet letter Breath, intended application module information and wake-up mode.
S102 parses the wakeup message to obtain wake up target;
Specifically, in the present embodiment, the message format issued is binary message, is such as detected as wakeup message, solution Binary message can then be resolved to the json formats of standard by analysis module, then be solved using the json analysis modes of standard Analysis, obtains intended application packet name information, intended application module information and wake-up mode, wherein JSON (JavaScript Object Notation, JS object tag) it is a kind of data interchange format of lightweight.
Whether S103 detects in client there are the wake up target;
Specifically, in the present embodiment, it is detected using the mode that Android system provides, under detection module detection Whether the target packet name of hair is mounted in terminal device, if installed, whether continues to detect installation application containing issuing Target element, if not installing or being not detected component, without wake up.
S104 triggers the wake-up application operating in client, and obtain wake-up result when there are the wake up target;
Specifically, in the present embodiment, the wake-up mode of wake-up module is as follows:
Start the Service components configured in application using startService, record wakes up result;
Start the Service components configured in application using bindService, record wakes up result;
Start the ContentProvider components configured in application using getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application using sendBroadcast, record wakes up As a result.
In a particular application, any of which mode can be taken to be waken up, can also be used what several wake-up modes were combined Mode automatically switches to another way and is waken up when a kind of mode wakes up not successfully.
The wake-up result is reported to high in the clouds by S105.
Specifically, in the present embodiment, feedback module obtains after waking up result, and carrying out data using http agreements reports, Result will be waken up and report to high in the clouds.
By the above method, wake up target is obtained by parsing the wakeup message that high in the clouds issues, and then detect in client Whether there are the wake up target, and if so, the wake-up application operating in triggering client, is manually operated without user, Pent application can be automatically waken up by high in the clouds.
Referring to Fig. 3, the present invention provides a kind of mobile terminal, including processor, 101, input equipment 102, output equipment 103 and memory 104, the processor, input equipment, output equipment and memory are connected each other by bus 105, wherein The memory is for storing computer program, and the computer program includes program instruction, and the processor is configured for Described program instruction is called, the method described in a kind of above-mentioned online awakening method is executed.
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 may include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for acquiring user Directional information), microphone etc., output equipment 103 may include display (LCD etc.), loud speaker etc..
The memory 104 may 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.
The present invention also provides a kind of computer readable storage medium, the computer storage media is stored with computer journey Sequence, the computer program include program instruction, and described program instruction when being executed by a processor executes the processor State a kind of method described in online awakening method.
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 needed for computer program and the terminal and data.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 Architecture, function and operation in the cards.In this regard, each box in flowchart or block diagram can represent one A part for module, section or code, the part of the module, section or code include it is one or more for realizing The executable instruction of defined logic function.It should also be noted that in some implementations as replacements, the work(marked in box Can also can in a different order than that indicated in the drawings it occur.For example, two continuous boxes can essentially be substantially parallel Ground executes, they can also be executed 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 executing can be used Can or the dedicated hardware based system of action realize, or can come using a combination of dedicated hardware and computer instructions real It is existing.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of 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 implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, 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 corresponding processes in the foregoing method embodiment, 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, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.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, can also be electricity, mechanical or other form connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over 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 physically exists alone, can also be during two or more units are integrated in one 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 sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned 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 foregoing description is the preferred embodiment of the present invention, those skilled in the art exist Under the enlightenment of the present invention, without prejudice to the purpose of the present invention and the claims, expression as multiple types can be made, this The transformation of sample is each fallen within protection scope of the present invention.

Claims (9)

1. a kind of online wake up system, which is characterized in that including link block, parsing module, detection module, wake-up module and anti- Present module;Wherein:
The link block is for receiving the wakeup message that high in the clouds issues;
The parsing module is for parsing the wakeup message to obtain wake up target;
Whether the detection module is for detecting in client there are the wake up target;
The wake-up module is used for when there are the wake up target, triggers the wake-up application operating in client, and obtain and call out Awake result;
The feedback module is used to the wake-up result reporting to high in the clouds.
2. a kind of online wake-up system according to claim 1, which is characterized in that the wakeup message includes intended application Package informatin, intended application module information and wake-up mode.
3. a kind of online system is waken up according to claim 2, which is characterized in that the wake-up mode includes:
Start the Service components configured in application by startService, record wakes up result;
Start the Service components configured in application by bindService, record wakes up result;
Start the ContentProvider components configured in application by getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application by sendBroadcast, record wakes up knot Fruit.
4. a kind of online wake-up system according to claim 1, which is characterized in that the wake-up result includes waking up successfully Fail with waking up.
5. a kind of online awakening method, which is characterized in that be applied to any online wake-up of described one kind in Claims 1-4 System, the method includes:
Receive the wakeup message that high in the clouds issues;
The wakeup message is parsed to obtain wake up target;
It whether detects in client there are the wake up target;
When there are the wake up target, the wake-up application operating in client is triggered, and obtain wake-up result;
The wake-up result is reported into high in the clouds.
6. a kind of online awakening method according to claim 5, which is characterized in that the wakeup message includes intended application Package informatin, intended application module information and wake-up mode.
7. a kind of online awakening method according to claim 6, which is characterized in that the wake-up mode includes:
Start the Service components configured in application by startService, record wakes up result;
Start the Service components configured in application by bindService, record wakes up result;
Start the ContentProvider components configured in application by getType, record wakes up result;
Start the BroadcastReceiver components that can be waken up and be configured in application by sendBroadcast, record wakes up knot Fruit.
8. 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 for storing computer program, the meter Calculation machine program includes program instruction, and the processor is configured for calling described program instruction, executes claim 5-7 such as and appoints Method described in one.
9. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program, institute It includes program instruction to state computer program, and described program instruction makes the processor execute as right is wanted when being executed by a processor Seek 5-7 any one of them methods.
CN201810043592.3A 2018-01-17 2018-01-17 A kind of online wake-up system, method, terminal and medium Pending CN108304227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810043592.3A CN108304227A (en) 2018-01-17 2018-01-17 A kind of online wake-up system, method, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810043592.3A CN108304227A (en) 2018-01-17 2018-01-17 A kind of online wake-up system, method, terminal and medium

Publications (1)

Publication Number Publication Date
CN108304227A true CN108304227A (en) 2018-07-20

Family

ID=62865579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810043592.3A Pending CN108304227A (en) 2018-01-17 2018-01-17 A kind of online wake-up system, method, terminal and medium

Country Status (1)

Country Link
CN (1) CN108304227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167117A (en) * 2019-05-23 2019-08-23 Oppo广东移动通信有限公司 Apparatus control method, device, host equipment, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN106528206A (en) * 2016-10-12 2017-03-22 北京奇虎科技有限公司 Application starting control method and apparatus, and application installation package reinforcement apparatus
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN106528206A (en) * 2016-10-12 2017-03-22 北京奇虎科技有限公司 Application starting control method and apparatus, and application installation package reinforcement apparatus
CN106843937A (en) * 2016-12-29 2017-06-13 北京奇虎科技有限公司 A kind of tune for notifying corresponding A pp plays method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167117A (en) * 2019-05-23 2019-08-23 Oppo广东移动通信有限公司 Apparatus control method, device, host equipment, mobile terminal and storage medium
CN110167117B (en) * 2019-05-23 2022-02-11 Oppo广东移动通信有限公司 Device control method and device, host device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
AU2007234897B2 (en) Merging multi-line log entries
CN109558290B (en) Server, interface automatic test method and storage medium
CN111835760B (en) Alarm information processing method and device, computer storage medium and electronic equipment
CN109766082A (en) The method and apparatus that the application program page jumps
CN111694677A (en) Message queue management method, device, terminal and computer-readable storage medium
CN110097157B (en) Electronic shelf label awakening method and system and related components
WO2019192133A1 (en) Electronic apparatus, data link risk pre-warning method, and storage medium
CN109656440A (en) Application icon display methods, equipment and medium
CN113553310A (en) Data acquisition method and device, storage medium and electronic equipment
CN109561134B (en) Electronic device, distributed cluster service distribution method and storage medium
CN109445954A (en) A kind of execution method, terminal device and the storage medium of timed task
CN108304227A (en) A kind of online wake-up system, method, terminal and medium
CN108509774B (en) Data processing method and device, electronic equipment and storage medium
CN109800124A (en) CPU usage monitoring method, device, electronic equipment and storage medium
CN114157679A (en) Cloud-native-based distributed application monitoring method, device, equipment and medium
CN111930783A (en) Monitoring method, monitoring system and computing device
US20230163998A1 (en) Data processing method, device, electronic device and computer readable medium
CN108306865B (en) Modbus packet-sticking processing method and device based on Netty framework
CN114518917B (en) Algorithm module scheduling method, algorithm module scheduling device and readable storage medium
CN114124878A (en) Market data issuing method, device, system, equipment and medium
CN110096414A (en) A kind of server monitoring method, device, equipment and medium
CN109889399A (en) RocketMQ client connection number monitoring method, device, electronic equipment and storage medium
CN109766236A (en) KAFKA message queue number monitoring method, device, electronic equipment and storage medium
CN108132803A (en) Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN114390015A (en) Data pushing system, method and equipment based on object model and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720