CN110297663A - Awakening method, device, terminal and the medium of application program - Google Patents
Awakening method, device, terminal and the medium of application program Download PDFInfo
- Publication number
- CN110297663A CN110297663A CN201810235643.2A CN201810235643A CN110297663A CN 110297663 A CN110297663 A CN 110297663A CN 201810235643 A CN201810235643 A CN 201810235643A CN 110297663 A CN110297663 A CN 110297663A
- Authority
- CN
- China
- Prior art keywords
- application program
- object application
- port
- wake
- configuration information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Abstract
The embodiment of the present application discloses awakening method, device, terminal and the medium of a kind of application program, to improve the flexibility of wake up target application program.The awakening method of the application program, comprising: the request message for whether starting port listening service for detecting the first object application program is sent to terminal where first object application program;Receive that the terminal returns for the request message response message when, determine that the first object application program has been turned on port listening service, wake request is sent to terminal where the first object application program, to wake up the first object application program.
Description
Technical field
This application involves application program awakening technology field more particularly to a kind of awakening methods of application program, device, end
End and computer readable storage medium.
Background technique
In the outer dispensing advertising scenarios of flow cooperation or station, ordinary practice is in using dispensing hypertext markup language
The mode of (Hyper Text Markup Language, HTML) 5 pages (namely H5 page) introduces the business information of partner.
By launching the H5 page, allow users to directly jump from an application program into another application program, and open certain
A little specific webpages.
Currently, launching the mode realization that the H5 page generallys use schema agreement.Specifically, application program is to operation
System registers uniform resource locator (Uniform Resource Locator, URL) scheme, which is used for from browser
Or application is waken up in other application program.It, can by specified url field when waking up application program using this URL
To allow application program directly to open certain specific webpages after being waken up, for example, commodity details page, activity details page etc.;It can also
To allow application program to execute certain required movements after being waken up, for example, completing payment movement etc..
But by way of launching H5 page wake up target application program, it can not detect whether destination application pacifies
Dress, can only be by means such as timers, and after issuing schema request, timing guides user to adopt manually, opens mesh
It marks application program or enters the downloading page of destination application, wake-up strategy is single, and flexibility is lower.
Apply for content
The embodiment of the present application provides awakening method, device, terminal and the computer-readable storage medium of a kind of application program
Matter, to improve the flexibility of wake up target application program.
According to the embodiment of the present application in a first aspect, providing a kind of awakening method of application program, comprising:
It sends to terminal where first object application program for detecting whether first object application program starts port prison
Listen the request message of service;
Terminal where receiving first object application program return for request message response message when, determine the
One destination application has been turned on port listening service, wake request is sent to terminal where first object application program, to call out
Awake first object application program.
According to the second aspect of the embodiment of the present application, a kind of awakening method of application program is provided, comprising:
Obtain the port configuration information for starting first object application program port listening service;
Port listening service based on the port configuration information starting first object application program got;
Receive the wake request for waking up first object application program;
Based on wake request, start first object application program, and opens the target pages in first object application program.
According to the third aspect of the embodiment of the present application, a kind of Rouser of application program is provided, comprising:
Sending module, for being for detecting first object application program to terminal transmission where first object application program
The request message of no starting port listening service;
Wake-up module, the response for request message returned for the terminal where receiving first object application program
It when message, determines that first object application program has been turned on port listening service, is sent to terminal where first object application program
Wake request, to wake up first object application program.
According to the fourth aspect of the embodiment of the present application, a kind of Rouser of application program is provided, comprising:
Module is obtained, for obtaining the port configuration information for starting first object application program port listening service;
Port listening service starting module, for starting first object application program based on the port configuration information got
Port listening service;
Receiving module, for receiving the wake request for waking up first object application program;
Start first object application program, and open first object application for being based on wake request using wake-up module
Target pages in program.
According to the 5th of the embodiment of the present application the aspect, a kind of wake-up terminal of application program is provided, comprising: memory and place
Manage device;The memory is for storing executable program code;The processor is for reading the executable journey stored in memory
Method of the sequence code to execute above-mentioned first aspect.
According to the 6th of the embodiment of the present application the aspect, a kind of computer readable storage medium is provided, calculating is stored thereon with
Machine program instruction realizes the method for above-mentioned first aspect when computer program instructions are executed by processor.
According to the 7th of the embodiment of the present application the aspect, a kind of wake-up terminal of application program is provided, comprising: memory and place
Manage device;The memory is for storing executable program code;The processor is for reading the executable journey stored in memory
Method of the sequence code to execute above-mentioned second aspect.
According to the eighth aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, is stored thereon with calculating
Machine program instruction realizes the method for above-mentioned second aspect when computer program instructions are executed by processor.
According to the awakening method of the application program in the embodiment of the present application, device, terminal and computer readable storage medium,
It sends to terminal where first object application program for detecting whether first object application program starts port listening service
Request message, and where receiving first object application program terminal return for request message response message when, really
Determine first object application program and have been turned on port listening service, sends wake request to terminal where first object application program,
To wake up first object application program.
The wake-up scheme of the application program of the embodiment of the present application wakes up sending to terminal where first object application program
Before request, send to terminal where first object application program for detecting whether first object application program starts port prison
The request message of service is listened, by whether the response message for receiving the request message judges first object application program
Start port listening service, namely judge whether first object application program has been installed, so as to flexible according to judgement result
The strategy for waking up first object application program is formulated, the flexibility for waking up first object application program is improved.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, the drawings in the following description are only some examples of the present application, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 shows the system architecture diagram according to the embodiment of the present application external application wake up target application program;
Fig. 2 shows the flow diagrams according to the awakening method of the application program of the embodiment of the present application a kind of;
Fig. 3 shows the flow diagram of the awakening method of the another application program according to the embodiment of the present application;
Fig. 4 shows a kind of structural schematic diagram of the Rouser of application program according to the embodiment of the present application;
Fig. 5 shows the structural schematic diagram of the Rouser of the another application program according to the embodiment of the present application;
Fig. 6 shows the application program that can be realized awakening method and device according to the application program of the embodiment of the present application
Wake-up terminal exemplary hardware architecture structure chart.
Specific embodiment
The feature and exemplary embodiment of the various aspects of the application is described more fully below, in order to make the mesh of the application
, technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the application is further retouched in detail
It states.It should be understood that specific embodiment described herein is only configured to explain the application, it is not configured as limiting the application.
To those skilled in the art, the application can be real in the case where not needing some details in these details
It applies.Below the description of embodiment is used for the purpose of better understanding the application to provide by showing the example of the application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including
There is also other identical elements in the process, method, article or equipment of the element.
Currently, ordinary practice is in by the way of launching the H5 page in the outer dispensing advertising scenarios of flow cooperation or station
The business information of partner is introduced, namely by launching the H5 page user is directly jumped from an application program into another
A application program, and open certain specific webpages.
In the prior art, the mode realization that the H5 page generallys use schema agreement is launched.Specifically, application program to
Operating system registers URL scheme, and the scheme is for waking up application from browser or other application program.?
When waking up application program using this URL, by specified url field, application program can be allowed directly to open certain after being waken up
A little specific webpages, for example, commodity details page, activity details page etc.;Application program can also be allowed to execute certain fingers after being waken up
Fixed movement, for example, completing payment movement etc..
But by way of launching H5 page wake up target application program, it can not detect whether destination application pacifies
Dress, can only be by means such as timers, and after issuing schema request, timing guides user to adopt manually, opens mesh
It marks application program or enters the downloading page of destination application, wake-up strategy is single, and flexibility is lower.
In consideration of it, the embodiment of the present application provides a kind of wake-up scheme of application program, comprising: to first object application journey
Terminal sends the request message for whether starting port listening service for detecting first object application program where sequence, and is receiving
Terminal where to first object application program return for request message response message when, determine first object application program
Port listening service is had been turned on, wake request is sent to terminal where first object application program, to wake up first object application
Program.
Application program provided by the embodiments of the present application wakes up scheme, calls out to terminal transmission where first object application program
It wakes up before request, sends to terminal where first object application program for detecting whether first object application program starts port
The request message for monitoring service, by whether the response message for receiving the request message judges first object application program
Port listening service is had been turned on, namely judges whether first object application program has been installed, so as to according to judgement result spirit
It is living to formulate the strategy for waking up first object application program, improve the flexibility for waking up first object application program.
Below with reference to Fig. 1 by taking external application wakes up first object application program using the H5 page as an example, to the application
The wake-up scheme for the application program that embodiment provides is described in detail.
The awakening method of application program provided by the embodiments of the present application, it is necessary first to first object application program launching port
Service is monitored, and first object application program launching port listening service needs to obtain newest port configuration information.
In one embodiment, terminal where first object application program is obtained for starting first object application program
The port configuration information of port listening service, and the end based on the port configuration information starting first object application program got
Mouth monitors service.Wherein, port configuration information, including but not limited to: port-mark (it is used for each listening port of unique identification,
For example, port numbers), the timestamp of Port Profile format and port configuration information.
Wherein, the timestamp of port configuration information is used to identify the version of present port configuration information, matches based on port
When timestamp information in confidence breath determines the port configuration information failure of first object application program, reacquisition is needed to be used for
Start the port configuration information of first object application program port listening service.When it is implemented, confidence can be matched based on port
The timestamp periodicity or timing acquisition port configuration information of breath.
When it is implemented, the port configuration information for starting first object application program port listening service is obtained, it can
Request is sent to the server of first object application program with active to be obtained, and also be can receive and is answered for configuring first object
With the port configuration information for the first object application program that the configuration module of program port configuration information is sent, the application to this not
It limits.
After first object application program launching port listening service, external application can be by answering to first object
The terminal where program sends the request message for whether starting port listening service for detecting the first object application program,
Whether detection first object application program is installed, specifically:
Terminal is sent for detecting the first object application journey where external application to first object application program
Whether sequence starts the request message of port listening service, if first object application program has been turned on port listening service, first
Destination application can make a response the request message namely external application can receive first object application journey
The response message for the request message that terminal where sequence returns.External application receives first object application program institute
When terminal is directed to the response message of the request message, determine that first object application program has been turned on port listening service, then really
Determine that first object application program is installed in terminal, then external application can be to terminal hair where first object application program
Wake request is sent, to wake up first object application program.
Terminal is sent for detecting the first object application journey where external application to first object application program
Whether sequence starts the request message of port listening service, if the inactive port listening service of first object application program, first
Destination application can not receive the request message, can not make a response to the request message namely external application will connect
Terminal is directed to the response message of the request message where can not receive first object application program.External application will not receive
When terminal is directed to the response message of the request message where first object application program, external application, which determines in terminal, does not pacify
First object application program or the failure of first object application program launching port listening service are filled, then external application uses
The mode of primary schema agreement wakes up first object application program.
In one embodiment, external application is sending wake request to terminal where first object application program
When, the attribute information of first object application program is obtained first, according to the attribute information of the first object application program got
Judge whether that first object application program can be waken up, and is determined to call out in the attribute information based on first object application program
When first object application program of waking up, wake request is sent to terminal where first object application program.
In one embodiment, it can include but is not limited in the attribute information of first object application program: different versions
Whether this external application can wake up first object application program, whether the external application of different channel downloadings can
Enough wake up first object application program etc..
In one embodiment, if being answered in the attribute information of the first object application program got including first object
With the device number of program, then the modes such as JS localstorage or cookies can be used for this device number based on this device number
Persistence is stored in terminal where external application, and external application and the can be accurately established based on this device number
The uniqueness relation of one destination application and this equipment.Based on this uniqueness relation, can accomplish based on device number scene
Business judges customized logic.
In one embodiment, when external application obtains the attribute information of first object application program, Ke Yixiang
Terminal where first object application program sends the information acquisition request for obtaining the attribute information of first object application program,
Then the attribute information for the first object application program that terminal returns is received.
In one embodiment, terminal sends wake request where external application to first object application program
When, the port configuration information of first object application program, and the port configuration information based on first object application program are obtained, is spelled
Dress generates the wake request for waking up first object application program, then uses ajax request method to first object application journey
Terminal sends wake request where sequence.
When it is implemented, external application using in port configuration information port-mark and Port Profile format, with
And the address URL of the first object application program obtained in advance, assembly generate the wake-up for waking up first object application program
Request.
It in one embodiment, can when external application obtains the port configuration information of first object application program
The port configuration information for obtaining first object application program is sent with terminal where periodicity to first object application program
Information acquisition request, and the port configuration of first object application program that terminal where receiving first object application program returns
Information also can receive the first object that the configuration module for configuring first object application program port configuration information is sent and answer
With the port configuration information of program, the application is not limited this.
In one embodiment, external application can also save the port of first object application program with confidence
Breath.Certainly, it should be noted that comprising being used for identification port configuration information in the port configuration information of first object application program
The timestamp of version, external application can the ports based on timestamp periodicity or timing acquisition first object application program
Configuration information, to ensure that the wake request generated based on port configuration information assembly can wake up first object application program.
In one embodiment, in order to avoid external application is taken using the port snoop of first object application program
Information is stolen in business, in the embodiment of the present application by the way of fixed protocol format namely the monitoring end of first object application program
Mouth only receives the request of rendezvous protocol format, will not execute any operation for the request of non-rendezvous protocol format.
In one embodiment, terminal where first object application program receives the wake-up of external application transmission
When request, protocol security process can be carried out.Specifically, when receiving the wake request of external application transmission, judgement
Whether the wake request received is the wake request based on Port Profile format, and is determining that wake request is to assist based on port
When discussing the wake request of format, the wake request, namely starting first object application program are executed, and open first object application
Target pages in program.
In one embodiment, when executing wake request, the address URL is parsed from wake request, and with accessing URL
Location is to start the corresponding application program in the address URL, namely starting first object application program, then according to the ginseng transmitted in URL
Number opens the page of the address URL mark, namely opens the target pages in first object application program.
In one embodiment, for some fields for needing to replace listening port mark and monitoring protocols format at any time
Scape can issue port configuration information to external application and first object application by port and the service of protocol dynamic O&M
Program avoids wake-up the to control in external application and first object application program using identical port configuration information
The failure of one destination application.
The process that external application wakes up first object application program is described in above-described embodiment, in practical application,
External application can be in same terminal with first object application program, can also be in first object application program
In different terminals, the embodiment of the present application is not limited this.
In one embodiment, external application application program in the terminal equally can be by other application journey
Sequence is waken up.In other words, terminal where external application can also be obtained and be used for when waking up first object application program
The port configuration information for starting the second destination application port listening service, based on the port configuration information starting the got
The port listening service of two destination applications receives the wake request for waking up the second destination application, and is based on connecing
The wake request received starts the second destination application, and opens the target pages in the second destination application.
It should be noted that the first object application program and the second target application journey that are previously mentioned in the embodiment of the present application
Sequence is not used to specifically limit.First object application program and the second destination application, which are only used for distinguishing two, different answers
Use program.
The implementation procedure of the awakening method of above-mentioned application program is illustrated below with reference to specific system process flow,
It should be noted, however, that the specific embodiment merely to the application is better described, is not constituted to the improper of the application
It limits.
Side is being waken up, for overall flow, as shown in Fig. 2, the awakening method 200 of application program, may include following
Step:
Step 201, it sends to terminal where first object application program for detecting whether first object application program opens
The request message of dynamic port listening service.
Step 202, the response message for request message that the terminal where receiving first object application program returns
When, it determines that first object application program has been turned on port listening service, sends and wake up to terminal where first object application program
Request, to wake up first object application program.
Be waken up side, for overall flow, as shown in figure 3, the awakening method 300 of application program, may include with
Lower step:
Step 301, the port configuration information for starting first object application program port listening service is obtained.
Step 302, the port listening service based on the port configuration information starting first object application program got.
Step 303, the wake request for waking up first object application program is received.
Step 304, it is based on wake request, starts first object application program, and open in first object application program
Target pages.
When waking up side realization, the awakening method of the application program in above-described embodiment can pass through application program
Rouser is realized.As shown in figure 4, the Rouser 400 of application program, may include:
Sending module 401, for sending to terminal where first object application program for detecting first object application journey
Whether sequence starts the request message of port listening service.
Wake-up module 402, for where receiving first object application program terminal return for request message
When response message, determine that first object application program has been turned on port listening service, to terminal where first object application program
Wake request is sent, to wake up first object application program.
In one embodiment, wake-up module 402 is specifically used for: obtaining the attribute information of first object application program;
When attribute information based on first object application program is determined to wake up first object application program, to first object application journey
Terminal sends wake request where sequence.
In one embodiment, wake-up module 402 is specifically used for: sending and uses to terminal where first object application program
In the information acquisition request for the attribute information for obtaining first object application program;Receive the first object application program that terminal returns
Attribute information.
In one embodiment, wake-up module 402 is specifically used for: matching confidence in the port for obtaining first object application program
Breath;Based on port configuration information, assembly generates the wake request for waking up first object application program;Using ajax requesting party
Terminal sends wake request where formula to first object application program.
In one embodiment, wake-up module 402 is specifically used for: periodically to terminal where first object application program
Send the information acquisition request for obtaining the port configuration information of first object application program;Receive the first mesh that terminal returns
Mark the port configuration information of application program.
In one embodiment, wake-up module 402 is specifically used for: receiving for configuring first object application program port
The port configuration information for the first object application program that the configuration module of configuration information is sent.
In one embodiment, the Rouser of application program further include: memory module 403 is used for: the first mesh is saved
Mark the port configuration information of application program.
In one embodiment, port configuration information includes: port-mark and Port Profile format;Wake-up module 402
Be specifically used for: using port-mark, Port Profile format and in advance the unified resource of first object application program that obtains positions
The address URL is accorded with, assembly generates the wake request for waking up first object application program.
In one embodiment, the Rouser of application program, further includes: module 404 is obtained, for obtaining for opening
The port configuration information of dynamic second destination application port listening service;Port listening service starting module 405, for being based on
The port configuration information got starts the port listening service of the second destination application, and receiving module 406 is used for receiving
In the wake request for waking up the second destination application, start the first mesh for being based on wake request using wake-up module 407
Application program is marked, and opens the target pages in first object application program.
When being waken up side realization, the awakening method of the application program in above-described embodiment can pass through application program
Rouser realize.As shown in figure 5, the Rouser 500 of application program, may include:
Module 501 is obtained, for obtaining the port for starting first object application program port listening service with confidence
Breath.
Port listening service starting module 502, for starting first object application based on the port configuration information got
The port listening service of program.
Receiving module 503, for receiving the wake request for waking up first object application program.
Start first object application program, and open first object for being based on wake request using wake-up module 504
Target pages in application program.
In one embodiment, port configuration information includes Port Profile format;It is specifically used using wake-up module 504
In: when determining wake request is the wake request based on Port Profile format, it is based on wake request, starts first object application
Program, and open the target pages in first object application program.
In one embodiment, it is specifically used for using wake-up module 504: it is fixed parses unified resource from wake request
The position symbol address URL;The corresponding application program in the address URL address start URL is accessed, and opens the page of the address URL mark.
In one embodiment, receiving module 503 is also used to: receiving the attribute for obtaining first object application program
The information acquisition request of information;In response to information acquisition request, the attribute information of first object application program is returned.
In one embodiment, it obtains module 501 to be specifically used for: receive for configuring first object application program port
The port configuration information for the first object application program that the configuration module of configuration information is sent.
In one embodiment, port configuration information, comprising: for identifying the time of present port configuration information version
Stab information;The Rouser of application program further include: configuration update module 505 is used for: determining first based on timestamp information
When the port configuration information failure of destination application, reacquire for starting first object application program port listening service
Port configuration information.
In one embodiment, the Rouser of application program, further includes: sending module 506 is used for the second target
Terminal is sent for detecting the request message whether the second destination application starts port listening service where application program, is called out
Wake up module 507, for where receiving the second destination application terminal return for request message response message when,
Determine that the second destination application has been turned on port listening service, terminal where to the second destination application sends to wake up and ask
It asks, to wake up the second destination application.
Fig. 6 shows the application program that can be realized awakening method and device according to the application program of the embodiment of the present application
Wake-up terminal exemplary hardware architecture structure chart.As shown in fig. 6, the wake-up terminal 600 of application program includes that input is set
Standby 601, input interface 602, central processing unit 603, memory 604, output interface 605 and output equipment 606.Wherein, defeated
Incoming interface 602, central processing unit 603, memory 604 and output interface 605 are connected with each other by bus 610, input equipment
601 and output equipment 606 connect respectively by input interface 602 and output interface 605 with bus 610, and then and application program
Wake-up terminal 600 other assemblies connection.
Specifically, input equipment 601 is received from external input information, and will input information by input interface 602
It is transmitted to central processing unit 603;Central processing unit 603 is based on the computer executable instructions stored in memory 604 to input
Information is handled to generate output information, and output information is temporarily or permanently stored in the memory 604, is then passed through
Output information is transmitted to output equipment 606 by output interface 605;Output information is output to application program by output equipment 606
Wake up the outside of terminal 600 for users to use.
That is, the wake-up terminal of application program shown in fig. 6 also may be implemented as the wake-up device of application program,
The wake-up device of the application program may include: the memory for being stored with computer executable instructions;And processor, the processing
Device may be implemented to combine the awakening method and device of the application program of Fig. 2-Fig. 5 description when executing computer executable instructions.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.It when implemented in software, can be entirely or partly with the shape of computer program product or computer readable storage medium
Formula is realized.The computer program product or computer readable storage medium include one or more computer instructions.It is calculating
When being loaded on machine and executing the computer program instructions, entirely or partly generate according to process described in the embodiment of the present application
Or function.The computer can be general purpose computer, special purpose computer, computer network or other programmable devices.Institute
Stating computer instruction may be stored in a computer readable storage medium, or from a computer readable storage medium to another
A computer readable storage medium transmission, for example, the computer instruction can be from web-site, computer, a server
Or data center passes through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (for example, infrared, wireless, micro-
Wave etc.) mode transmitted to another web-site, computer, server or data center.The computer-readable storage
Medium can be any usable medium that computer can access or include the integrated service of one or more usable mediums
The data storage devices such as device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), light
Medium (for example, DVD) or semiconductor medium (for example, solid state hard disk Solid State Disk (SSD)) etc..
In addition, the embodiment of the present application can provide a kind of calculating in conjunction with the awakening method of the application program in above-described embodiment
Machine readable storage medium storing program for executing is realized.Computer program instructions are stored on the computer readable storage medium;The computer program
The awakening method of any one application program in above-described embodiment is realized in instruction when being executed by processor.
It should be clear that the application is not limited to specific configuration described above and shown in figure and processing.
For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated
The step of body, is as example.But the present processes process is not limited to described and illustrated specific steps, this field
Technical staff can be variously modified, modification and addition after understanding spirit herein, or suitable between changing the step
Sequence.
It should also be noted that, the exemplary embodiment referred in the application, is retouched based on a series of step or device
State certain methods or system.But the application is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment
The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above, the only specific embodiment of the application, it is apparent to those skilled in the art that,
For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method
Corresponding process in embodiment, details are not described herein.It should be understood that the protection scope of the application is not limited thereto, it is any to be familiar with
Those skilled in the art within the technical scope of the present application, can readily occur in various equivalent modifications or substitutions,
These modifications or substitutions should all cover within the scope of protection of this application.
Claims (22)
1. a kind of awakening method of application program, which is characterized in that the described method includes:
It sends to terminal where first object application program for detecting whether the first object application program starts port prison
Listen the request message of service;
Receive that the terminal returns for the request message response message when, determine the first object application journey
Sequence has been turned on port listening service, and terminal sends wake request where Xiang Suoshu first object application program, to wake up described the
One destination application.
2. the method according to claim 1, wherein described to terminal hair where the first object application program
Send wake request, comprising:
Obtain the attribute information of the first object application program;
When attribute information based on the first object application program is determined to wake up the first object application program, to institute
Terminal sends wake request where stating first object application program.
3. according to the method described in claim 2, it is characterized in that, the attribute letter for obtaining the first object application program
Breath, comprising:
The attribute information for obtaining the first object application program is sent to terminal where the first object application program
Information acquisition request;
Receive the attribute information for the first object application program that the terminal returns.
4. the method according to claim 1, wherein described to terminal hair where the first object application program
Send wake request, comprising:
Obtain the port configuration information of the first object application program;
Based on the port configuration information, assembly generates the wake request for waking up the first object application program;
Wake request is sent using terminal where ajax request method to the first object application program.
5. according to the method described in claim 4, it is characterized in that, the port for obtaining the first object application program is matched
Confidence breath, comprising:
Periodically the end for obtaining the first object application program is sent to terminal where the first object application program
The information acquisition request of mouth configuration information;
Receive the port configuration information for the first object application program that the terminal returns.
6. according to the method described in claim 4, it is characterized in that, the port for obtaining the first object application program is matched
Confidence breath, comprising:
Receive the first object that the configuration module for configuring the first object application program port configuration information is sent
The port configuration information of application program.
7. method according to claim 5 or 6, which is characterized in that the method also includes: it saves the first object and answers
With the port configuration information of program.
8. according to the method described in claim 4, it is characterized in that, the port configuration information includes: port-mark and port
Protocol format;
The port configuration information based on the first object application program, assembly are generated and are answered for waking up the first object
With the wake request of program, comprising:
Utilize the port-mark, the Port Profile format and the unification of the first object application program that obtains in advance
Resource Locator URL address, assembly generate the wake request for waking up the first object application program.
9. the method according to claim 1, wherein the method also includes:
Obtain the port configuration information for starting the second destination application port listening service;
Start the port listening service of second destination application based on the port configuration information got;
Receive the wake request for waking up second destination application;
Based on the wake request, start second destination application, and opens in second destination application
Target pages.
10. a kind of awakening method of application program, which is characterized in that the described method includes:
Obtain the port configuration information for starting first object application program port listening service;
Start the port listening service of the first object application program based on the port configuration information got;
Receive the wake request for waking up the first object application program;
Based on the wake request, start the first object application program, and opens in the first object application program
Target pages.
11. according to the method described in claim 10, it is characterized in that, the port configuration information includes Port Profile format;
It is described to be based on the wake request, start the first object application program, and open the first object application program
In target pages, comprising:
When determining the wake request is the wake request based on the Port Profile format, it is based on the wake request, is opened
The first object application program is moved, and opens the target pages in the first object application program.
12. according to the method described in claim 10, it is characterized in that, described be based on the wake request, starting described first
Destination application, and open the target pages in the first object application program, comprising:
Uniform resource position mark URL address is parsed from the wake request;
The corresponding application program in the address URL described in the URL address start is accessed, and opens the page of the address the URL mark.
13. according to the method described in claim 10, it is characterized in that, the method also includes:
Receive the information acquisition request for obtaining the attribute information of the first object application program;
In response to the information acquisition request, the attribute information of the first object application program is returned.
14. according to the method described in claim 10, it is characterized in that, the acquisition is for starting first object application program end
Mouth monitors the port configuration information of service, comprising:
Receive the first object that the configuration module for configuring the first object application program port configuration information is sent
The port configuration information of application program.
15. according to the method described in claim 10, it is characterized in that, the port configuration information, comprising: current for identifying
The timestamp information of port configuration information version;
The method also includes: in the port configuration information for determining the first object application program based on the timestamp information
When failure, the port configuration information for starting the first object application program port listening service is reacquired.
16. according to the method described in claim 10, it is characterized in that, the method also includes:
Terminal where to the second destination application is sent for detecting whether second destination application starts port prison
Listen the request message of service;
Receive that the terminal returns for the request message response message when, determine the second target application journey
Sequence has been turned on port listening service, and terminal sends wake request where the second destination application of Xiang Suoshu, to wake up described the
Two destination applications.
17. a kind of Rouser of application program, which is characterized in that described device includes:
Sending module, for being for detecting the first object application program to terminal transmission where first object application program
The request message of no starting port listening service;
Wake-up module, for when receiving the response message for being directed to the request message that the terminal returns, described in determination
First object application program has been turned on port listening service, and terminal where Xiang Suoshu first object application program sends to wake up and ask
It asks, to wake up the first object application program.
18. a kind of Rouser of application program, which is characterized in that described device includes:
Module is obtained, for obtaining the port configuration information for starting first object application program port listening service;
Port listening service starting module, for starting the first object application program based on the port configuration information got
Port listening service;
Receiving module, for receiving the wake request for waking up the first object application program;
Start the first object application program, and open described first for being based on the wake request using wake-up module
Target pages in destination application.
19. a kind of wake-up terminal of application program, which is characterized in that including memory and processor;The memory is for storing up
There is executable program code;The processor is for reading the executable program code stored in the memory with right of execution
Benefit requires method described in any one of 1-9.
20. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating
Machine program instruction realizes method as claimed in any one of claims 1-9 wherein when being executed by processor.
21. a kind of wake-up terminal of application program, which is characterized in that including memory and processor;The memory is for storing up
There is executable program code;The processor is for reading the executable program code stored in the memory with right of execution
Benefit requires method described in any one of 10-16.
22. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating
The method as described in any one of claim 10-16 is realized when machine program instruction is executed by processor.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810235643.2A CN110297663B (en) | 2018-03-21 | 2018-03-21 | Application program awakening method, device, terminal and medium |
TW107140745A TW201941576A (en) | 2018-03-21 | 2018-11-16 | Application program wake-up method and device, terminal and medium |
PCT/CN2019/077748 WO2019179329A1 (en) | 2018-03-21 | 2019-03-12 | Application program wake-up method and device, terminal and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810235643.2A CN110297663B (en) | 2018-03-21 | 2018-03-21 | Application program awakening method, device, terminal and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110297663A true CN110297663A (en) | 2019-10-01 |
CN110297663B CN110297663B (en) | 2022-10-04 |
Family
ID=67988131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810235643.2A Active CN110297663B (en) | 2018-03-21 | 2018-03-21 | Application program awakening method, device, terminal and medium |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN110297663B (en) |
TW (1) | TW201941576A (en) |
WO (1) | WO2019179329A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433836A (en) * | 2020-11-23 | 2021-03-02 | 杭州涂鸦信息技术有限公司 | Automatic application program awakening method and device and computer equipment |
CN113986379A (en) * | 2021-10-26 | 2022-01-28 | 北京字节跳动网络技术有限公司 | Application starting method and device, computer equipment and storage medium |
CN115460554A (en) * | 2022-08-25 | 2022-12-09 | 拉扎斯网络科技(上海)有限公司 | Application program awakening method, device and system |
WO2023138101A1 (en) * | 2022-01-19 | 2023-07-27 | 苏州浪潮智能科技有限公司 | Wake-on-lan method and computer device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7065768B1 (en) * | 2002-07-16 | 2006-06-20 | Unisys Corporation | Servicing method for script monitor COM object |
US20100031139A1 (en) * | 2006-12-25 | 2010-02-04 | Access Co., Ltd | Network system |
US7752292B1 (en) * | 2007-11-30 | 2010-07-06 | Sprint Communications Company L.P. | System and method for provisioning personalized data into mobile device |
CN102981812A (en) * | 2011-09-07 | 2013-03-20 | 深圳市金蝶中间件有限公司 | Manner of execution and device of webpage scripting language |
CN103064391A (en) * | 2012-12-28 | 2013-04-24 | 广州数控设备有限公司 | Numerical control system long-distance direct numerical control (DNC) control method based on transmission control protocol (TCP) / internet protocol (IP) and linux network program |
CN104468592A (en) * | 2014-12-12 | 2015-03-25 | 北京百度网讯科技有限公司 | Login method and system |
CN105094862A (en) * | 2014-05-07 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method for detecting whether application program is installed or not and browser |
CN105871976A (en) * | 2015-11-24 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Data cross-domain request method and system, and devices |
CN106899455A (en) * | 2017-03-07 | 2017-06-27 | 广州优视网络科技有限公司 | The method and apparatus that a kind of client is interacted with webpage |
CN107092534A (en) * | 2017-04-22 | 2017-08-25 | 李虎 | A kind of web site calls the method and device of local program |
CN107463453A (en) * | 2017-08-10 | 2017-12-12 | 腾讯科技(深圳)有限公司 | Method, apparatus, equipment and the storage medium to be communicated between same terminal different application |
CN107659641A (en) * | 2017-09-22 | 2018-02-02 | 百度在线网络技术(北京)有限公司 | Web wakes up method, apparatus, server, equipment and the storage medium of client |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140129860A1 (en) * | 2012-11-06 | 2014-05-08 | Nokia Corporation | Method and apparatus for enabling mobile device power management using a shared worker |
CN103970577B (en) * | 2014-05-27 | 2016-07-13 | 合一网络技术(北京)有限公司 | The method and system that mobile appliance applications starts is aroused based on browser downloads |
CN106547569A (en) * | 2016-11-28 | 2017-03-29 | 武汉斗鱼网络科技有限公司 | A kind of page access method and apparatus in application |
-
2018
- 2018-03-21 CN CN201810235643.2A patent/CN110297663B/en active Active
- 2018-11-16 TW TW107140745A patent/TW201941576A/en unknown
-
2019
- 2019-03-12 WO PCT/CN2019/077748 patent/WO2019179329A1/en active Application Filing
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7065768B1 (en) * | 2002-07-16 | 2006-06-20 | Unisys Corporation | Servicing method for script monitor COM object |
US20100031139A1 (en) * | 2006-12-25 | 2010-02-04 | Access Co., Ltd | Network system |
US7752292B1 (en) * | 2007-11-30 | 2010-07-06 | Sprint Communications Company L.P. | System and method for provisioning personalized data into mobile device |
CN102981812A (en) * | 2011-09-07 | 2013-03-20 | 深圳市金蝶中间件有限公司 | Manner of execution and device of webpage scripting language |
CN103064391A (en) * | 2012-12-28 | 2013-04-24 | 广州数控设备有限公司 | Numerical control system long-distance direct numerical control (DNC) control method based on transmission control protocol (TCP) / internet protocol (IP) and linux network program |
CN105094862A (en) * | 2014-05-07 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method for detecting whether application program is installed or not and browser |
CN104468592A (en) * | 2014-12-12 | 2015-03-25 | 北京百度网讯科技有限公司 | Login method and system |
CN105871976A (en) * | 2015-11-24 | 2016-08-17 | 乐视体育文化产业发展(北京)有限公司 | Data cross-domain request method and system, and devices |
CN106899455A (en) * | 2017-03-07 | 2017-06-27 | 广州优视网络科技有限公司 | The method and apparatus that a kind of client is interacted with webpage |
CN107092534A (en) * | 2017-04-22 | 2017-08-25 | 李虎 | A kind of web site calls the method and device of local program |
CN107463453A (en) * | 2017-08-10 | 2017-12-12 | 腾讯科技(深圳)有限公司 | Method, apparatus, equipment and the storage medium to be communicated between same terminal different application |
CN107659641A (en) * | 2017-09-22 | 2018-02-02 | 百度在线网络技术(北京)有限公司 | Web wakes up method, apparatus, server, equipment and the storage medium of client |
Non-Patent Citations (3)
Title |
---|
WEIXI GU ET AL.: "《Sleep Hunter: Towards Fine Grained Sleep Stage Tracking with Smartphones》", 《 IEEE TRANSACTIONS ON MOBILE COMPUTING》 * |
刘燚: "《面向高并发服务请求的网络引擎的研究》", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 * |
姜毅等: "基于HTTP的实时信息传输方法", 《计算机工程与设计》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433836A (en) * | 2020-11-23 | 2021-03-02 | 杭州涂鸦信息技术有限公司 | Automatic application program awakening method and device and computer equipment |
CN113986379A (en) * | 2021-10-26 | 2022-01-28 | 北京字节跳动网络技术有限公司 | Application starting method and device, computer equipment and storage medium |
CN113986379B (en) * | 2021-10-26 | 2023-12-15 | 抖音视界有限公司 | Application starting method and device, computer equipment and storage medium |
WO2023138101A1 (en) * | 2022-01-19 | 2023-07-27 | 苏州浪潮智能科技有限公司 | Wake-on-lan method and computer device |
CN115460554A (en) * | 2022-08-25 | 2022-12-09 | 拉扎斯网络科技(上海)有限公司 | Application program awakening method, device and system |
Also Published As
Publication number | Publication date |
---|---|
TW201941576A (en) | 2019-10-16 |
WO2019179329A1 (en) | 2019-09-26 |
CN110297663B (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110297663A (en) | Awakening method, device, terminal and the medium of application program | |
CN109040316B (en) | HTTP service processing method and device | |
EP3179790B1 (en) | Method and apparatus for determining location of target portable device | |
EP3091721B1 (en) | Ims based call transfer between devices of the same subscriber | |
CN104077521B (en) | Information processing method and device | |
CN107463409A (en) | A kind of interface conversion method, interface convertor, storage medium and electric terminal | |
CN111767371A (en) | Intelligent question and answer method, device, equipment and medium | |
CN110457144A (en) | A kind of method, apparatus that realizing front end applications, medium and equipment | |
US20070220177A1 (en) | Declarations for transformations within service sequences | |
CN108322437B (en) | Adaptive communication method and device for multiple protocol devices | |
CN109766082A (en) | The method and apparatus that the application program page jumps | |
CN101727646A (en) | Alarm system and method thereof of network bank | |
CN113658591B (en) | Voice interaction adaptation system for intelligent home | |
CN103491175B (en) | Method and terminal for application program management | |
US20150200835A1 (en) | Method for providing status messaging service in electronic device and the electronic device thereof | |
CN103927303A (en) | Method and device for searching accounts | |
US11704157B2 (en) | Method and apparatus for comparing acquired cloud resource use information to thresholds to recommend a target cloud resource instance | |
US9600802B2 (en) | Method and apparatus for intelligence-oriented service using context information estimation in mobile terminal | |
Carlson et al. | Ambientweb: Bridging the web's cyber-physical gap | |
CN116881040A (en) | Service operation processing method and device, electronic device and storage medium | |
US10803861B2 (en) | Method and apparatus for identifying information | |
CN107643858A (en) | A kind of information processing method, terminal and server | |
CN109005163B (en) | HTTP dynamic request service calling method | |
CN110048865A (en) | A kind of bus data transmission method, device, electronic equipment and storage medium | |
CN113590986B (en) | Page link configuration method and device, electronic equipment and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |