CN112199123A - Method and system for mutually awakening applications - Google Patents

Method and system for mutually awakening applications Download PDF

Info

Publication number
CN112199123A
CN112199123A CN202011084471.7A CN202011084471A CN112199123A CN 112199123 A CN112199123 A CN 112199123A CN 202011084471 A CN202011084471 A CN 202011084471A CN 112199123 A CN112199123 A CN 112199123A
Authority
CN
China
Prior art keywords
mobile terminal
applications
application
strategy
wake
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
CN202011084471.7A
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.)
Guangdong Huanwang Technology Co Ltd
Original Assignee
Guangdong Huanwang Technology 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 Guangdong Huanwang Technology Co Ltd filed Critical Guangdong Huanwang Technology Co Ltd
Priority to CN202011084471.7A priority Critical patent/CN112199123A/en
Publication of CN112199123A publication Critical patent/CN112199123A/en
Pending legal-status Critical Current

Links

Images

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)

Abstract

The application relates to a method and a system for mutually awakening applications, wherein after a strategy configuration request sent by a mobile terminal is received, strategy configuration information corresponding to a preset application currently started by the mobile terminal is acquired in a strategy database and is packaged and sent to the mobile terminal. In this application, the policy configuration information at least includes: and storing the configured strategy configuration information in a strategy database and corresponding to the applications on the mobile terminal one by one. The strategy configuration information is not set along with the delivery of the mobile terminal, and can be changed and replaced according to needs, and the preset application started at present of the mobile terminal can flexibly and sequentially wake up the applications in the application to be wakened list according to the strategy configuration information and the wake-up time interval.

Description

Method and system for mutually awakening applications
Technical Field
The present application relates to the field of application wake-up technologies, and in particular, to a method and a system for waking up applications.
Background
In the prior art, a mobile terminal generally wakes up other applications through one application, and then continues to wake up other applications through the woken-up application, so as to maintain the activity of the application running in the background in the mobile terminal. However, in the prior art, the applications are awakened from each other generally based on a policy established when the mobile terminal leaves a factory, and once the policy is set, the flexibility of the applications is poor.
Disclosure of Invention
To overcome, at least to some extent, the problems in the related art, the present application provides a method and system for mutual application wakeup.
The scheme of the application is as follows:
according to a first aspect of embodiments of the present application, a method for applications to wake up each other is provided, including:
receiving a policy configuration request sent by a mobile terminal; the strategy configuration request is sent by the mobile terminal when a preset application is started; the strategy configuration request comprises mark information of the preset application started by the mobile terminal at present;
acquiring strategy configuration information corresponding to the preset application from a strategy database according to the marking information in the strategy configuration request, and packaging and sending the strategy configuration information to the mobile terminal; the policy configuration information includes at least: a list of applications to be woken up, a wake-up mode and a wake-up time interval; and the policy configuration information is used for enabling the preset application started currently by the mobile terminal to wake up the applications in the application list to be woken up in sequence according to the wakening mode and the wakening time interval.
Preferably, in an implementation manner of the present application, the method further includes:
and integrating a unified policy SDK (Software Development Kit) into the preset application in the mobile terminal.
Preferably, in an implementation manner of the present application, the receiving a policy configuration request sent by a mobile terminal specifically includes:
and receiving a policy configuration request which is sent by the mobile terminal through the policy SDK and contains mark information of the currently started preset application when the preset application is started.
Preferably, in an implementation manner of the present application, the method further includes: and providing an operable policy configuration interface, wherein the policy configuration interface is used for configuring the list of applications to be awakened, the awakening mode and the awakening time interval.
Preferably, in an implementation manner of the present application, the method further includes: and storing the strategy configuration information after the strategy configuration interface is configured into the strategy database, and establishing a corresponding relation with preset applications one by one.
Preferably, in an implementation manner of the present application, the receiving a policy configuration request sent by a mobile terminal specifically further includes:
and when the awakened application of the mobile terminal is started, initializing and acquiring the strategy SDK, and sending a strategy configuration request containing the mark information of the currently started preset application through the strategy SDK.
Preferably, in an implementation manner of the present application, the wake-up manner specifically includes:
and enabling the preset application started currently by the mobile terminal to send a broadcast to the applications in the application list to be awakened according to the awakening time interval, so that the applications in the application list to be awakened are awakened as broadcast receivers.
Preferably, in an implementation manner of the present application, the waking manner specifically further includes:
receiving awakening requests sequentially sent by preset applications started currently by the mobile terminal according to the list of applications to be awakened and the awakening time interval;
and sending a wake-up instruction to the mobile terminal according to the wake-up request, so that the mobile terminal wakes up the application corresponding to the wake-up request.
Preferably, in an implementation manner of the present application, the waking manner specifically further includes:
and enabling the preset application started at present of the mobile terminal to carry out self-detection, and carrying out self-starting at intervals of the awakening time interval.
According to a second aspect of the embodiments of the present application, there is provided a system for applications to wake up each other, including:
a processor and a memory;
the processor and the memory are connected through a communication bus:
the processor is used for calling and executing the program stored in the memory;
the memory is used for storing programs, and the programs are at least used for executing the method for mutually awakening the applications
The technical scheme provided by the application can comprise the following beneficial effects: in the method and the device, after a policy configuration request sent by the mobile terminal is received, policy configuration information corresponding to a preset application currently started by the mobile terminal is obtained in a policy database, and the policy configuration information is packaged and sent to the mobile terminal. In this application, the policy configuration information at least includes: and storing the configured strategy configuration information in a strategy database and corresponding to the applications on the mobile terminal one by one. The strategy configuration information is not set along with the delivery of the mobile terminal, and can be changed and replaced according to needs, and the preset application started at present of the mobile terminal can flexibly and sequentially wake up the applications in the application to be wakened list according to the strategy configuration information and the wake-up time interval.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a method for mutual application wakeup according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for mutual application wakeup according to an embodiment of the present application.
Reference numerals:
a processor-21; a memory-22.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for waking up applications from each other according to an embodiment of the present application, and referring to fig. 1, the method for waking up applications from each other includes:
s11: receiving a policy configuration request sent by a mobile terminal; the strategy configuration request is sent by the mobile terminal when a preset application is started; the strategy configuration request comprises mark information of a preset application started at present by the mobile terminal;
s12: according to the mark information in the strategy configuration request, strategy configuration information corresponding to the preset application is obtained in a strategy database, packaged and sent to the mobile terminal; the policy configuration information includes at least: a list of applications to be woken up, a wake-up mode and a wake-up time interval; and the strategy configuration information is used for enabling the preset application started at present of the mobile terminal to wake up the applications in the application list to be wakened up in sequence according to the wakening mode and the wakening time interval.
In this embodiment, the server interacts with the mobile terminal in a manner of peripheral setting the server.
In the method for mutually waking up applications in this embodiment, the preparation includes:
and integrating a unified strategy SDK for the preset application in the mobile terminal.
On the same mobile terminal, the preset application integrated with the unified strategy SDK can realize mutual awakening and pull-alive without distinguishing application types, as long as the preset application on the mobile terminal is integrated with the unified strategy SDK, mutual awakening and pull-alive among applications can be carried out according to strategy configuration information of the server, all awakening strategies are controlled by server terminal configuration, and different applications are awakened and pulled alive according to different requirements.
The server provides an operable policy configuration interface, and the policy configuration interface is used for configuring the list of applications to be awakened, the awakening mode and the awakening time interval.
And storing the strategy configuration information after the strategy configuration interface is configured into a strategy database, and establishing a corresponding relation with the preset application one by one.
Preferably, the wake-up time interval may be 2 s.
In some embodiments, the method for waking up applications mutually, receiving a policy configuration request sent by a mobile terminal, specifically includes:
and when the preset application is started, the mobile terminal initializes and acquires the strategy SDK, and sends a strategy configuration request containing the mark information of the currently started preset application through the strategy SDK.
After the current application of the mobile terminal wakes up other applications, receiving a policy configuration request sent by the mobile terminal, which specifically includes:
and when the awakened application of the mobile terminal is started, initializing and acquiring a strategy SDK, and sending a strategy configuration request containing mark information of the currently started preset application through the strategy SDK.
That is, after the other applications are awakened and pulled alive, the policy request may be sent to the server through the SDK, and the awakening of the other applications may be continued.
The awakening mode specifically includes:
1) and sending a broadcast to the application in the application list to be awakened according to the awakening time interval by using the preset application started currently by the mobile terminal, so that the application in the application list to be awakened is awakened as a broadcast receiver.
2) Receiving a wake-up request which is sequentially sent by a preset application started currently by a mobile terminal according to a list of applications to be awakened and a wake-up time interval;
and sending a wake-up instruction to the mobile terminal according to the wake-up request, so that the mobile terminal wakes up the application corresponding to the wake-up request.
3) And carrying out self-detection on the currently started preset application of the mobile terminal, and carrying out self-starting at intervals of awakening time.
By way of example
After the application A on the mobile terminal is started, a policy request is sent to the server through the SDK, and the server acquires policy configuration information corresponding to the application A in a policy database according to the marking information in the policy configuration request, packages and sends the policy configuration information to the mobile terminal.
And the mobile terminal unpacks the packet and acquires an application list to be awakened, an awakening mode and an awakening time interval in the strategy configuration information.
The list of applications to wake up is B, C, D.
The awakening mode is awakening in a broadcast mode.
The wake-up time interval is 2 s.
The application A wakes up the application B in a broadcasting mode, wakes up the application C in a broadcasting mode after 2s, and wakes up the application D in a broadcasting mode after 2 s.
After the application B is started, a policy request can be sent to the server through the SDK, and the server acquires policy configuration information corresponding to the application B in a policy database according to the marking information in the policy configuration request, packages the policy configuration information and sends the policy configuration information to the mobile terminal.
And the mobile terminal unpacks the packet and acquires an application list to be awakened, an awakening mode and an awakening time interval in the strategy configuration information.
The list of applications to wake up is E.
The awakening mode is an E application awakening request sent to the server through the SDK;
and the server sends a wake-up instruction to the mobile terminal according to the wake-up request, so that the mobile terminal wakes up the application E.
After the application C is started, a policy request can be sent to the server through the SDK, and the server acquires policy configuration information corresponding to the application C from a policy database according to the marking information in the policy configuration request, packages the policy configuration information and sends the policy configuration information to the mobile terminal.
And the mobile terminal unpacks the packet and acquires an application list to be awakened, an awakening mode and an awakening time interval in the strategy configuration information.
The awakening mode is self-detection, and self-starting is carried out at intervals of awakening time.
The wake-up time interval may be 10 minutes, 20 minutes, etc.
In the method for mutually awakening applications in this embodiment, after receiving a policy configuration request sent by a mobile terminal, policy configuration information corresponding to a preset application currently started by the mobile terminal is acquired in a policy database, and is packaged and sent to the mobile terminal. In this application, the policy configuration information at least includes: and storing the configured strategy configuration information in a strategy database and corresponding to the applications on the mobile terminal one by one. The strategy configuration information is not set along with the delivery of the mobile terminal, and can be changed and replaced according to needs, and the preset application started at present of the mobile terminal can flexibly and sequentially wake up the applications in the application to be wakened list according to the strategy configuration information and the wake-up time interval.
A system for mutual application wakeup, referring to fig. 2, comprising:
a processor 21 and a memory 22;
the processor 21 is connected to the memory 22 by a communication bus:
the processor 21 is used for calling and executing the program stored in the memory;
a memory 22 for storing a program, the program at least being used for executing a method for mutual application wakeup in any of the above embodiments.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A method for applications to wake up from each other, comprising:
receiving a policy configuration request sent by a mobile terminal; the strategy configuration request is sent by the mobile terminal when a preset application is started; the strategy configuration request comprises mark information of the preset application started by the mobile terminal at present;
acquiring strategy configuration information corresponding to the preset application from a strategy database according to the marking information in the strategy configuration request, and packaging and sending the strategy configuration information to the mobile terminal; the policy configuration information includes at least: a list of applications to be woken up, a wake-up mode and a wake-up time interval; and the policy configuration information is used for enabling the preset application started currently by the mobile terminal to wake up the applications in the application list to be woken up in sequence according to the wakening mode and the wakening time interval.
2. The method of claim 1, further comprising:
and integrating a unified Strategy (SDK) into the preset application in the mobile terminal.
3. The method according to claim 2, wherein the receiving the policy configuration request sent by the mobile terminal specifically includes:
and receiving a policy configuration request which is sent by the mobile terminal through the policy SDK and contains mark information of the currently started preset application when the preset application is started.
4. The method of claim 1, further comprising: and providing an operable policy configuration interface, wherein the policy configuration interface is used for configuring the list of applications to be awakened, the awakening mode and the awakening time interval.
5. The method of claim 4, further comprising: and storing the strategy configuration information after the strategy configuration interface is configured into the strategy database, and establishing a corresponding relation with preset applications one by one.
6. The method according to claim 1, wherein the receiving a policy configuration request sent by a mobile terminal further includes:
and when the awakened application of the mobile terminal is started, initializing and acquiring the strategy SDK, and sending a strategy configuration request containing the mark information of the currently started preset application through the strategy SDK.
7. The method according to claim 1, wherein the wake-up mode specifically comprises:
and enabling the preset application started currently by the mobile terminal to send a broadcast to the applications in the application list to be awakened according to the awakening time interval, so that the applications in the application list to be awakened are awakened as broadcast receivers.
8. The method according to claim 1, wherein the wake-up mode further comprises:
receiving awakening requests sequentially sent by preset applications started currently by the mobile terminal according to the list of applications to be awakened and the awakening time interval;
and sending a wake-up instruction to the mobile terminal according to the wake-up request, so that the mobile terminal wakes up the application corresponding to the wake-up request.
9. The method according to claim 1, wherein the wake-up mode further comprises:
and enabling the preset application started at present of the mobile terminal to carry out self-detection, and carrying out self-starting at intervals of the awakening time interval.
10. A system for applications to wake up from each other, comprising:
a processor and a memory;
the processor and the memory are connected through a communication bus:
the processor is used for calling and executing the program stored in the memory;
the memory for storing a program for at least performing a method of mutually waking up applications as claimed in any one of claims 1 to 9.
CN202011084471.7A 2020-10-12 2020-10-12 Method and system for mutually awakening applications Pending CN112199123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011084471.7A CN112199123A (en) 2020-10-12 2020-10-12 Method and system for mutually awakening applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011084471.7A CN112199123A (en) 2020-10-12 2020-10-12 Method and system for mutually awakening applications

Publications (1)

Publication Number Publication Date
CN112199123A true CN112199123A (en) 2021-01-08

Family

ID=74012853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011084471.7A Pending CN112199123A (en) 2020-10-12 2020-10-12 Method and system for mutually awakening applications

Country Status (1)

Country Link
CN (1) CN112199123A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298515A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Awakening control method and device for application program in mobile terminal and mobile terminal
US20150199193A1 (en) * 2014-01-16 2015-07-16 International Business Machines Corporation System, Method and Apparatus for Automatic Device Registration and Secure Application Activation
CN107944257A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN108132803A (en) * 2018-01-17 2018-06-08 吉浦斯信息咨询(深圳)有限公司 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN108733424A (en) * 2018-06-30 2018-11-02 努比亚技术有限公司 Using wake-up control method, equipment and computer-readable storage media
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298515A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Awakening control method and device for application program in mobile terminal and mobile terminal
US20150199193A1 (en) * 2014-01-16 2015-07-16 International Business Machines Corporation System, Method and Apparatus for Automatic Device Registration and Secure Application Activation
CN107944257A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN109814954A (en) * 2017-11-21 2019-05-28 腾讯科技(深圳)有限公司 PUSH message method of reseptance, device, storage medium and computer equipment
CN108132803A (en) * 2018-01-17 2018-06-08 吉浦斯信息咨询(深圳)有限公司 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN108733424A (en) * 2018-06-30 2018-11-02 努比亚技术有限公司 Using wake-up control method, equipment and computer-readable storage media

