CN104462478B - Realize method, apparatus and client that mobile browser client accesses the web page - Google Patents

Realize method, apparatus and client that mobile browser client accesses the web page Download PDF

Info

Publication number
CN104462478B
CN104462478B CN201410796006.4A CN201410796006A CN104462478B CN 104462478 B CN104462478 B CN 104462478B CN 201410796006 A CN201410796006 A CN 201410796006A CN 104462478 B CN104462478 B CN 104462478B
Authority
CN
China
Prior art keywords
application
browser client
sharing
calling
interface
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.)
Expired - Fee Related
Application number
CN201410796006.4A
Other languages
Chinese (zh)
Other versions
CN104462478A (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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410796006.4A priority Critical patent/CN104462478B/en
Publication of CN104462478A publication Critical patent/CN104462478A/en
Application granted granted Critical
Publication of CN104462478B publication Critical patent/CN104462478B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method, apparatus and client for realizing that mobile browser client accesses the web page.It is described this method comprises: in advance the corresponding calling interface of application plug-in in mobile browser client in setting and mobile browser client and/or with independently of browser client using corresponding calling interface;Receive the call request of the specified calling interface for the calling mobile browser client that the webpage side loaded in mobile browser client issues;The call request is sent to the application plug-in corresponding with the specified calling interface in mobile browser client to handle, and/or be sent to mobile browser client in the terminal it is corresponding with the specified calling interface independently of browser client application handled.Technical solution provided by the invention simplifies the operating process that user calls application or plug-in unit when browsing webpage, interactive experience that is more convenient to user, smooth, meeting demand.

Description

Realize method, apparatus and client that mobile browser client accesses the web page
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of to realize what mobile browser client accessed the web page Method, apparatus and mobile browser client.
Background technique
As the rapid development of development of Mobile Internet technology and the maturation of mobile device are universal, mobile Internet number of users day Benefit increases, and mobile device replaces PC to become the primary terminal that user carries out internet behavior, and the web page access behavior of user is from original The browser access based on PC come is gradually transformed into the access based on mobile browser client.User is in mobile browser visitor It when browsing webpage in the end of family, may empathize to contents such as web page elements in web page address, webpage, interest and demand, It needs that corresponding function is called to handle data, for example, function of search is called to scan for, payment function is called to carry out Payment calls speech identifying function to be identified, sharing function is called to share etc..
In the prior art, often to be called manually by user in mobile browser client with corresponding function Plug-in unit, alternatively, call the third-party application with corresponding function manually by user to realize the processing to the data in webpage, For example, user sees a picture when browsing webpage, it is desirable to share to the picture, in existing scheme, need user hand The dynamic plug-in unit with sharing function opened in mobile browser client needs to open third party manually and has sharing function Come the sharing for carrying out picture, whole process is time-consuming and laborious for the application of energy, and webpage side and mobile browser client have no close friend's Interactive process does not meet user demand.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of method, apparatus and mobile browser client for realizing that mobile browser client accesses the web page of problem.
According to one aspect of the present invention, a kind of method realizing mobile browser client and accessing the web page is provided, This method comprises: tune corresponding with the application plug-in in mobile browser client is arranged in mobile browser client in advance With interface and/or with independently of browser client using corresponding calling interface;Wherein, different application plug-in and difference Independently of browser client application respectively correspond different calling interfaces;It is loaded in reception mobile browser client The call request of the specified calling interface for the calling mobile browser client that webpage side issues;The call request is sent to Application plug-in corresponding with the specified calling interface in mobile browser client is handled, and/or, it is sent to movement Browser client the application independently of browser client corresponding with the specified calling interface in the terminal It is handled.
Optionally, the calling mobile browser client for receiving the webpage side loaded in mobile browser client and issuing The call request of the specified calling interface at end includes: that the JS function in the webpage for receiving and loading in mobile browser client issues Calling mobile browser client specified calling interface call request;Wherein, each calling interface is externally announced, The JS function is realized according to the respective calls interface externally announced.
Optionally, the calling mobile browser client for receiving the webpage side loaded in mobile browser client and issuing The call request of the specified calling interface at end includes: to receive the webpage side loaded in mobile browser client to use The call request of the specified calling interface for the calling mobile browser client that the transmitting of console.log method comes;Wherein, it calls Parameter of the particular content of request as console.log method.
Optionally, this method further comprises: the tune that the webpage side loaded in receiving mobile browser client issues After call request with the specified calling interface of mobile browser client, judge whether the webpage side meets preset rules; If met, the call request is sent to corresponding with the specified calling interface in mobile browser client by execution Application plug-in is handled, and/or, be sent to mobile browser client in the terminal with it is described it is specified calling connect The step of corresponding application independently of browser client of mouth is handled;If do not met, do not respond.
Optionally, the calling mobile browser client that the webpage side loaded in the mobile browser client issues The call request of specified calling interface is that the webpage side loaded in the dynamic browser client confirms current mobile browser visitor Family end, which meets, to be issued when preset rules.
Optionally, the calling interface corresponding with application plug-in in mobile browser client includes one in following Kind or it is a variety of: and it is the corresponding calling interface of search plug-in unit, calling interface corresponding with plug-in unit is paid, corresponding with speech recognition plug-in unit Calling interface and the corresponding calling interface of video playing plug-in unit, calling interface corresponding with audio player plug-in, with realize root According to the corresponding calling interface of plug-in unit, calling interface corresponding with email plug and camera function of address information load map Can the corresponding calling interface of plug-in unit calling interface corresponding with call function plug-in unit, call corresponding with SMS function plug-in unit connect Mouth and contact person add the corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared;
It is described with using corresponding calling interface include one of following or a variety of independently of browser client: with Search application corresponding calling interface with payment apply corresponding calling interface, calling interface corresponding with speech recognition application, And video playing plays the corresponding calling interface of application using corresponding calling interface, with audio and realizes according to address information Load map using corresponding calling interface and the corresponding calling interface of e-mail applications, tune corresponding with camera applications It is added using corresponding calling interface, with contact person using corresponding with interface and the corresponding calling interface of call applications, with short message Calling interface with can carry out sharing using corresponding calling interface;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends application, QQ control Part application, microblogging application, cloud disk application and Bluetooth transmission application.
Optionally, the calling mobile browser client for receiving the webpage side loaded in mobile browser client and issuing End specified calling interface call request and it is described by the call request be sent in mobile browser client with The corresponding application plug-in of the specified calling interface carries out processing
Receive the calling mobile browser client that the webpage side that loads issues in mobile browser client with share The call request of the corresponding calling interface of plug-in unit, the sharing plug-in unit call request being sent in mobile browser client It is handled.
Optionally, this method further comprises: the sharing plug-in unit in mobile browser client receives the call request Afterwards,
It obtains from the call request to sharing data;Generate dialog box and bullet comprising a variety of marks for sharing application Out, for selection by the user one can share application;Call user selection application sharing interface, will acquire to sharing data By calling the sharing interface to be shared.
It optionally, include: the mark for sharing application and an extension button of predetermined number in the dialog box;The party Method further comprises: when the extension button is triggered, popping up another includes carrying out for the system offer of mobile terminal The new dialog box of the mark of the other application of sharing.
Optionally, in the dialog box further include: realize the function key of replication link;This method further comprises: working as institute When stating function key and being triggered, web data to be shared is copied on the clipbook of mobile terminal system.
Optionally, the mark for the other application share that the system that another includes mobile terminal provides is popped up Before new dialog box, this method further comprises: to one sharings Action of system trigger of mobile terminal, reception system according to It can satisfy the list of application of sharing Action in the system that sharing Action is returned;Described answer is screened out according to preset strategy With the certain applications in list;Generate the new dialog box of the mark comprising the application in the list of application.
Optionally, in the sharing interface for the application for calling user's selection, what be will acquire passes through this point of calling to sharing data It enjoys before interface shared, this method further comprises: whether the mobile terminal where successively judging mobile browser has pacified The application is filled, whether user has logged in the application and whether user authorizes and share by the application;If being fitted without this Using, then jump to the webpage login page of the application, if this apply no corresponding webpage login page, prompt user Download the application;If user is not logged on, user is prompted to log in;If user's with no authorized is shared, prompt to use Whether family authorizes, and records authorization token if user's authorization;Only user logs in the application, and authorizes and shared by the application When, the sharing interface of the application for calling user's selection is just executed, what just be will acquire described in execution passes through to sharing data The step of calling the sharing interface to be shared.
Optionally, this method further comprises: if the application of user's choosing is no to provide sharing interface, by net to be shared Page data is sent to the application by Intent mode and is shared.
Optionally, this method further comprises: being shared using the different sharing interfaces provided, respectively according to different The different call methods of different sharing interfaces are called in customization in advance;
The sharing interface of the application for calling user's selection are as follows: the sharing interface using the application of user's selection is corresponding Call method calls the sharing interface.
Optionally, described after obtaining in the call request to sharing data, this method further comprises this method: Judgement it is described in sharing data whether include predetermined format data;If comprising further being shown in the dialog box The application of the predetermined format data can be handled;When the application for handling the predetermined format data in the dialog box is touched When hair, the data to the predetermined format in sharing data are sent to the application by Intent mode and carry out corresponding position Reason.
According to another aspect of the invention, a kind of dress realizing mobile browser client and accessing the web page is provided It sets, which includes:
Setting unit is inserted suitable for being arranged in mobile browser client in advance with the application in mobile browser client The corresponding calling interface of part and/or with independently of browser client using corresponding calling interface;Wherein, different application Plug-in unit and the different applications independently of browser client respectively correspond different calling interfaces;
Receiving unit, the calling mobile browser visitor issued suitable for receiving the webpage side loaded in mobile browser client The call request is sent to forward processing unit by the call request of the specified calling interface at family end;
Forward processing unit, suitable for by the call request be sent in mobile browser client with the specified tune Handled with the corresponding application plug-in of interface, and/or, be sent to mobile browser client in the terminal with institute The corresponding application independently of browser client of specified calling interface is stated to be handled.
Optionally, the receiving unit, suitable for receiving the JS function hair in the webpage loaded in mobile browser client The call request of the specified calling interface of calling mobile browser client out;
Wherein, each calling interface is externally announced, and the JS function is according to the respective calls interface externally announced It realizes.
Optionally, the receiving unit is used suitable for receiving the webpage side loaded in mobile browser client The call request of the specified calling interface for the calling mobile browser client that the transmitting of console.log method comes;Wherein, it calls Parameter of the particular content of request as console.log method.
Optionally, the receiving unit is further adapted for the webpage side loaded in receiving mobile browser client and sends out After the call request of the specified calling interface of calling mobile browser client out, it is default to judge whether the webpage side meets Regulation;If met, forward processing unit is sent the request to, if do not met, is not processed.
Optionally, the calling that the webpage side loaded in the received mobile browser client of the receiving unit issues is mobile The call request of the specified calling interface of browser client is that the webpage side confirmation loaded in the dynamic browser client is worked as Preceding mobile browser client meets to be issued when preset rules.
Optionally, the calling interface corresponding with the application plug-in in mobile browser client of the setting unit setting Including one of following or a variety of: and the corresponding calling interface of search plug-in unit, calling interface corresponding with plug-in unit is paid and language Sound identifies the corresponding calling interface of plug-in unit and the corresponding calling interface of video playing plug-in unit, tune corresponding with audio player plug-in With interface and realizes the corresponding calling interface of the plug-in unit of map, tune corresponding with email plug are loaded according to address information It is inserted with interface and the corresponding calling interface of camera function plug-in unit, calling interface corresponding with call function plug-in unit, with SMS function The corresponding calling interface of part and contact person add the corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared;
Setting unit setting with independently of browser client include in following using corresponding calling interface It is one or more: and search application corresponding calling interface, with payment application corresponding calling interface and speech recognition application Corresponding calling interface and video playing played using corresponding calling interface, with audio the corresponding calling interface of application, in fact Now according to address information load map using corresponding calling interface, calling interface corresponding with e-mail applications and phase Machine applied using the corresponding calling interface of corresponding calling interface and call applications, with short message corresponding calling interface, with contact People adds application corresponding calling interface and can carrying out and shares the corresponding calling interface of application;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends application, QQ control Part application, microblogging application, cloud disk application and Bluetooth transmission application.
Optionally, which further comprises: sharing bound cell;
The receiving unit, the calling mobile browsing issued suitable for receiving the webpage side loaded in mobile browser client The call request of the calling interface corresponding with bound cell is shared of device client, is sent to forward process list for the call request Member,
The forward processing unit, suitable for the sharing plug-in unit being sent to the call request in mobile browser client Unit is handled.
Optionally, the sharing bound cell includes:
Data acquisition module, suitable for obtaining from the call request that forward processing unit is sent to sharing data;
Dialog box module, suitable for generating the dialog box comprising a variety of marks for sharing application and pop-up, for user's choosing Application can be shared by selecting one;
Sharing module, the sharing interface of the application suitable for calling user's selection, what be will acquire passes through calling to sharing data The sharing interface is shared.
Optionally, include: in the dialog box of the dialog box module pop-up predetermined number the mark for sharing application and One extension button;
The dialog box module is further adapted for when the extension button is triggered, and it includes mobile whole for popping up another The new dialog box of the mark for the other application share that the system at end provides.
Optionally, in the dialog box of the dialog box module pop-up further include: realize the function key of replication link;
The dialog box module is further adapted for when the function key is triggered, and web data to be shared is replicated Onto the clipbook of mobile terminal system.
Optionally, the dialog box module is further adapted for before popping up the new dialog box, and what it is to mobile terminal is System triggers a sharing Action, can satisfy sharing Action in the system that reception system is returned according to sharing Action List of application;
The certain applications in the list of application are screened out according to preset strategy;
Generate the new dialog box of the mark comprising the application in the list of application.
Optionally, in the sharing interface for the application for calling user's selection, what be will acquire passes through this point of calling to sharing data It enjoys before interface shared,
Whether the sharing module, the mobile terminal where further successively judging mobile browser have been mounted with that this is answered The application whether has been logged in, user and whether user authorizes and shared by the application;If being fitted without the application, jump The webpage login page of the application is gone to, if this applies no corresponding webpage login page, prompts user to download this and answers With;If user is not logged on, user is prompted to log in;If user's with no authorized is shared, prompt the user whether to award Power records authorization token if user's authorization;Only user logs in the application, and authorization is applied by this when sharing, and is just held The sharing interface that the application of user's selection is called described in row, what just be will acquire described in execution passes through this point of calling to sharing data Enjoy the step of interface is shared.
Optionally, the sharing module is further adapted for providing sharing interface when the application of user's choosing is no, will be wait share Web data the application be sent to by Intent mode shared.
Optionally, the sharing bound cell further comprises: customized module, mentions suitable for being applied according to different sharing The different sharing interfaces supplied, the different call methods of different sharing interfaces are called in customization in advance respectively;
The sharing module, the sharing interface of the application suitable for being selected using user corresponding call method call this point Enjoy interface.
Optionally, the sharing bound cell further comprises: judgment module, described to be in sharing data suitable for judging The no data comprising predetermined format;
The dialog box module further exists when suitable for judging the data comprising predetermined format in the judgment module Display can handle the application of the predetermined format data in the dialog box;
The sharing module is further adapted for when the application quilt for handling the predetermined format data in the dialog box When triggering, the data to the predetermined format in sharing data are sent to the application by Intent mode and carry out corresponding position Reason.
Another aspect according to the present invention provides a kind of mobile browser client, the mobile browser client Including as above described in any item devices realizing mobile browser client and accessing the web page.
It can be seen from the above, the call request that technical solution provided by the invention issues webpage side passes through pre-set tune It is sent to corresponding plug-in unit or application with interface, so that corresponding plug-in unit or application handle call request, to complete Interaction between mobile browser client and webpage simplifies user and calls when browsing webpage application or the operation of plug-in unit Process, searched manually without user, call with correlation function application or plug-in unit, it is more convenient to user, smooth, meet need The interactive experience asked.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of side for realizing mobile browser client and accessing the web page according to an embodiment of the invention The flow chart of method;
A kind of realize what mobile browser client accessed the web page Fig. 2 shows in accordance with another embodiment of the present invention The flow chart of method;
Fig. 3 shows a kind of dress realizing mobile browser client and accessing the web page according to an embodiment of the invention The schematic diagram set;
Fig. 4, which is shown, in accordance with another embodiment of the present invention a kind of realizes what mobile browser client accessed the web page The schematic diagram of device;
Fig. 5 shows a kind of of another embodiment according to the present invention and realizes what mobile browser client accessed the web page The schematic diagram of the sharing bound cell of device;
Fig. 6 shows a kind of schematic diagram of mobile browser client according to an embodiment of the invention;
Fig. 7 A shows the schematic diagram of the webpage of mobile client load according to an embodiment of the invention;
Fig. 7 B shows the schematic diagram of dialog box according to an embodiment of the invention;
Fig. 7 C shows the schematic diagram of new dialog box according to an embodiment of the invention;
Fig. 7 D shows the schematic diagram of webpage login page according to an embodiment of the invention;
Fig. 7 E shows the schematic diagram of authorization page according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of side for realizing mobile browser client and accessing the web page according to an embodiment of the invention The flow chart of method.As shown in Figure 1, this method comprises:
Step S110 is arranged in mobile browser client and the application plug-in pair in mobile browser client in advance The calling interface answered and/or with independently of browser client using corresponding calling interface.
In this step, different application plug-ins and it is different independently of browser client application respectively correspond it is different Calling interface.
Step S120 receives the calling mobile browser client that the webpage side loaded in mobile browser client issues Specified calling interface call request.
Step S130, the application corresponding with specified calling interface call request being sent in mobile browser client Plug-in unit is handled, and/or, be sent to mobile browser client in the terminal corresponding with specified calling interface Application independently of browser client is handled.
As it can be seen that the call request that webpage side issues is sent to by method shown in FIG. 1 by pre-set calling interface Corresponding plug-in unit or application, so that corresponding plug-in unit or application handle call request, so as to complete mobile browser Interaction between client and webpage simplifies the operating process that user calls application or plug-in unit when browsing webpage, without using It searches manually, call application or plug-in unit with correlation function, interaction body that is more convenient to user, smooth, meeting demand in family It tests.
In one embodiment of the invention, the step S120 of method shown in Fig. 1 is received in mobile browser client and is added The call request of the specified calling interface for the calling mobile browser client that the webpage side of load issues refers to: receiving mobile browsing The calling of the specified calling interface for the calling mobile browser client that JS function in the webpage loaded in device client issues Request;Wherein, each calling interface is externally announced, and the JS function in webpage is realized according to the respective calls interface externally announced 's.
For example, an application or application plug-in with data sharing function, the calling interface that corresponding picture and text are shared Parameter is as shown in table 1:
Table 1
Type Title Whether must pass Explanation
Int type It is no Share type
String content It is Sharing contents
String url It is Share address
String title It is Share title
String imgPath It is no Picture shares address
According to the calling interface, JS function ShareTextAndImage (AppName, ShareType, ShareTitle, ShareContent, ShareUrl, ShareImgPath) call request for calling the calling interface is issued, to realize webpage side Data sharing.
In another embodiment of the present invention, step S120 receives the webpage side hair loaded in mobile browser client The call request of the specified calling interface of calling mobile browser client out refers to: receiving in mobile browser client and adds The calling of the specified calling interface for the calling mobile browser client come is transmitted using console.log method in the webpage side of load Request;Wherein, parameter of the particular content of call request as console.log method.
Console.log () is the parameter to the method for the console print log (log) of browser client, in bracket For the particular content of log (log), the mobile browser client of the container as webpage, in console.log to console When print log (log), mobile browser client can receive the log (log).It uses the example above, webpage side uses Console.log (" ShareParams=AppName, ShareType, ShareTitle, ShareContent, ShareUrl, ShareImgPath }) call request of the above-mentioned specified calling interface of method call by passing, to realize webpage side Data sharing.
In one embodiment of the invention, in order to ensure information security, mobile browser client is accessed the web page On condition that mobile browser client and webpage are mutually distinguishable confirmation, therefore, method shown in FIG. 1 further comprises:
1, recognition and verification of the mobile browser client to webpage side: the net loaded in receiving mobile browser client After the call request of the specified calling interface for the calling mobile browser client that page side issues, it is pre- to judge whether webpage side meets If regulation;If met, call request is sent to corresponding with specified calling interface in mobile browser client by execution Application plug-in is handled, and/or, be sent to mobile browser client in the terminal with it is described it is specified calling connect The step of corresponding application independently of browser client of mouth is handled;If do not met, do not respond.For example, mobile The list that the webpage information that can be interacted is listed in the database of browser client, judge webpage side whether with the column Table matches, and is, call request is sent to application plug-in corresponding with specified calling interface or application is handled, otherwise It does not respond.
2, recognition and verification of the webpage side to mobile browser client: the webpage side hair loaded in mobile browser client The call request of the specified calling interface of calling mobile browser client out, loads in the dynamic browser client Webpage side confirms that current mobile browser client meets and issues when preset rules.For example, also list can be into for webpage side The information list of the mobile browser client of row interaction, judges whether mobile browser client matches with the list, is Call request is then sent, is not otherwise sent.
In one embodiment of the invention, calling interface packet corresponding with the application plug-in in mobile browser client It includes one of following or a variety of: and the corresponding calling interface of search plug-in unit, calling interface corresponding with plug-in unit is paid and voice Identify the corresponding calling interface of plug-in unit and the corresponding calling interface of video playing plug-in unit, calling corresponding with audio player plug-in It interface and realizes the corresponding calling interface of the plug-in unit of map, calling corresponding with email plug is loaded according to address information Interface and the corresponding calling interface of camera function plug-in unit, calling interface corresponding with call function plug-in unit, with SMS function plug-in unit Corresponding calling interface and contact person add the corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared.
With using corresponding calling interface include one of following or a variety of independently of browser client: with search Using corresponding calling interface and the corresponding calling interface of payment application, calling interface corresponding with speech recognition application and view Frequently the corresponding calling interface of application is played, the corresponding calling interface of application is played with audio, is loaded with realization according to address information Map connects using corresponding calling interface and the corresponding calling interface of e-mail applications, calling corresponding with camera applications Mouthful with the corresponding calling interface of call applications and short message using corresponding calling interface, with the corresponding tune of contact person's addition application Corresponding calling interface is applied with interface and with that can carry out sharing;Wherein, the application that can be shared includes: that wechat good friend answers With the application of, wechat circle of friends, QQ friends application, the application of QQ control, microblogging application, cloud disk application and Bluetooth transmission application.
A kind of realize what mobile browser client accessed the web page Fig. 2 shows in accordance with another embodiment of the present invention The flow chart of method.As shown in Fig. 2, this method comprises:
Step S210 is arranged in mobile browser client shares plug-in unit pair with mobile browser client in advance The calling interface answered.
Step S220 receives the calling mobile browser client that the webpage side loaded in mobile browser client issues With the call request of sharing the corresponding calling interface of plug-in unit.
Step S230 handles the sharing plug-in unit that call request is sent in mobile browser client.
In one embodiment of the invention, the step S230 of method shown in Fig. 2 includes:
Step S231, after the sharing plug-in unit in mobile browser client receives call request, from the call request It obtains to sharing data;
Step S232, dialog box of the generation comprising a variety of marks for sharing application and pop-up, one for selection by the user Application can be shared;The sharing interface for calling the application of user's selection, what be will acquire passes through the calling sharing interface to sharing data Shared.
For example, Fig. 7 A shows the schematic diagram of the webpage of mobile client load according to an embodiment of the invention, it should JS sharing function has been embedded in webpage has the sharing function for being shown as " share_button " as shown in Figure 7 A in the webpage Energy button, when the user clicks when the button, what webpage side issued calls the corresponding with plug-in unit is shared of mobile browser client The call request of calling interface is asked after the sharing plug-in unit in mobile browser client receives the call request from the calling Ask middle acquisition to sharing data;It generates dialog box and pop-up, Fig. 7 B comprising a variety of marks for sharing application and shows basis The schematic diagram of the dialog box of one embodiment of the invention includes: as shown in Figure 7 B " wechat good friend ", " wechat friend in the dialog box Five, friend's circle " etc. can share the mark of application, and one can share application for selection by the user;After user's selection, user is called The sharing interface of the application of selection, will acquire to sharing data by call the sharing interface shared.Dialog box (Dialog) it is one of component in Android hair open procedure, common are the warning dialog box (AlertDialog), progress pair Talk about frame (ProgressDialog), the date selects dialog box (DatePickerDialog), time dialog box (TimePickerDialog) and custom dialog box etc..Dialog box in the present embodiment is a kind of customized sharing dialogue Frame.
It in one embodiment of the invention, include: to answer sharing for predetermined number in the dialog box of step S232 pop-up The function key of mark, an extension button and a realization replication link.As shown in Figure 7 B, including: in the dialog box can Share the mark of application, " more " extension buttons and " replication link " button.
When extension button is triggered, to one sharing Action of system trigger of mobile terminal, system is received according to this Share the list of application that can satisfy sharing Action in the system that Action is returned;List of application is screened out according to preset strategy In certain applications;The new dialog box for generating the mark comprising the application in list of application, popping up this comprising mobile terminal is The new dialog box of the mark for the other application share provided of uniting.Wherein, it is screened out in list of application according to preset strategy Certain applications refer to: the application package management assembly Package Manager of the offer of system is by one in list of application The bad application of a little user experiences or since the application of politics cause disabling screens out.Fig. 7 C shows a reality according to the present invention The schematic diagram of the new dialog box of example is applied, includes: six, " mail ", " notes ", " bluetooth " etc. in the new dialog box as seen in figure 7 c The mark for the other application share that the system of mobile terminal provides.
When the function key for realizing replication link is triggered, web data to be shared is copied into mobile terminal system On clipbook.In this way, user, which can use, pastes key for the data sharing on clipbook to the position of Pasting data.
In one embodiment of the invention, step S232 will acquire in the sharing interface for the application for calling user's selection To sharing data by calling before the sharing interface shared, this method further comprises: successively judging mobile browsing Whether the mobile terminal where device has been mounted with whether the application, user have logged in the application and whether user authorizes through this Using sharing;If being fitted without the application, the webpage login page of the application is jumped to, if the application is not corresponding Webpage login page then prompts user to download the application;If user is not logged on, user is prompted to log in;If with Family with no authorized is shared, then prompts the user whether to authorize, and records authorization token if user's authorization.
Only user logs in the application, and authorizes when being shared by the application, just executes the application that calling user selects Sharing interface, and will acquire to sharing data by call the sharing interface shared the step of.
By taking user selects " microblogging " application to carry out data sharing as an example, including following eight kinds of situations:
1, mobile terminal does not install " microblogging " application, and user's not landed " microblogging " applies account, and user's unauthorized is shared In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, the webpage login page of " microblogging " application is jumped to, Fig. 7 D shows the schematic diagram of webpage login page according to an embodiment of the invention, and user jumps to authorization page after logging in Face, Fig. 7 E show the schematic diagram of authorization page according to an embodiment of the invention, record authorization token after user's authorization, jump Sharing edit page is gone to, will be carried out to sharing data by the service end side for calling the sharing interface to be sent to " microblogging " application Share.
2, mobile terminal does not install " microblogging " application, and user's not landed " microblogging " applies account, and user has authorized sharing In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, webpage login page as shown is jumped to, is used Family jumps to sharing edit page after logging in, will be to sharing data by calling the sharing interface to be sent to the clothes of " microblogging " application Shared business end side.
3, mobile terminal does not install " microblogging " application, and user has logged in " microblogging " using account, and user's unauthorized is shared In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, jump to the authorization page as shown in 7E, Yong Hushou Authorization token is recorded after power, jumps to sharing edit page, it will be " micro- by calling the sharing interface to be sent to sharing data It is rich " the service end side of application shared.
4, mobile terminal does not install " microblogging " application, and user has logged in " microblogging " using account, and user has authorized sharing In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, sharing edit page is jumped to, it will be to sharing data Shared by the service end side for calling the sharing interface to be sent to " microblogging " application.
5, mobile terminal has installed " microblogging " application, and user's not landed " microblogging " applies account, and user's unauthorized is shared In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, called the user recorded in " microblogging " application once The account information list logged in is selected for user, after user selects account, if " microblogging " application has recorded password, just directly It logs in, if " microblogging " application does not record password, needs user to be manually entered password, log in and successfully jumped to as shown in 7E afterwards Authorization page records authorization token after user's authorization, jumps to sharing edit page, will be to sharing data by calling the sharing Shared the service end side that interface is sent to " microblogging " application.
6, mobile terminal has installed " microblogging " application, and user's not landed " microblogging " applies account, and user has authorized sharing In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, called the user recorded in " microblogging " application once The account information list logged in is selected for user, after user selects account, if " microblogging " application has recorded password, just directly It logs in, if " microblogging " application does not record password, needs user to be manually entered password, log in and successfully jump to sharing page afterwards Face will be shared to sharing data by the service end side for calling the sharing interface to be sent to " microblogging " application.
7, mobile terminal has installed " microblogging " application, and user has logged in " microblogging " using account, and user's unauthorized is shared In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, jump to the authorization page as shown in 7E, Yong Hushou Authorization token is recorded after power, jumps to sharing edit page, it will be " micro- by calling the sharing interface to be sent to sharing data It is rich " the service end side of application shared.
8, mobile terminal has installed " microblogging " application, and user has logged in " microblogging " using account, and user has authorized sharing In the case where: after user selects " microblogging " to apply in the dialog box of pop-up, sharing edit page is jumped to, it will be to sharing data Shared by the service end side for calling the sharing interface to be sent to " microblogging " application.
Wherein, since the OAuth2.0 agreement of " microblogging " application is disclosed, so that can during above-mentioned data sharing To log in the account information for calling user by SSO.
In one embodiment of the invention, method shown in Fig. 2 further comprises: if the application of user's choosing does not mention For sharing interface, the application is sent by Intent mode by web data to be shared and is shared.Intent (intention) Mainly solve the communication between every component of Android application.Intent is responsible for the movement of once-through operation in application, dynamic Work is related to data, additional data is described, and Android is responsible for finding corresponding component then according to the description of this Intent, will Intent passes to the component of calling, and completes the calling of component.
In one embodiment of the invention, method shown in Fig. 2 further comprises: being applied and is mentioned according to different sharing The different sharing interfaces supplied, the different call methods of different sharing interfaces are called in customization in advance respectively;Call user's selection Application sharing interface are as follows: call the sharing to connect using the sharing interface corresponding call method of the application of user's selection Mouthful.For example, " QQ space ", " QQ friends ", " wechat good friend ", " wechat circle of friends ", " Sina weibo " etc. all externally disclose point Interface is enjoyed, is announced according to these and divides sharing interface, the call method of these sharing interfaces is called in customization respectively.Below with It is illustrated for " QQ space ".
For example, " QQ space " provides shareToQzone interface to mobile browser client, mobile terminal downloading is newest ShareToQzone interface is had invoked after the SDK of version, and the need of data sharing are carried out to meet mobile end subscriber by QQ space It asks, sharing type parameter is Tencent.SHARE_TO_QQ_KEY_TYPE, and calling function is Tencent.shareToQzone (), code sample are as follows:
Wherein, params parameter declaration is as shown in table 2:
Table 2
According to above-mentioned sharing interface, the call method of the sharing interface is called in customization in advance, and code sample is as follows:
In one embodiment of the invention, method shown in Fig. 2 from the call request obtain to sharing data it Afterwards, further comprise: judge in sharing data whether include predetermined format data;If comprising further in dialog box Middle display can handle the application of predetermined format data;When the application for handling predetermined format data in dialog box is triggered, Respective handling is carried out by the application is sent to by Intent mode to the data of the predetermined format in sharing data.The present embodiment In the data of predetermined format refer to: the data of the formats such as telephone number, two dimensional code, Email, for example, mobile browser There is a two dimensional code in webpage, pop books can be freely downloaded by scanning the two dimensional code, and user carries out screenshot sharing to the two dimensional code, Judge to sharing data to be two dimensional code, the application that can be scanned the two-dimensional code is shown in dialog box, selects " sweep and sweep " in user It is scanned in application, the two dimensional code is sent to " sweep and sweep " application by Intent mode, downloads books after scanning successfully. The program, which is realized, is handled data while sharing data, meets user demand.
Fig. 3 shows a kind of dress realizing mobile browser client and accessing the web page according to an embodiment of the invention The schematic diagram set.As shown in figure 3, the device 300 that the realization mobile browser client accesses the web page includes:
Setting unit 310, suitable for setting and answering in mobile browser client in mobile browser client in advance With the corresponding calling interface of plug-in unit and/or with independently of browser client using corresponding calling interface;Wherein, different Application plug-in and the different applications independently of browser client respectively correspond different calling interfaces.
Receiving unit 320, the calling mobile browsing issued suitable for receiving the webpage side loaded in mobile browser client The call request is sent to forward processing unit by the call request of the specified calling interface of device client.
Forward processing unit 330, suitable for call request is sent to connecing in mobile browser client with specified calling Mouthful corresponding application plug-in is handled, and/or, be sent to mobile browser client in the terminal with specified tune It is handled with the corresponding application independently of browser client of interface.
As it can be seen that mutual cooperation of the device shown in Fig. 3 by each unit, the call request that webpage side is issued passes through preparatory The calling interface of setting is sent to corresponding plug-in unit or application, so that corresponding plug-in unit or application handle call request, So as to complete the interaction between mobile browser client and webpage, simplifies user and call application when browsing webpage or insert The operating process of part searches manually without user, calls application or plug-in unit with correlation function, stream more convenient to user Freely, meet the interactive experience of demand.
In one embodiment of the invention, the receiving unit 320 of Fig. 3 shown device is suitable for receiving mobile browser visitor The call request of the specified calling interface for the calling mobile browser client that JS function in the webpage loaded in the end of family issues; Wherein, each calling interface is externally announced, and JS function is realized according to the respective calls interface externally announced.And it receives single Member 320 transmits the calling come shifting using console.log method suitable for receiving the webpage side loaded in mobile browser client The call request of the specified calling interface of dynamic browser client;Wherein, the particular content of call request is as console.log The parameter of method.JS function sends the example of call request and the transmitting of console.log method carrys out the example of call request upper It has been described in detail in text, details are not described herein.
In one embodiment of the invention, in order to ensure information security, mobile browser client is accessed the web page On condition that mobile browser client and webpage are mutually distinguishable confirmation, therefore, receiving unit 320 is further adapted for receiving The calling of the specified calling interface for the calling mobile browser client that the webpage side loaded in mobile browser client issues After request, judge whether webpage side meets preset rules;If met, forward processing unit is sent the request to, if It does not meet, is not processed.Correspondingly, the webpage side hair loaded in the received mobile browser client of receiving unit 320 The call request of the specified calling interface of calling mobile browser client out, is the net loaded in mobile browser client Page side confirms that current mobile browser client meets and issues when preset rules.For example, the data of mobile browser client The list that the webpage information that can be interacted is listed in library, judges whether webpage side matches with the list, is that will then adjust Application plug-in corresponding with specified calling interface is sent to request or application is handled, and is not otherwise responded.It is corresponding to it Ground, webpage side also list the information list for the mobile browser client that can be interacted, judge mobile browser client Whether end matches with the list, is to send call request, does not otherwise send.
In one embodiment of the invention, what setting unit 310 was arranged inserts with the application in mobile browser client The corresponding calling interface of part includes one of following or a variety of: calling interface corresponding with search plug-in unit and payment plug-in unit pair The corresponding calling interface of the calling interface and speech recognition plug-in unit answered, calling interface corresponding with video playing plug-in unit and audio The corresponding calling interface of player plug-in loads the corresponding calling interface of the plug-in unit of map and electronics according to address information with realizing The corresponding calling interface of mail plug-in unit and the corresponding calling interface of camera function plug-in unit, calling corresponding with call function plug-in unit Interface and the corresponding calling interface of SMS function plug-in unit, added with contact person the corresponding calling interface of plug-in unit and with share plug-in unit Corresponding calling interface.
Setting unit 310 be arranged with using corresponding calling interface include in following independently of browser client It is one or more: and the corresponding calling interface of search application, with the corresponding calling interface of payment application, and speech recognition application pair The calling interface and video playing answered play the corresponding calling interface of application using corresponding calling interface, with audio and realize According to address information load map using corresponding calling interface, calling interface corresponding with e-mail applications and camera Corresponding calling interface and contact person are applied using corresponding calling interface and the corresponding calling interface of call applications, with short message Addition applies corresponding calling interface using corresponding calling interface and with that can carry out sharing;Wherein, the application that can be shared It include: that wechat good friend applies, the application of wechat circle of friends, QQ friends application, the application of QQ control, microblogging is applied, cloud disk is applied and blue Tooth transmission application.
Fig. 4, which is shown, in accordance with another embodiment of the present invention a kind of realizes what mobile browser client accessed the web page The schematic diagram of device.As shown in figure 4, the device 400 that the realization mobile browser client accesses the web page includes: setting unit 410, receiving unit 420, forward processing unit 430 and share bound cell 440.
Setting unit 410, suitable for being arranged in mobile browser client in advance and point in mobile browser client Enjoy the corresponding calling interface of bound cell 440.
Receiving unit 420, the calling mobile browsing issued suitable for receiving the webpage side loaded in mobile browser client The call request of the calling interface corresponding with bound cell 440 is shared of device client, which is sent at forwarding Manage unit 430.
Forward processing unit 430, suitable for the sharing bound cell being sent to call request in mobile browser client 440 are handled.
Fig. 5 shows a kind of of another embodiment according to the present invention and realizes what mobile browser client accessed the web page The schematic diagram of the sharing bound cell 540 of device.As shown in figure 5, the dress that the realization mobile browser client accesses the web page The sharing bound cell 540 set in 5 includes:
Customized module 541, suitable for being shared according to different using the different sharing interfaces provided, customization in advance respectively Call the different call methods of different sharing interfaces.
Data acquisition module 542, suitable for obtaining from the call request that forward processing unit is sent to sharing data.
Judgment module 543, suitable for judge it is described in sharing data whether include predetermined format data.
The data for the predetermined format that this module is judged refer to: the number of the formats such as telephone number, two dimensional code, Email According to.
Dialog box module 544, suitable for generating the dialog box comprising a variety of marks for sharing application and pop-up, for user Selection one can share application.
Sharing module 545, the sharing interface of the application suitable for calling user's selection, what be will acquire passes through tune to sharing data Shared with the sharing interface.
In the embodiment where Fig. 7 A, there is the sharing function for being shown as " share_button " to press in the webpage Button, when the user clicks when the button, the calling corresponding with plug-in unit is shared for the calling mobile browser client that webpage side issues The call request of interface, after sharing bound cell 440 receives the call request, data capture unit 542 is from the call request It obtains to sharing data;Dialog box module 544 generates the dialog box comprising a variety of marks for sharing application and pop-up, such as Fig. 7 B Shown, one can share application for selection by the user;After user's selection, sharing module 545 calls the application of user's selection Sharing interface, will acquire to sharing data by call the sharing interface shared.
In one embodiment of the invention, it includes: sharing for predetermined number that dialog box module 544, which pops up in dialog box, The function key of the mark of application, an extension button and a realization replication link;As shown in Figure 7 B.
When extension button is triggered, dialog box module 544 connects to one sharing Action of system trigger of mobile terminal It can satisfy the list of application of sharing Action in the system that receipts system is returned according to sharing Action;According to preset strategy Screen out the certain applications in list of application;The new dialog box of the mark comprising the application in list of application is generated, popping up this includes The new dialog box of the mark for the other application share that the system of mobile terminal provides.Wherein, it is sieved according to preset strategy The certain applications fallen in list of application refer to: the application package management assembly Package Manager of the offer of system will be answered It is screened out with the bad application of some user experiences in list or due to the application of politics cause disabling, new dialog box such as Fig. 7 C It is shown.
When the function key for realizing replication link is triggered, dialog box module 544 copies to web data to be shared On the clipbook of mobile terminal system.
In one embodiment of the invention, call user selection application sharing interface, will acquire wait share Data are by the way that before calling the sharing interface to be shared, sharing module 545 is further adapted for successively judging mobile browser institute Mobile terminal whether be mounted with whether the application, user have logged in the application and whether user authorizes through the application Share;If being fitted without the application, the webpage login page of the application is jumped to, if this applies no corresponding webpage Login page then prompts user to download the application;If user is not logged on, user is prompted to log in;If user does not have There is authorization to share, then prompt the user whether to authorize, records authorization token if user's authorization.
Only user logs in the application, and authorizes the sharing for the application that just calling user selects when sharing by the application Interface, will acquire to sharing data by call the sharing interface shared." microblogging " application is selected to count with user For sharing, including eight kinds of situations, the data sharing process in the case of eight kinds has hereinbefore been discussed in detail, no longer superfluous herein It states.
In one embodiment of the invention, sharing module 545 are further adapted for the application when user's choosing without offer point Interface is enjoyed, the application is sent by Intent mode by web data to be shared and is shared.
In one embodiment of the invention, the difference of different sharing interfaces is called in the customization in advance of customized module 541 In the case where call method, the corresponding call method of sharing interface of the application that sharing module 545 is suitable for selecting using user come Call the sharing interface.Customized module 541 has been described in detail above, and customization calls " QQ space " to provide in advance The example of the call method of shareToQzone interface, details are not described herein.
In one embodiment of the invention, dialog box module 544, suitable for judging in judgment module 543 comprising predetermined When the data of format, further display can handle the application of the predetermined format data in the dialog box;Sharing module 545, it is further adapted for when the application for handling predetermined format data in dialog box is triggered, it will be to pre- in sharing data The data for the formula that fixes are sent to the application by Intent mode and carry out respective handling.For example, having in the webpage of mobile browser One two dimensional code, pop books can be freely downloaded by scanning the two dimensional code, and user carries out screenshot sharing, judgment module to the two dimensional code 360 judge that sharing data be two dimensional code, and dialog box module 330 shows the application that can be scanned the two-dimensional code in dialog box, point It enjoys module 340 and selects " sweep and sweep " in application, the two dimensional code is sent to " sweep and sweep " application by Intent mode in user It is scanned, downloads books after scanning successfully.The program, which is realized, is handled data while sharing data, meets use Family demand.
Fig. 6 shows a kind of schematic diagram of mobile browser client according to an embodiment of the invention.The movement is clear Device client 600 of looking at includes the device 610 realizing mobile browser client and accessing the web page.Realization mobile browser client It holds the device 610 accessed the web page to can be realization mobile browser client described in any embodiment as above to access the web page Device.
In conclusion the call request that technical solution provided by the invention issues webpage side passes through pre-set calling Interface is sent to corresponding plug-in unit or application, so that corresponding plug-in unit or application handle call request, so as to complete Interaction between mobile browser client and webpage simplifies the operation stream that user calls application or plug-in unit when browsing webpage Journey searches manually without user, calls application or plug-in unit with correlation function, and in mobile browser client and webpage Both sides' recognition and verification before interacting ensure that the safety of interactive information, improves and carries out net in mobile browser client The diversity of the function of page browsing, interactive experience that is more convenient to user, smooth, reliable, meeting demand.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize realization mobile browser client according to an embodiment of the present invention with The some or all functions of some or all components in the device and mobile browser client of webpage interaction.The present invention Be also implemented as executing method as described herein some or all device or device program (for example, Computer program and computer program product).It is such to realize that program of the invention can store on a computer-readable medium, Or it may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or It is provided on the carrier signal, or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses A1, a kind of method realizing mobile browser client and accessing the web page, wherein this method packet It includes: calling interface corresponding with the application plug-in in mobile browser client is set in mobile browser client in advance And/or with independently of browser client using corresponding calling interface;Wherein, different application plug-ins and different independence Different calling interfaces is respectively corresponded in the application of browser client;Receive the webpage side loaded in mobile browser client The call request of the specified calling interface of the calling mobile browser client of sending;It is clear that the call request is sent to movement The application plug-in corresponding with the specified calling interface look in device client is handled, and/or, it is sent to mobile browser Client in the terminal it is corresponding with the specified calling interface independently of browser client application at Reason.
A2, method as described in a1, wherein the tune for receiving the webpage side loaded in mobile browser client and issuing Call request with the specified calling interface of mobile browser client includes: the net for receiving and loading in mobile browser client The call request of the specified calling interface for the calling mobile browser client that JS function in page issues;Wherein, described each Calling interface is externally announced, and the JS function is realized according to the respective calls interface externally announced.
A3, method as described in a1, wherein the tune for receiving the webpage side loaded in mobile browser client and issuing Call request with the specified calling interface of mobile browser client includes: the net for receiving and loading in mobile browser client The call request of the specified calling interface for the calling mobile browser client come is transmitted using console.log method in page side; Wherein, parameter of the particular content of call request as console.log method.
A4, method as described in a1, wherein this method further comprises: it is loaded in receiving mobile browser client Webpage side issue calling mobile browser client specified calling interface call request after, judge that the webpage side is It is no to meet preset rules;If met, execute by the call request be sent in mobile browser client with the finger Determine the corresponding application plug-in of calling interface to be handled, and/or, be sent to mobile browser client in the terminal The step of application independently of browser client corresponding with the specified calling interface is handled;If do not met, no It responds.
A5, method as described in a1, wherein the calling that the webpage side loaded in the mobile browser client issues is moved The call request of the specified calling interface of dynamic browser client is the webpage side confirmation loaded in the dynamic browser client Current mobile browser client meets to be issued when preset rules.
A6, method as described in a1, wherein
The calling interface corresponding with application plug-in in mobile browser client includes one of following or more Kind: and the corresponding calling interface of search plug-in unit calling interface corresponding with plug-in unit is paid, calling corresponding with speech recognition plug-in unit Interface and the corresponding calling interface of video playing plug-in unit, calling interface corresponding with audio player plug-in, with realize according to address Information loads the corresponding calling interface of plug-in unit, calling interface corresponding with email plug and camera function plug-in unit of map Corresponding calling interface and the corresponding calling interface of call function plug-in unit, calling interface corresponding with SMS function plug-in unit, with connection It is that people adds the corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared;
It is described with using corresponding calling interface include one of following or a variety of independently of browser client: with Search application corresponding calling interface with payment apply corresponding calling interface, calling interface corresponding with speech recognition application, And video playing plays the corresponding calling interface of application using corresponding calling interface, with audio and realizes according to address information Load map using corresponding calling interface and the corresponding calling interface of e-mail applications, tune corresponding with camera applications It is added using corresponding calling interface, with contact person using corresponding with interface and the corresponding calling interface of call applications, with short message Calling interface with can carry out sharing using corresponding calling interface;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends application, QQ control Part application, microblogging application, cloud disk application and Bluetooth transmission application.
A7, method as described in a1, wherein the tune for receiving the webpage side loaded in mobile browser client and issuing With the call request of the specified calling interface of mobile browser client and described that the call request is sent to movement is clear It includes: to receive mobile browser client that the application plug-in corresponding with the specified calling interface look in device client, which carries out processing, The calling of the calling interface corresponding with plug-in unit is shared for the calling mobile browser client that the webpage side loaded in end issues is asked It asks, the sharing plug-in unit that the call request is sent in mobile browser client is handled.
A8, the method as described in A7, wherein this method further comprises: the sharing plug-in unit in mobile browser client After receiving the call request,
It obtains from the call request to sharing data;Generate dialog box and bullet comprising a variety of marks for sharing application Out, for selection by the user one can share application;Call user selection application sharing interface, will acquire to sharing data By calling the sharing interface to be shared.
A9, the method as described in A8, wherein include: in the dialog box predetermined number the mark for sharing application and One extension button;This method further comprises: when the extension button is triggered, popping up another includes mobile terminal The new dialog box of the mark for the other application share that system provides.
A10, the method as described in A9, wherein in the dialog box further include: realize the function key of replication link;The party Method further comprises: when the function key is triggered, web data to be shared being copied to cliping and pasting for mobile terminal system On plate.
A11, the method as described in A9, wherein pop up another include mobile terminal system provide carry out share Other application mark new dialog box before, this method further comprises: to system trigger one of mobile terminal sharing Action can satisfy the list of application of sharing Action in the system that reception system is returned according to sharing Action;Root The certain applications in the list of application are screened out according to preset strategy;Generate the institute of the mark comprising the application in the list of application State new dialog box.
A12, the method as described in A8, wherein call user selection application sharing interface, will acquire wait share By calling before the sharing interface shared, this method further comprises data: where successively judging mobile browser Whether mobile terminal has been mounted with whether the application, user have logged in the application and whether user authorizes through the application point It enjoys;If being fitted without the application, the webpage login page of the application is jumped to, if this is stepped on using no corresponding webpage The page is recorded, then user is prompted to download the application;If user is not logged on, user is prompted to log in;If user does not have Authorization is shared, then prompts the user whether to authorize, and records authorization token if user's authorization;Only user logs in the application, and When authorization is shared by the application, the sharing interface for the application that the calling user selects just is executed, just executing described will obtain Take to sharing data by call the sharing interface shared the step of.
A13, the method as described in A8, wherein this method further comprises: if the application of user's choosing is without providing sharing Interface sends the application by Intent mode for web data to be shared and shares.
A14, the method as described in A8, wherein this method further comprises: shared using offer not according to different Same sharing interface, the different call methods of different sharing interfaces are called in customization in advance respectively;It is described that user is called to select The sharing interface of application are as follows: call the sharing interface using the corresponding call method of sharing interface of the application of user's selection.
A15, the method as described in A8, wherein this method it is described from the call request obtain to sharing data after, This method further comprises: judgement it is described in sharing data whether include predetermined format data;If comprising further existing Display can handle the application of the predetermined format data in the dialog box;It pre- fixes when handling in the dialog box is described When the application of formula data is triggered, the data to the predetermined format in sharing data are sent to this by Intent mode Using progress respective handling.
The invention also discloses B16, a kind of device realizing mobile browser client and accessing the web page, wherein the dress Setting includes: setting unit, is inserted suitable for being arranged in mobile browser client in advance with the application in mobile browser client The corresponding calling interface of part and/or with independently of browser client using corresponding calling interface;Wherein, different application Plug-in unit and the different applications independently of browser client respectively correspond different calling interfaces;Receiving unit is suitable for receiving The calling of the specified calling interface for the calling mobile browser client that the webpage side loaded in mobile browser client issues Request, is sent to forward processing unit for the call request;Forward processing unit, suitable for the call request is sent to movement Application plug-in corresponding with the specified calling interface in browser client is handled, and/or, it is sent to mobile browsing Device client in the terminal it is corresponding with the specified calling interface independently of browser client application carry out Processing.
B17, the device as described in B16, wherein the receiving unit is loaded suitable for receiving in mobile browser client Webpage in JS function issue calling mobile browser client specified calling interface call request;Wherein, described Each calling interface externally announce, the JS function is realized according to the respective calls interface externally announced.
B18, the device as described in B16, wherein the receiving unit is loaded suitable for receiving in mobile browser client Webpage side asked using the calling of specified calling interface that console.log method transmits the calling mobile browser client come It asks;Wherein, parameter of the particular content of call request as console.log method.
B19, the device as described in B16, wherein the receiving unit is further adapted for receiving mobile browser client After the call request of the specified calling interface for the calling mobile browser client that the webpage side loaded in end issues, described in judgement Whether webpage side meets preset rules;If met, forward processing unit is sent the request to, if do not met, is not done Processing.
B20, the device as described in B16, wherein the net loaded in the received mobile browser client of receiving unit The call request of the specified calling interface for the calling mobile browser client that page side issues, is in the dynamic browser client The webpage side of load confirms that current mobile browser client meets and issues when preset rules.
B21, the device as described in B16, wherein setting unit setting with the application in mobile browser client The corresponding calling interface of plug-in unit includes one of following or a variety of: calling interface corresponding with search plug-in unit and payment plug-in unit Corresponding calling interface and the corresponding calling interface of speech recognition plug-in unit, calling interface corresponding with video playing plug-in unit and sound The corresponding calling interface of frequency player plug-in, with realize according to address information load the corresponding calling interface of the plug-in unit of map, with electricity The corresponding calling interface of sub- mail plug-in unit and the corresponding calling interface of camera function plug-in unit, tune corresponding with call function plug-in unit The corresponding calling interface of plug-in unit and slotting with sharing is added with interface and the corresponding calling interface of SMS function plug-in unit, with contact person The corresponding calling interface of part;
Setting unit setting with independently of browser client include in following using corresponding calling interface It is one or more: and search application corresponding calling interface, with payment application corresponding calling interface and speech recognition application Corresponding calling interface and video playing played using corresponding calling interface, with audio the corresponding calling interface of application, in fact Now according to address information load map using corresponding calling interface, calling interface corresponding with e-mail applications and phase Machine applied using the corresponding calling interface of corresponding calling interface and call applications, with short message corresponding calling interface, with contact People adds application corresponding calling interface and can carrying out and shares the corresponding calling interface of application;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends application, QQ control Part application, microblogging application, cloud disk application and Bluetooth transmission application.
B22, the device as described in B16, wherein the device further comprises: share bound cell;The receiving unit, Suitable for receiving the webpage side that loads issues in mobile browser client calling mobile browser client and sharing plug-in unit The call request is sent to forward processing unit by the call request of the corresponding calling interface of unit, the forward processing unit, Sharing bound cell suitable for the call request to be sent in mobile browser client is handled.
B23, the device as described in B22, wherein the sharing bound cell includes: data acquisition module, is suitable for from forwarding It obtains in the call request that processing unit is sent to sharing data;Dialog box module, suitable for generate comprising it is a variety of share answer The dialog box of mark and pop-up, one can share application for selection by the user;Sharing module, suitable for calling user's selection The sharing interface of application, will acquire to sharing data by call the sharing interface shared.
B24, the device as described in B23, wherein include: predetermined number in the dialog box of the dialog box module pop-up The mark and an extension button of application can be shared;
The dialog box module is further adapted for when the extension button is triggered, and it includes mobile whole for popping up another The new dialog box of the mark for the other application share that the system at end provides.
B25, the device as described in B24, wherein in the dialog box of the dialog box module pop-up further include: realize duplication The function key of link;The dialog box module is further adapted for when the function key is triggered, by web data to be shared It copies on the clipbook of mobile terminal system.
B26, the device as described in B24, wherein the dialog box module is further adapted for popping up the new dialog box Before, it to one sharing Action of the system trigger of mobile terminal, receives in the system that system is returned according to sharing Action It can satisfy the list of application of sharing Action;The certain applications in the list of application are screened out according to preset strategy;It generates The new dialog box of mark comprising the application in the list of application.
B27, the device as described in B23, wherein call user selection application sharing interface, will acquire to point Data are enjoyed by calling before the sharing interface shared,
Whether the sharing module, the mobile terminal where further successively judging mobile browser have been mounted with that this is answered The application whether has been logged in, user and whether user authorizes and shared by the application;If being fitted without the application, jump The webpage login page of the application is gone to, if this applies no corresponding webpage login page, prompts user to download this and answers With;If user is not logged on, user is prompted to log in;If user's with no authorized is shared, prompt the user whether to award Power records authorization token if user's authorization;Only user logs in the application, and authorization is applied by this when sharing, and is just held The sharing interface that the application of user's selection is called described in row, what just be will acquire described in execution passes through this point of calling to sharing data Enjoy the step of interface is shared.
B28, the device as described in B23, wherein the sharing module is further adapted for not mentioning when the application of user's choosing For sharing interface, the application is sent by Intent mode by web data to be shared and is shared.
B29, the device as described in B23, wherein the sharing bound cell further comprises: customized module is suitable for basis Different shares using the different sharing interfaces provided, and customization in advance calls the different of different sharing interfaces to call respectively Method;The sharing module, the sharing interface of the application suitable for being selected using user corresponding call method call the sharing Interface.
B30, the device as described in B23, wherein the sharing bound cell further comprises: judgment module is suitable for judgement It is described in sharing data whether include predetermined format data;
The dialog box module further exists when suitable for judging the data comprising predetermined format in the judgment module Display can handle the application of the predetermined format data in the dialog box;
The sharing module is further adapted for when the application quilt for handling the predetermined format data in the dialog box When triggering, the data to the predetermined format in sharing data are sent to the application by Intent mode and carry out corresponding position Reason.
The invention also discloses C31, a kind of mobile browser client, wherein the mobile browser client includes such as The device that realization mobile browser client accesses the web page described in any one of B16-B30.

Claims (29)

1. a kind of method realizing mobile browser client and accessing the web page, wherein this method comprises:
Calling interface corresponding with the application plug-in in mobile browser client is set in mobile browser client in advance And/or with independently of browser client using corresponding calling interface;Wherein, different application plug-ins and different independence Different calling interfaces is respectively corresponded in the application of browser client;
The specified calling for receiving the calling mobile browser client that the webpage side loaded in mobile browser client issues connects The call request of mouth;
The application plug-in corresponding with the specified calling interface call request being sent in mobile browser client Handled, and/or, be sent to mobile browser client in the terminal corresponding with the specified calling interface Application independently of browser client is handled, to realize the interaction between mobile browser client and webpage;
Wherein, the finger for receiving the calling mobile browser client that the webpage side loaded in mobile browser client issues The call request for determining calling interface includes:
It receives the webpage side loaded in mobile browser client and transmits the calling mobile browsing of coming using console.log method The call request of the specified calling interface of device client;Wherein, the particular content of call request is as console.log method Parameter.
2. the method for claim 1, wherein described receive what the webpage side loaded in mobile browser client issued The call request of specified calling interface for calling mobile browser client includes:
Receive the finger for the calling mobile browser client that the JS function in the webpage loaded in mobile browser client issues Determine the call request of calling interface;
Wherein, each calling interface is externally announced, and the JS function is realized according to the respective calls interface externally announced 's.
3. the method for claim 1, wherein this method further comprises:
The specified calling for the calling mobile browser client that the webpage side loaded in receiving mobile browser client issues After the call request of interface, judge whether the webpage side meets preset rules;
If met, execute by the call request be sent in mobile browser client with the specified calling interface pair The application plug-in answered is handled, and/or, be sent to mobile browser client in the terminal with the specified tune The step of being handled with the corresponding application independently of browser client of interface;
If do not met, do not respond.
4. the method for claim 1, wherein
The specified calling for the calling mobile browser client that the webpage side loaded in the mobile browser client issues connects Mouthful call request, it is pre- to be that the webpage side that loads in the dynamic browser client confirms that current mobile browser client meets If being issued when regulation.
5. the method for claim 1, wherein
The calling interface corresponding with application plug-in in mobile browser client includes one of following or a variety of: with Search for the corresponding calling interface of plug-in unit calling interface corresponding with plug-in unit is paid, calling interface corresponding with speech recognition plug-in unit, And the corresponding calling interface of video playing plug-in unit, calling interface corresponding with audio player plug-in, with realize according to address information Load the corresponding calling interface of plug-in unit of map, calling interface corresponding with email plug, corresponding with camera function plug-in unit Calling interface and the corresponding calling interface of call function plug-in unit, calling interface corresponding with SMS function plug-in unit and contact person Add the corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared;
It is described with using corresponding calling interface include one of following or a variety of independently of browser client: with search Using corresponding calling interface and the corresponding calling interface of payment application, calling interface corresponding with speech recognition application and view Frequently the corresponding calling interface of application is played, the corresponding calling interface of application is played with audio, is loaded with realization according to address information Map connects using corresponding calling interface and the corresponding calling interface of e-mail applications, calling corresponding with camera applications Mouthful with the corresponding calling interface of call applications and short message using corresponding calling interface, with the corresponding tune of contact person's addition application With interface with can carry out sharing using corresponding calling interface;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends are applied, QQ control is answered With the application of, microblogging, cloud disk application and Bluetooth transmission application.
6. the method for claim 1, wherein described receive what the webpage side loaded in mobile browser client issued It calls the call request of the specified calling interface of mobile browser client and described the call request is sent to movement Application plug-in corresponding with the specified calling interface in browser client carries out processing and includes:
Receive the calling mobile browser client that the webpage side that loads issues in mobile browser client with share plug-in unit The call request is sent to the sharing plug-in unit in mobile browser client and carried out by the call request of corresponding calling interface Processing.
7. method as claimed in claim 6, wherein this method further comprises: the sharing in mobile browser client is inserted After part receives the call request,
It obtains from the call request to sharing data;
The dialog box comprising a variety of marks for sharing application and pop-up are generated, one can share application for selection by the user;
Call user selection application sharing interface, will acquire to sharing data by calling the sharing interface divided It enjoys.
8. the method for claim 7, wherein
It include: the mark for sharing application and an extension button of predetermined number in the dialog box;
This method further comprises: when the extension button is triggered, popping up the system that another includes mobile terminal and provides The other application share mark new dialog box.
9. method according to claim 8, wherein
In the dialog box further include: realize the function key of replication link;
This method further comprises: when the function key is triggered, web data to be shared being copied to mobile terminal system On the clipbook of system.
10. method according to claim 8, wherein that pops up that system that another includes mobile terminal provides carries out point Before the new dialog box of the mark for the other application enjoyed, this method further comprises:
To one sharing Action of system trigger of mobile terminal, energy in the system that system is returned according to sharing Action is received Enough meet the list of application of sharing Action;
The certain applications in the list of application are screened out according to preset strategy;
Generate the new dialog box of the mark comprising the application in the list of application.
11. the method for claim 7, wherein call user selection application sharing interface, will acquire to point Data are enjoyed by the way that before calling the sharing interface to be shared, this method further comprises:
Mobile terminal where successively judging mobile browser whether be mounted with the application, user whether logged in the application with And whether user authorizes and is shared by the application;
If being fitted without the application, the webpage login page of the application is jumped to, if this applies no corresponding webpage Login page then prompts user to download the application;
If user is not logged on, user is prompted to log in;
If user's with no authorized is shared, prompt the user whether to authorize, records authorization token if user's authorization;
Only user logs in the application, and authorizes when being shared by the application, just executes the application that the calling user selects Sharing interface, just execute described in will acquire to sharing data by calling the sharing interface shared the step of.
12. the method for claim 7, wherein this method further comprises:
If the application of user's choosing sends this by Intent mode for web data to be shared without providing sharing interface Using being shared.
13. the method for claim 7, wherein this method further comprises: being shared according to different using offer Different sharing interfaces, the different call methods of different sharing interfaces are called in customization in advance respectively;
The sharing interface of the application for calling user's selection are as follows: utilize the corresponding calling of sharing interface of the application of user's selection Method calls the sharing interface.
14. the method for claim 7, wherein this method it is described from the call request obtain to sharing data it Afterwards, this method further comprises:
Judgement it is described in sharing data whether include predetermined format data;
If comprising further display can handle the application of the predetermined format data in the dialog box;
When the application for handling the predetermined format data in the dialog box is triggered, by described in sharing data The data of predetermined format are sent to the application by Intent mode and carry out respective handling.
15. a kind of device realizing mobile browser client and accessing the web page, wherein the device includes:
Setting unit, suitable for being arranged in mobile browser client in advance and the application plug-in pair in mobile browser client The calling interface answered and/or with independently of browser client using corresponding calling interface;Wherein, different application plug-in Different calling interfaces is respectively corresponded with the different applications independently of browser client;
Receiving unit, the calling mobile browser client issued suitable for receiving the webpage side loaded in mobile browser client Specified calling interface call request, which is sent to forward processing unit;
Forward processing unit, suitable for the call request is sent to connecing in mobile browser client with the specified calling Mouthful corresponding application plug-in is handled, and/or, be sent to mobile browser client in the terminal with the finger Determine the corresponding application independently of browser client of calling interface to be handled, to realize mobile browser client and webpage Between interaction;
The receiving unit is passed suitable for receiving the webpage side loaded in mobile browser client using console.log method Pass the call request of the specified calling interface for the calling mobile browser client come;Wherein, the particular content of call request is made For the parameter of console.log method.
16. device as claimed in claim 15, wherein
The receiving unit, the calling that the JS function suitable for receiving in the webpage loaded in mobile browser client issues are mobile The call request of the specified calling interface of browser client;
Wherein, each calling interface is externally announced, and the JS function is realized according to the respective calls interface externally announced 's.
17. device as claimed in claim 15, wherein
It is mobile to be further adapted for the calling that the webpage side loaded in receiving mobile browser client issues for the receiving unit After the call request of the specified calling interface of browser client, judge whether the webpage side meets preset rules;If symbol It closes, then sends the request to forward processing unit, if do not met, be not processed.
18. device as claimed in claim 15, wherein
The calling mobile browser client that the webpage side loaded in the received mobile browser client of receiving unit issues The call request of the specified calling interface at end is that the webpage side loaded in the dynamic browser client confirms current mobile browsing Device client, which meets, to be issued when preset rules.
19. device as claimed in claim 15, wherein
The calling interface corresponding with the application plug-in in mobile browser client of the setting unit setting includes in following It is one or more: and the corresponding calling interface of search plug-in unit, calling interface corresponding with payment plug-in unit and speech recognition plug-in unit Corresponding calling interface and the corresponding calling interface of video playing plug-in unit, calling interface corresponding with audio player plug-in, with it is real The corresponding calling interface of plug-in unit, calling interface corresponding with email plug and the phase of map are now loaded according to address information The corresponding calling interface of machine feature card and the corresponding calling interface of call function plug-in unit, tune corresponding with SMS function plug-in unit The corresponding calling interface of plug-in unit and calling interface corresponding with plug-in unit is shared are added with interface and contact person;
Setting unit setting with independently of browser client using corresponding calling interface include in following one Kind or it is a variety of: and the corresponding calling interface of search application, with payment using corresponding calling interface, corresponding with speech recognition application Calling interface and video playing using corresponding calling interface, with audio play application corresponding calling interface, with realization root According to being answered using corresponding calling interface, calling interface corresponding with e-mail applications, with camera for address information load map Add with corresponding calling interface and the corresponding calling interface of call applications, with short message using corresponding calling interface, with contact person Add and shares the corresponding calling interface of application using corresponding calling interface and can carrying out;
Wherein, the application that can be shared includes: wechat good friend application, the application of wechat circle of friends, QQ friends are applied, QQ control is answered With the application of, microblogging, cloud disk application and Bluetooth transmission application.
20. device as claimed in claim 15, wherein the device further comprises: sharing bound cell;
The receiving unit, the calling mobile browser visitor issued suitable for receiving the webpage side loaded in mobile browser client The call request of the calling interface corresponding with bound cell is shared at family end, is sent to forward processing unit for the call request,
The forward processing unit, suitable for the sharing bound cell being sent to the call request in mobile browser client It is handled.
21. device as claimed in claim 20, wherein the sharing bound cell includes:
Data acquisition module, suitable for obtaining from the call request that forward processing unit is sent to sharing data;
Dialog box module, suitable for generating the dialog box comprising a variety of marks for sharing application and pop-up, for selection by the user one It is a to share application;
Sharing module, the sharing interface of the application suitable for calling user's selection, what be will acquire passes through this point of calling to sharing data Interface is enjoyed to be shared.
22. device as claimed in claim 21, wherein
Include: in the dialog box of the dialog box module pop-up predetermined number the mark for sharing application and an extension by Button;
The dialog box module is further adapted for when the extension button is triggered, and popping up another includes mobile terminal The new dialog box of the mark for the other application share that system provides.
23. device as claimed in claim 22, wherein
In the dialog box of the dialog box module pop-up further include: realize the function key of replication link;
The dialog box module is further adapted for that web data to be shared is copied to shifting when the function key is triggered On the clipbook of dynamic terminal system.
24. device as claimed in claim 22, wherein
The dialog box module is further adapted for before popping up the new dialog box, to system trigger one of mobile terminal Share Action, can satisfy the application column of sharing Action in the system that reception system is returned according to sharing Action Table;
The certain applications in the list of application are screened out according to preset strategy;
Generate the new dialog box of the mark comprising the application in the list of application.
25. device as claimed in claim 21, wherein call user selection application sharing interface, will acquire to Sharing data by calling before the sharing interface shared,
Whether the sharing module, the mobile terminal where further successively judging mobile browser have been mounted with the application, have used Whether family has logged in the application and whether user authorizes and shared by the application;If being fitted without the application, jump to The webpage login page of the application prompts user to download the application if this applies no corresponding webpage login page;Such as Fruit user is not logged on, then prompts user to log in;If user's with no authorized is shared, prompt the user whether to authorize, such as Fruit user authorization then records authorization token;Only user logs in the application, and authorization is applied by this when sharing, just described in execution Call user selection application sharing interface, just execute described in will acquire to sharing data by calling the sharing interface The step of being shared.
26. device as claimed in claim 21, wherein
The sharing module is further adapted for the application when user's choosing without providing sharing interface, by web data to be shared The application is sent to by Intent mode to be shared.
27. device as claimed in claim 21, wherein the sharing bound cell further comprises: customized module is suitable for root Share according to different using the different sharing interfaces provided, the not people having the same aspiration and interest of different sharing interfaces is called in customization in advance respectively Use method;
The sharing module, the sharing interface of the application suitable for being selected using user corresponding call method call the sharing to connect Mouthful.
28. device as claimed in claim 21, wherein the sharing bound cell further comprises: judgment module, suitable for sentencing It is disconnected described in sharing data whether include predetermined format data;
The dialog box module, when suitable for judging the data comprising predetermined format in the judgment module, further described Display can handle the application of the predetermined format data in dialog box;
The sharing module is further adapted for being triggered when the application for handling the predetermined format data in the dialog box When, the data to the predetermined format in sharing data are sent to the application by Intent mode and carry out respective handling.
29. a kind of mobile browser client, wherein the mobile browser client includes as any in claim 15-28 The device that realization mobile browser client described in accesses the web page.
CN201410796006.4A 2014-12-18 2014-12-18 Realize method, apparatus and client that mobile browser client accesses the web page Expired - Fee Related CN104462478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410796006.4A CN104462478B (en) 2014-12-18 2014-12-18 Realize method, apparatus and client that mobile browser client accesses the web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410796006.4A CN104462478B (en) 2014-12-18 2014-12-18 Realize method, apparatus and client that mobile browser client accesses the web page

Publications (2)

Publication Number Publication Date
CN104462478A CN104462478A (en) 2015-03-25
CN104462478B true CN104462478B (en) 2019-07-02

Family

ID=52908513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410796006.4A Expired - Fee Related CN104462478B (en) 2014-12-18 2014-12-18 Realize method, apparatus and client that mobile browser client accesses the web page

Country Status (1)

Country Link
CN (1) CN104462478B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490917B (en) * 2015-11-18 2021-05-07 腾讯科技(深圳)有限公司 Method and device for realizing sharing in application
CN106775790B (en) * 2015-11-19 2020-10-09 腾讯科技(深圳)有限公司 Control calling method and device
CN107168960B (en) * 2016-03-07 2021-06-25 创新先进技术有限公司 Service execution method and device
CN107239460B (en) * 2016-03-28 2021-05-11 百度在线网络技术(北京)有限公司 Correlation search method, device and system for mobile equipment
CN107370775B (en) * 2016-05-11 2020-04-28 阿里巴巴集团控股有限公司 Method and system for starting application
CN111182132A (en) * 2016-05-13 2020-05-19 青岛海信移动通信技术股份有限公司 Information processing method and terminal
CN106487662B (en) * 2016-11-16 2020-03-17 湖南御泥坊化妆品有限公司 Information sharing method and device
CN106850563B (en) * 2016-12-28 2020-11-24 百富计算机技术(深圳)有限公司 Method and device for accessing payment terminal
CN107729482B (en) * 2017-10-17 2021-04-30 北京京东尚科信息技术有限公司 Method and device for collecting logs
CN107959727B (en) * 2017-12-14 2021-10-29 腾讯科技(深圳)有限公司 Method and device for communication between webpage and client
CN109448801A (en) * 2018-11-09 2019-03-08 医渡云(北京)技术有限公司 Medical data processing method and processing device, browser end, medium and electronic equipment
CN109670124A (en) * 2018-12-29 2019-04-23 北京城市网邻信息技术有限公司 A kind of method for page jump, device, equipment and storage medium
CN110309628B (en) * 2019-05-24 2021-06-01 北京指掌易科技有限公司 Method for safely sharing application of mobile terminal
CN110718219B (en) 2019-09-12 2022-07-22 百度在线网络技术(北京)有限公司 Voice processing method, device, equipment and computer storage medium
CN110718218B (en) * 2019-09-12 2022-08-23 百度在线网络技术(北京)有限公司 Voice processing method, device, equipment and computer storage medium
CN114721741A (en) * 2022-04-06 2022-07-08 珍岛信息技术(上海)股份有限公司 Webpage sharing method and system based on JS functional plug-in

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385607B (en) * 2010-11-23 2014-07-09 北京华达时代科技有限公司 Internet sharing application programming interface (API) port aggregation and monitoring technology
CN102937865A (en) * 2011-08-16 2013-02-20 上海盛畅网络科技有限公司 One-click type information sharing system and achieving method thereof
CN103001856B (en) * 2012-12-05 2015-12-23 华为软件技术有限公司 A kind of information sharing method and system, instant communication client and server
CN103997452A (en) * 2013-02-20 2014-08-20 腾讯科技(深圳)有限公司 Information sharing method and apparatus among multiple platforms

Also Published As

Publication number Publication date
CN104462478A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104462478B (en) Realize method, apparatus and client that mobile browser client accesses the web page
CN104601641B (en) Application link sharing method, apparatus and system
CN104615335B (en) A kind of information processing method, client
CN104486430A (en) Method, device and client for realizing data sharing in mobile browser client
CN104598257B (en) The method and apparatus of remote application operation
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN103440574B (en) Game payment processing method, client and system
KR101821511B1 (en) Data processing method based on instant messaging or social applications, and device thereof
CN103971228B (en) The payment request processing method of network opening platform virtual goodses, device and system
CN107526582B (en) Web game control method and device
TW201315630A (en) Extensible scheme for operating vehicle head unit as extended interface for mobile device
CN105975844B (en) A kind of login method and device
CN106993233A (en) Information processing method and device based on net cast
CN105978956B (en) A kind of method of offline file transmission, system, terminal device and server
CN105378661A (en) Resource package indexing
CN104967689B (en) A kind of data processing method and device
CN104698919A (en) Method and device for inspecting intelligent terminal
CN106075911A (en) A kind of generation method and device of the micro-end of web game
CN107710725A (en) For the method and system by number verification user
CN109523336A (en) Data processing method, device, electronic equipment and readable storage medium storing program for executing
CN112675533B (en) User archive information acquisition method and device based on cloud game
US8052525B2 (en) System for protecting on-line flash game, web server, method for providing webpage, and storage media recording that method execution program
CN106991581A (en) Information popularization method and device, server and electronic equipment
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN106528206A (en) Application starting control method and apparatus, and application installation package reinforcement apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190702

Termination date: 20211218

CF01 Termination of patent right due to non-payment of annual fee