CN107239311A - Using deployment method and device - Google Patents
Using deployment method and device Download PDFInfo
- Publication number
- CN107239311A CN107239311A CN201710427567.0A CN201710427567A CN107239311A CN 107239311 A CN107239311 A CN 107239311A CN 201710427567 A CN201710427567 A CN 201710427567A CN 107239311 A CN107239311 A CN 107239311A
- Authority
- CN
- China
- Prior art keywords
- app
- address
- mobile terminal
- wake
- current page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- 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
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses one kind application deployment method and device, it is related to WEB front-end technical field, detects whether that successfully passing link opens APP for realizing.This method includes:The page linked containing APP to be visited is pushed to browser of mobile terminal;When detecting the APP links in user's click current page, start detection timer, and the wake-up address in the APP configuration address is obtained according to the OS Type of APP links and the mobile terminal, the APP is opened according to wake-up address trial;Detect after timer expiry, judge whether current page loses focus, such as current page loses focus, then judge that the APP has been opened;Otherwise judge that the APP is unopened.The embodiment of the present application is applied to mobile terminal and opens APP by linking.
Description
Technical field
The application is related to network (web) front-end technology field, more particularly to a kind of application (Application, APP) is opened
Method and device.
Background technology
With the popularization of mobile terminal, the application APP of various mobile terminals arises at the historic moment, and user wishes to pass through sometimes
The browsing device net page of mobile terminal is downloaded or opened APP to APP.But it is due to that browser producer is numerous, some browsers
Do not support to open APP from webpage.When user uses above-mentioned browser, it is impossible to the APP for needing to access is opened from webpage, is used
Family experience is not good.
The content of the invention
Embodiments herein provides a kind of application deployment method and device, detects whether to successfully pass link for realizing
Open APP.
To reach above-mentioned purpose, embodiments herein is adopted the following technical scheme that:
First aspect includes there is provided one kind application deployment method, this method:
The page linked containing APP to be visited is pushed to browser of mobile terminal;
When detecting the APP links in user's click current page, start detection timer, and link according to the APP
And the OS Type of the mobile terminal obtains the wake-up address in the APP configuration address, according to the wake-up address
Attempt to open the APP;
Detect after timer expiry, judge whether current page loses focus, such as current page loses focus, then judges institute
APP is stated to be opened;Otherwise judge that the APP is unopened.
Second aspect there is provided one kind application device for opening, including:
Push unit, for pushing the page linked containing APP to be visited to browser of mobile terminal;
Detection unit, when clicking on the APP links in current page for detecting user, starts detection timer, and root
The wake-up address in APP configuration address is obtained according to the OS Type of APP links and the mobile terminal, according to institute
Wake-up address is stated to attempt to open the APP;
Judging unit, for detecting after timer expiry, judges whether current page loses focus, such as current page loses
Focus, then judge that the APP has been opened;Otherwise judge that the APP is unopened.
Application deployment method and device that embodiments herein is provided, are pushed containing to be visited to browser of mobile terminal
The page of APP links;When detecting the APP links in user's click current page, start detection timer, and according to APP chains
Connect and mobile terminal OS Type obtain APP configuration address in wake-up address, according to wake up address attempt open
APP;Detect after timer expiry, judge whether current page loses focus, such as current page loses focus, then judges APP
Through being opened;Otherwise judge that APP is unopened.The program of solving can not know whether to open APP and can not continue next step behaviour
The problem of making, has provided the user more preferably Consumer's Experience.The method has detection accurate, the good advantage of Consumer's Experience.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the accompanying drawing used required in technology description to be briefly described.
A kind of schematic flow sheet for application deployment method that Fig. 1 provides for embodiments herein;
The schematic flow sheet for another application deployment method that Fig. 2 provides for embodiments herein;
Fig. 3 does not support the schematic diagram of the OS Type of mobile terminal for the prompting that embodiments herein is provided;
The structural representation for the application device for opening that Fig. 4 provides for embodiments herein.
Embodiment
Below in conjunction with the accompanying drawings, embodiments herein is described.
Embodiment 1,
The embodiment of the present application provides one kind application deployment method, and shown in reference picture 1, this method includes:
S101, the page linked to browser of mobile terminal push containing APP to be visited.
The embodiment of the present application, which pushes the mode containing the APP to be visited pages linked, to be included:It is wireless in mobile terminal connection
The page linked containing APP to be visited is pushed by portal after fidelity (Wireless Fidelity, WIFI) network;Or
After mobile terminal user scans Quick Response Code push the page linked containing APP to be visited;It can also be that mobile terminal is used
Family is behind address field input page address or link, and the http request that response browser is initiated, which is pushed, contains APP chains to be visited
The page connect.
User browser is opened after the page linked containing APP to be visited, and APP icon links or text are clicked in webpage
Word is linked, for opening the APP.
When S102, the APP detected in user's click current page are linked, start detection timer, and link according to APP
And the OS Type of mobile terminal obtains the wake-up address in APP configuration address, attempt to open institute according to address is waken up
State APP.
APP links correspond to different configuration address according to different OS Types, and configuration address includes waking up ground
Location and download address, its APP that can configure mobile terminal in management backstage by configuration module are obtained so that mobile terminal can
With the wake-up address according to OS Type automatic detection APP and download address.Above address all iOS of support configuration simultaneously,
The OS Types such as Android, Windows Phone.Configuration module can be supported to configure several operation systems type simultaneously
The download address of mobile terminal and wake-up address.
Waking up address is used to open the APP in mobile terminal.Download address is used to download the APP from remote server.
After S103, detection timer expiry, judge whether current page loses focus, such as current page loses focus, then
Judge that APP has been opened;Otherwise judge that APP is unopened.
If it is determined that APP has been opened, timer can be deleted.
Optionally, shown in reference picture 2, in being linked according to APP described in step S102 and the operation system of mobile terminal
Type of uniting is obtained before the wake-up address in APP configuration address, and this method also includes:
S104, the user agent's attribute (userAgent) and platform properties for obtaining current page place browser
(platform) OS Type of mobile terminal, is obtained according to user agent's attribute and platform properties.
The browser mark of browser where user agent's attribute (userAgent) refers to current page.Platform properties
(platform) the currently supported OS Type of the browser is referred to.This design provides a kind of behaviour for obtaining mobile terminal
Make the specific method of system type.
Optionally, shown in reference picture 2, this method also includes:
If S105, the wake-up address in APP configuration address can not be obtained, point out not support the operation of mobile terminal
System type.
The situation of the wake-up address wake-up address that can not be obtained in APP configuration address is not configured or configuration error.
Exemplary, shown in reference picture 3, the mode of prompting can be in the way of pop-up dialogue box 20.The design to use
Family can know whether the APP links that current browser is shown support the OS Type of current mobile terminal.
Optionally, shown in reference picture 2, this method also includes:
S106, when judging that APP is unopened, then according to download address download APP.
The design achieves can download the APP when that can not open APP.
Optionally, shown in reference picture 2, this method also includes:
If S107, the wake-up address in the configuration address of the APP can not be obtained, APP is downloaded according to download address.
When causing not including wherein wake-up address the design achieves reasons such as configuration address configuration errors, this can be downloaded
APP。
The application deployment method that embodiments herein is provided, by being pushed to browser of mobile terminal containing to be visited
The page of APP links;When detecting the APP links in user's click current page, start detection timer, and according to APP chains
Connect and mobile terminal OS Type obtain APP configuration address in wake-up address, according to wake up address attempt open
APP;Detect after timer expiry, judge whether current page loses focus, such as current page loses focus, then judges APP
Through being opened;Otherwise judge that APP is unopened.The program of solving can not know whether to open APP and can not continue next step behaviour
The problem of making, has provided the user more preferably Consumer's Experience.The method has detection accurate, the good advantage of Consumer's Experience.
Embodiment 2,
The embodiment of the present application provides one kind application device for opening, applied to the above method, shown in reference picture 3, should answer
Included with device for opening 100:
Push unit 101, for pushing the page linked containing APP to be visited to browser of mobile terminal.
Detection unit 102, when clicking on the APP links in current page for detecting user, starts detection timer, and
The wake-up address in APP configuration address is obtained according to the OS Type of APP links and the mobile terminal, according to
Attempt to open the APP in the wake-up address.
Judging unit 103, for detecting after timer expiry, judges whether current page loses focus, such as current page
Focus is lost, then judges that APP has been opened;Otherwise judge that APP is unopened.
In a kind of possible design, also include acquiring unit 104 using device for opening, in detection unit 102
Before the wake-up address in the OS Type acquisition APP configuration address of APP links and mobile terminal, current page is obtained
The user agent's attribute and platform properties of browser where face, mobile terminal is obtained according to user agent's attribute and platform properties
OS Type.
In a kind of possible design, also include Tip element 105 using device for opening 100, if for acquiring unit
102 can not obtain the wake-up address in APP configuration address, then point out not supporting the OS Type of the mobile terminal.
In a kind of possible design, download address is also included in configuration address, also includes downloading using device for opening 100
Unit 106, for when judging unit 103 judges that APP is unopened, then downloading APP according to download address.
In a kind of possible design, download address is also included in configuration address, also includes downloading using device for opening 100
Unit 106, if the wake-up address in configuration address for that can not obtain the APP, APP is downloaded according to download address.
Because the application device for opening in the embodiment of the present application can apply to the above method, therefore, it can be obtained
Technique effect also refers to above method embodiment, and the embodiment of the present application will not be repeated here.
It should be noted that push unit, detection unit, acquiring unit, judging unit, Tip element, download unit can
Think the processor individually set up, can also be integrated in some processor of controller and realize, in addition it is also possible to program
The form of code is stored in the memory of controller, is called by some processor of controller and is performed above detection list
Member, the function of judging unit.Processor described here can be a central processing unit (Central Processing
Unit, CPU), or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or
Person is arranged to implement one or more integrated circuits of the embodiment of the present application.
It should be understood that in the various embodiments of the application, the size of the sequence number of above-mentioned each process is not meant to that execution is suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of reply the embodiment of the present application
Process constitutes any limit.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed system, apparatus and method
Realize by another way.For example, apparatus embodiments described above are only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of equipment or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
In the above-described embodiments, it can come real wholly or partly by software, hardware, firmware or its any combination
It is existing.When being realized using software program, it can realize in the form of a computer program product whole or in part.The computer
Program product includes one or more computer instructions.On computers load and perform computer program instructions when, all or
Partly produce according to the flow or function described in the embodiment of the present application.The computer can be all-purpose computer, special meter
Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer-readable recording medium
In, or the transmission from a computer-readable recording medium to another computer-readable recording medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from web-site, computer, server or data center
Word user line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave) mode to another
Individual web-site, computer, server or data center are transmitted.The computer-readable recording medium can be computer
Any usable medium that can be accessed either can use the numbers such as medium integrated server, data center comprising one or more
According to storage device.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD),
Or semiconductor medium (such as solid state hard disc (Solid State Disk, SSD)) etc..
It is described above, the only embodiment of the application, but the protection domain of the application is not limited thereto, and it is any
Those familiar with the art can readily occur in change or replacement in the technical scope that the application is disclosed, and should all contain
Cover within the protection domain of the application.Therefore, the protection domain of the application should be based on the protection scope of the described claims.
Claims (10)
1. one kind application deployment method, it is characterised in that including:
The page linked containing APP to be visited is pushed to browser of mobile terminal;
Detect user click on current page in APP link when, start detection timer, and according to the APP link and
The OS Type of the mobile terminal obtains the wake-up address in APP configuration address, is attempted to beat according to the wake-up address
Open the APP;
Detect after timer expiry, judge whether current page loses focus, such as current page loses focus, then judge described
APP has been opened;Otherwise judge that the APP is unopened.
2. according to the method described in claim 1, it is characterised in that it is described and linked according to APP and mobile terminal behaviour
Make before the wake-up address that system type is obtained in APP configuration address, methods described also includes:
The user agent's attribute and platform properties of browser where obtaining current page, according to user agent's attribute and described
Platform properties obtain the OS Type of the mobile terminal.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
If the wake-up address in the configuration address of the APP can not be obtained, point out not support the operation of the mobile terminal
System type.
4. according to the method described in claim 1, it is characterised in that also include download address, the side in the configuration address
Method also includes:
When judging that the APP is unopened, then the APP is downloaded according to the download address.
5. the method according to claim any one of 1-4, it is characterised in that also include downloading ground in the configuration address
Location, methods described also includes:
If the wake-up address in the configuration address of the APP can not be obtained, the APP is downloaded according to the download address.
6. one kind application device for opening, it is characterised in that including:
Push unit, for pushing the page linked containing APP to be visited to browser of mobile terminal;
Detection unit, when clicking on the APP links in current page for detecting user, starts detection timer, and according to institute
The wake-up address in the OS Type acquisition APP configuration address of APP links and the mobile terminal is stated, is called out according to described
The APP is opened in address trial of waking up;
Judging unit, for detecting after timer expiry, judges whether current page loses focus, such as current page loses Jiao
Point, then judge that the APP has been opened;Otherwise judge that the APP is unopened.
7. application device for opening according to claim 6, it is characterised in that the mobile terminal also includes acquiring unit,
It is additionally operable to be linked according to APP in the detection unit and the OS Type of mobile terminal is obtained in APP configuration address
Wake up before address, the user agent's attribute and platform properties of current page place browser are obtained, according to the user agent
Attribute and the platform properties obtain the OS Type of the mobile terminal.
8. application device for opening according to claim 6, it is characterised in that the mobile terminal also includes Tip element,
If the wake-up address in the configuration address of the APP can not be obtained for the acquiring unit, point out not support the shifting
The OS Type of dynamic terminal.
9. application device for opening according to claim 6, it is characterised in that also include downloading ground in the configuration address
Location, the mobile terminal also includes download unit, for when the judging unit judges that the APP is unopened, then basis
The download address downloads the APP.
10. the application device for opening according to claim any one of 6-9, it is characterised in that also wrapped in the configuration address
Download address is included, the mobile terminal also includes download unit, if calling out in the configuration address for the APP can not to be obtained
Awake address, then download the APP according to the download address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710427567.0A CN107239311A (en) | 2017-06-08 | 2017-06-08 | Using deployment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710427567.0A CN107239311A (en) | 2017-06-08 | 2017-06-08 | Using deployment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107239311A true CN107239311A (en) | 2017-10-10 |
Family
ID=59986179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710427567.0A Pending CN107239311A (en) | 2017-06-08 | 2017-06-08 | Using deployment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107239311A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370804A (en) * | 2017-07-11 | 2017-11-21 | 腾讯科技(深圳)有限公司 | Software application treating method and apparatus |
CN107835454A (en) * | 2017-11-03 | 2018-03-23 | 青岛海信电器股份有限公司 | Timeout treatment method, apparatus and storage medium based on WebApp |
CN108021409A (en) * | 2017-12-05 | 2018-05-11 | 广州市千钧网络科技有限公司 | A kind of APP business scene restoring method and system |
CN108133137A (en) * | 2017-12-13 | 2018-06-08 | 北京奇虎科技有限公司 | Interface safety detection method and device in intelligent terminal |
CN109840113A (en) * | 2017-11-27 | 2019-06-04 | 腾讯科技(深圳)有限公司 | A kind of application data processing method and its equipment, storage medium, terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571826A (en) * | 2010-12-07 | 2012-07-11 | 中国电信股份有限公司 | Method for pushing application from network platform to client side and system adopting same |
CN103475720A (en) * | 2013-09-12 | 2013-12-25 | 世纪龙信息网络有限责任公司 | Application push method and system of intelligent terminal |
CN103501481A (en) * | 2013-09-13 | 2014-01-08 | 北京赢销通软件技术有限公司 | Information propaganda pushing method and pushing device thereof based on wireless network |
CN103810033A (en) * | 2012-11-15 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method and device for detecting starting of application program |
-
2017
- 2017-06-08 CN CN201710427567.0A patent/CN107239311A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571826A (en) * | 2010-12-07 | 2012-07-11 | 中国电信股份有限公司 | Method for pushing application from network platform to client side and system adopting same |
CN103810033A (en) * | 2012-11-15 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method and device for detecting starting of application program |
CN103475720A (en) * | 2013-09-12 | 2013-12-25 | 世纪龙信息网络有限责任公司 | Application push method and system of intelligent terminal |
CN103501481A (en) * | 2013-09-13 | 2014-01-08 | 北京赢销通软件技术有限公司 | Information propaganda pushing method and pushing device thereof based on wireless network |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370804A (en) * | 2017-07-11 | 2017-11-21 | 腾讯科技(深圳)有限公司 | Software application treating method and apparatus |
CN107835454A (en) * | 2017-11-03 | 2018-03-23 | 青岛海信电器股份有限公司 | Timeout treatment method, apparatus and storage medium based on WebApp |
CN107835454B (en) * | 2017-11-03 | 2020-04-17 | 青岛海信电器股份有限公司 | WebApp-based timeout processing method and device and storage medium |
CN109840113A (en) * | 2017-11-27 | 2019-06-04 | 腾讯科技(深圳)有限公司 | A kind of application data processing method and its equipment, storage medium, terminal |
CN108021409A (en) * | 2017-12-05 | 2018-05-11 | 广州市千钧网络科技有限公司 | A kind of APP business scene restoring method and system |
CN108021409B (en) * | 2017-12-05 | 2021-03-23 | 广州市千钧网络科技有限公司 | APP service scenario restoration method and system |
CN108133137A (en) * | 2017-12-13 | 2018-06-08 | 北京奇虎科技有限公司 | Interface safety detection method and device in intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107239311A (en) | Using deployment method and device | |
CN106326104B (en) | Terminal control testing method and device | |
CN105446750B (en) | The method and apparatus that WebApp starting runs, generates image file | |
CN103810176B (en) | A kind of info web prefetches access method and device | |
CN108255993A (en) | Extract method, apparatus, electronic equipment and the storage medium of service fields | |
CN103914302A (en) | Webpage loading progress monitoring method and webpage loading progress monitoring device | |
CN107832100A (en) | A kind of loading method and its terminal of APK plug-in units | |
CN109062626A (en) | Exchange method, device and the equipment of Web page component and Native component | |
CN107220066B (en) | Method and device for releasing application software in application store | |
CN105100144B (en) | Update the method and device of application | |
CN104504060A (en) | File downloading method in browser, browser client side and device | |
CN110286922A (en) | Using downloading updating method, device, computer equipment and storage medium | |
CN107644075B (en) | Method and device for collecting page information | |
CN106897162B (en) | Communication mode selection method of component in application, communication system and mobile terminal | |
CN108280174A (en) | Front end file construction method and server, page access method and terminal | |
CN105786636B (en) | A kind of system repair and device | |
CN109240756A (en) | A kind of method and device of dynamically load JavaScript module | |
CN102750285B (en) | system and method for providing offline browsing | |
CN104361098A (en) | Method applied to customization of nodes in topological graph of cloud system | |
CN112463398B (en) | File transmission method, device, terminal equipment and storage medium | |
CN104461509A (en) | Information interaction framework and method | |
CN104350476B (en) | A kind of version detection period control method and device | |
CN106528199A (en) | Method and terminal for updating automobile instrument panel system | |
CN110244986A (en) | Browser configuration method and device | |
CN104239333B (en) | Carry out the method and terminal device of browser Web side navigation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171010 |