Similar Documents

Publication Publication Date Title
US9288538B2 (en) Methods and apparatus for conveying a delivery schedule to mobile terminals
CN107148787B (en) Discovery method and electronic equipment thereof
CN110290574B (en) Data transmission method, device, equipment, system and storage medium
CN102169329B (en) Vehicle-mounted information terminal and control method thereof
US9155023B2 (en) Apparatus and methods for communicating system state information change to wireless devices
US20160345294A1 (en) Method and Apparatus for Notification of System Information Changes in a Wireless Communication System
CN106210793B (en) A kind of method and apparatus sending main broadcaster's competition Information
US10003617B2 (en) Terminal and application synchronization method thereof
CN112738255A (en) Downloading and distributing processing method, terminal and system for VR resources
CN110781014B (en) Recording data multi-process distribution method and system based on Android device
CN109408091A (en) Application upgrading method and device
CN112199123A (en) Method and system for mutually awakening applications
CN116319712B (en) Wireless upgrading method and device for slave nodes of power equipment body area network
WO2020147686A1 (en) Method and device for sending and receiving wake up signal, and electronic device
CN112203256A (en) Control method and device for on-board unit, storage medium, and electronic device
CN111767074A (en) Configuration updating method, device, terminal and storage medium
CN112566184B (en) Communication method
CN112256353A (en) Information pushing method based on iBeacon and related equipment and system
CN115129351A (en) Method for upgrading slave controller, master controller and slave controller
CN107977224B (en) Application program configuration method, device, server and storage medium
CN112165531A (en) Communication method, device and storage medium realized based on port of monitoring device
CN114786246B (en) Communication control method, communication system, electronic device, and readable storage medium
CN108574974B (en) Wireless access method, related equipment and system
CN111148192A (en) Discontinuous reception method and device
US20240356828A1 (en) Method for maintaining communication connection, electronic device, and non-transitory 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