CN105159787B - A kind of webpage action processing method and device - Google Patents

A kind of webpage action processing method and device Download PDF

Info

Publication number
CN105159787B
CN105159787B CN201510504444.3A CN201510504444A CN105159787B CN 105159787 B CN105159787 B CN 105159787B CN 201510504444 A CN201510504444 A CN 201510504444A CN 105159787 B CN105159787 B CN 105159787B
Authority
CN
China
Prior art keywords
webpage
applications client
client
action
calling
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.)
Active
Application number
CN201510504444.3A
Other languages
Chinese (zh)
Other versions
CN105159787A (en
Inventor
莫文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510504444.3A priority Critical patent/CN105159787B/en
Publication of CN105159787A publication Critical patent/CN105159787A/en
Application granted granted Critical
Publication of CN105159787B publication Critical patent/CN105159787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of webpage action processing method and devices.Wherein the method includes:When listening to the webpage for attempting to call applications client action, the broadcast of the applications client is directed to by sub-pages tag triggers, wherein the sub-pages label is created for the webpage action for attempting calling applications client in webpage;And if receiving response of the applications client to the broadcast, call the applications client.

Description

A kind of webpage action processing method and device
Technical field
The present invention relates to Web Page Processing fields, more particularly to webpage action processing method and device.
Background technology
Since business needs, it is often necessary to call answer corresponding with the business in the webpage shown on the mobile apparatus Use client.But before calling, in this case it is not apparent that whether the mobile device has been mounted with this applications client.Therefore, In existing calling process, needs to pop up webpage prompting frame first, user is allowed to choose whether to be mounted with client.If with Family selection has been installed, then the external tasks agreement tune of mobile client is called to play client;If user's selection is fitted without, It then jumps to and downloads page-downloading client and installed.In this existing calling process, pop-up selection prompt is needed Frame, this causes to perplex to user.User may not determine whether to be mounted with this applications client, and careful user can It can be browsed to determine whether to install, this will seriously reduce efficiency and influence user experience, and less careful user Or the user remembered wrongly may then select to have installed by force or uninstalled option is wanted or can cause faulty operation in this way It can cause system resource and the serious waste of Internet resources.
Invention content
In order to solve the above-mentioned problems in the prior art, the present invention proposes a kind of webpage action processing method and dress It sets.
According to an aspect of the present invention, it proposes a kind of webpage action processing methods.The webpage action processing method packet It includes:When listening to the webpage for attempting to call applications client action, the application client is directed to by sub-pages tag triggers The broadcast at end, wherein the sub-pages label is created for the webpage action for attempting calling applications client in webpage; And if receiving response of the applications client to the broadcast, call the applications client.
Preferably, the method further includes:If it exceeds the predetermined time is not received by the response, then client is jumped to Download the page in end.
Preferably, described to attempt to call the webpage action of applications client to be to click the link for being directed to calling applications client Or enter comprising the webpage for the link for calling applications client.
Preferably, it is to enter the feelings for including the webpage for the link for calling applications client in webpage action In condition, triggered to the chain by web document object model (DOM) application programming interfaces when listening to the webpage action Tap into capable click.
Preferably, described for the link direction client downloads page for calling applications client.
Preferably, the chained address of the sub-pages label is the external tasks protocol link address of client.
According to another aspect of the present invention, it is also proposed that a kind of webpage action processing unit.The webpage acts processing unit Including:Broadcaster, for when listening to the webpage for attempting to call applications client action, passing through sub-pages tag triggers needle Broadcast to the applications client, wherein the sub-pages label is to be directed to the net for attempting to call applications client in webpage Page action creates;And calling device, under conditions of receiving response of the applications client to the broadcast Call the applications client.
By using webpage action processing unit proposed by the invention and method so that user is using mobile device net When page calls client, client can have been lowered the case where being mounted with particular clients without pop-up choice box, and Client downloads page is jumped in the case of being fitted without specific client.Solves the above-described prior art as a result, The problems in.
Description of the drawings
Fig. 1 shows the flow chart of webpage action processing method according to an embodiment of the present;
Fig. 2 shows the structure diagrams that webpage according to an embodiment of the present acts processing unit.
Specific implementation mode
The present invention is specifically described below with reference to attached drawing.
First, Fig. 1 shows the flow chart of webpage action processing method 100 according to an embodiment of the present.Institute It states webpage action processing method 100 and starts from step S110, in step s 110, attempt to call applications client when listening to When webpage acts, by sub-pages label (that is, iframe) triggering for the broadcast of the applications client, wherein the subnet Page label is created for the webpage action for attempting calling applications client in webpage.Then, in the step s 120, if Response of the applications client to the broadcast is received, then calls the applications client.
In step s 110, it when listening to the webpage for attempting to call applications client action, is touched by sub-pages label Broadcast of the hairpin to the applications client.Wherein, the webpage for attempting calling applications client, which acts, to be:Point firing pin To calling the link of applications client;Or enter comprising the webpage for the link for calling applications client.
The sub-pages label is created for the webpage action for attempting calling applications client in webpage.Specifically Ground, the sub-pages label can be after entering the Web page and detecting the link for calling applications client, in net It is automatically created in page.Alternatively, the sub-pages label can be for described when webpage (female webpage) is created for tune It is pre-created with the link of applications client.
Preferably, it is to enter the feelings for including the webpage for the link for calling applications client in webpage action In condition, triggered to the chain by web document object model (DOM) application programming interfaces when listening to the webpage action Tap into capable click.
Preferably, described for the link direction client downloads page for calling applications client.
In the step s 120, if receiving response of the applications client to the broadcast, the application is called Client.Wherein, if the applications client receives the broadcast, which is responded, is set with instruction movement It is mounted with involved applications client for upper.Only when receiving the response, just determine that mobile device has been pacified The applications client has been filled, and the applications client has been called.
It is on the contrary, it is preferable that be called if it exceeds the predetermined time still without the response is received, then jumps to described be directed to The page that the link of applications client is directed toward, is preferably the client downloads page.Wherein, if in the given time still without Receive the broadcast, it is determined that involved applications client is fitted without in mobile device.At this point, jumping directly to described The pointed page of link, and do not pop up prompting frame and user is inquired.
Preferably, the chained address of the sub-pages label is the external tasks protocol link address of client.
Preferably, the operation S110 and S120 in above method 100 is the Web page module or web application in mobile device It realizes.
Next, Fig. 2 shows the structural frames that webpage according to an embodiment of the present acts processing unit 200 Figure.The webpage action processing unit 200 includes broadcaster 210 and calling device 220.The broadcaster 210 is for working as When listening to the webpage action for attempting to call applications client, by sub-pages tag triggers for the wide of the applications client It broadcasts, wherein the sub-pages label is created for the webpage action for attempting calling applications client in webpage.The tune It is used to call the application client under conditions of receiving response of the applications client to the broadcast with device 220 End.
It is corresponding with above-mentioned webpage action processing method 100 that the webpage acts processing unit 200.Above to method 100 It specifically describes and explanation is equally applicable to device 200, details are not described herein.
Although having been combined the preferred embodiment of the present invention above shows that the present invention, those skilled in the art will It will be appreciated that without departing from the spirit and scope of the present invention, can carry out various modifications, replace and change to the present invention Become.Therefore, the present invention should not be limited by above-described embodiment, and should be limited by appended claims and its equivalent.

Claims (7)

1. a kind of webpage action processing method, including:
When listening to the webpage for attempting to call applications client action, the application client is directed to by sub-pages tag triggers The broadcast at end, wherein the sub-pages label is pre-created for the webpage action for attempting calling applications client in webpage 's;And
If receiving response of the applications client to the broadcast, the applications client is called.
2. according to the method described in claim 1, further including:
If it exceeds the predetermined time is not received by the response, then the client downloads page is jumped to.
3. according to the method described in claim 1, wherein:
It is described attempt call applications client webpage action be click for call applications client link or enter comprising The webpage for the link for calling applications client.
4. according to the method described in claim 3, wherein:
In the case of webpage action is to enter the webpage comprising the link for calling applications client, work as monitoring The link is clicked by the triggering of web document object model (DOM) application programming interfaces when being acted to the webpage.
5. according to the method described in claim 3, wherein:
The client downloads page is directed toward in the link for calling applications client.
6. according to the method described in claim 1, wherein:
The chained address of the sub-pages label is the external tasks protocol link address of client.
7. a kind of webpage acts processing unit, including:
Broadcaster, for when listening to the webpage for attempting to call applications client action, passing through sub-pages tag triggers needle Broadcast to the applications client, wherein the sub-pages label is to be directed to the net for attempting to call applications client in webpage Page action is pre-created;And
Calling device, for calling the application visitor under conditions of receiving response of the applications client to the broadcast Family end.
CN201510504444.3A 2015-08-17 2015-08-17 A kind of webpage action processing method and device Active CN105159787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510504444.3A CN105159787B (en) 2015-08-17 2015-08-17 A kind of webpage action processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510504444.3A CN105159787B (en) 2015-08-17 2015-08-17 A kind of webpage action processing method and device

Publications (2)

Publication Number Publication Date
CN105159787A CN105159787A (en) 2015-12-16
CN105159787B true CN105159787B (en) 2018-08-14

Family

ID=54800649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510504444.3A Active CN105159787B (en) 2015-08-17 2015-08-17 A kind of webpage action processing method and device

Country Status (1)

Country Link
CN (1) CN105159787B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202217B (en) * 2016-06-28 2019-12-03 北京金山安全软件有限公司 Webpage link access method and device and mobile terminal
CN108628860B (en) * 2017-03-15 2019-06-11 北京数聚鑫云信息技术有限公司 A kind of method and device of automatic acquisition web data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser
CN102393857A (en) * 2011-11-01 2012-03-28 中兴通讯股份有限公司 Method and system for local call based on web page
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898766B2 (en) * 2012-04-10 2014-11-25 Spotify Ab Systems and methods for controlling a local application through a web page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser
CN102393857A (en) * 2011-11-01 2012-03-28 中兴通讯股份有限公司 Method and system for local call based on web page
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
更新:通过浏览器直接打开Android应用程序;openlog;《http://www.360doc.com/content/15/0429/18/2459_466865782.shtml》;20150429;第1-3页 *

Also Published As

Publication number Publication date
CN105159787A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN106708899B (en) Automatic point burying method and device
CN110908879B (en) Reporting method, reporting device, reporting terminal and recording medium of buried point data
CN106250434B (en) Load the method and device of webpage
US9411573B2 (en) Testing framework for applications
CN109672580B (en) Full link monitoring method, device, terminal equipment and storage medium
CN102043919B (en) Universal vulnerability detection method and system based on script virtual machine
CN102419808A (en) Method, device and system for detecting safety of download link
US20150301873A1 (en) Method and system for expanding webapp application function
CN107943997B (en) Remote website evidence obtaining method based on Google browser, terminal device and storage medium
CN106933839B (en) Page jump method and device
CN103095762A (en) Web page cross-domain communication method and device
CN102790961A (en) Update method of application program, mobile terminal and server
CN104965723B (en) The operation method and device of application program
CN103473080A (en) Software installation method, terminal and software installation system
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN103024044A (en) Method and device for downloading web pages
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
CN103810033B (en) The method and apparatus that a kind of detection is started with program
CN105159787B (en) A kind of webpage action processing method and device
CN106843975B (en) Method and device for extending HTML5 application function
CN104537005A (en) Data processing method and device for webpage crawling
CN106599023A (en) Picture display optimization method and apparatus
CN104461829B (en) Calculating equipment optimization method and apparatus based on window application
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN104202432B (en) Remote web management system and management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant