WO2012116542A1 - Method and device for calling local applications by mobile terminal browser - Google Patents

Method and device for calling local applications by mobile terminal browser Download PDF

Info

Publication number
WO2012116542A1
WO2012116542A1 PCT/CN2011/079305 CN2011079305W WO2012116542A1 WO 2012116542 A1 WO2012116542 A1 WO 2012116542A1 CN 2011079305 W CN2011079305 W CN 2011079305W WO 2012116542 A1 WO2012116542 A1 WO 2012116542A1
Authority
WO
WIPO (PCT)
Prior art keywords
local application
tag
local
browser
link
Prior art date
Application number
PCT/CN2011/079305
Other languages
French (fr)
Chinese (zh)
Inventor
薛丹
蒋敏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012116542A1 publication Critical patent/WO2012116542A1/en

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
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits

Definitions

  • the present invention relates to a service application of a mobile terminal, and more particularly to a method and apparatus for a mobile terminal browser to invoke a local application. Background technique
  • Another object of the present invention is to provide a device for calling a local application in a browser of a mobile terminal to implement interaction between the browser and the local application.
  • a method for a mobile terminal browser to invoke a local application includes the following steps:
  • the apparatus for calling the local application by the mobile terminal browser includes: a webpage parser, configured to establish a link between the local application label and the corresponding local application by parsing the local application label included in the webpage;
  • An execution module configured to invoke a local application of the local application tag link according to a link click.
  • the local application tag includes at least a local application tag and a local application name.
  • the local application tag included in the parsing webpage includes: the webpage parser obtains the local application tag as a local application attribute by parsing the local application tag of the local application tag; the webpage parser parses the local application name according to the local application attribute, and obtains A link to the corresponding local app.
  • the local application that invokes the local application tag link includes: triggering, by the user to click the linked click event, the browser to invoke the local application tag link local application according to the third aspect of the present invention, the mobile terminal browser invokes
  • the local application method includes the following steps:
  • a device for a mobile terminal browser to invoke a local application includes:
  • a URL Uniform Resource Locator
  • the local application tag includes at least a local application tag and a local application name.
  • the parsing of the input local application tag includes: the URL parser parsing the local application tag of the local application tag, and obtaining a local application attribute of the local application tag; the URL parser parsing the local application name according to the local application attribute, and sending Invoke the corresponding local application's instructions.
  • the calling the local application corresponding to the local application label includes: calling the corresponding local application according to the calling instruction.
  • FIG. 1 is a flow chart of a method for invoking a local application by using a browser to open a webpage;
  • FIG. 2 is a schematic diagram of a device for executing a local application by a mobile terminal browser executing the method shown in FIG.
  • Fig. 3 is a flow chart for calling a local application by inputting in an address bar or a gotouri input box
  • Fig. 4 is a schematic diagram of a device for executing a local application by a mobile terminal browser executing the method shown in Fig. 3. detailed description
  • the method for calling a local application by a mobile terminal browser of the present invention includes the following steps:
  • the webpage may have a preset local application label, and the user may also write a local application label on the webpage, so that the webpage contains the corresponding local application.
  • Local application tags such as the 11 local application tags shown in Figure 1;
  • the local application of the local application tag link is invoked by clicking on the link.
  • Local application tags include local app tags (such as wtai: II, exemplified by wtai: ⁇ for example) and local app names (such as Camera ). As shown in Figure 1, the local application tag can include the following fields or one of them:
  • Wtai ⁇ camera, used to call the local camera
  • the text resource in the Wtai://sms/&& webpage is used to invoke the short message module, and the text resource in the webpage is put into the short message editing page;
  • Wtai / bookmark, used to call the local page saved by the browser
  • the resources in the Wtai://mms/&& webpage are used to call the edit page, and the resources in the webpage are placed in the edit page of mms;
  • FIG. 2 shows a device for a mobile terminal browser to execute a local application by performing the above method, including:
  • a webpage parser configured to establish the local by analyzing a local application tag included in the webpage a link between the application tag and the corresponding local application;
  • An execution module configured to invoke a local application of the local application tag link according to a user click on the link.
  • the user can open the webpage by using the mobile terminal browser, and then the user writes the local application label of wtai: ⁇ sms/13312345678&smscontent on the webpage, so that the local application label is included on the webpage.
  • the web page parser obtains the link to the short message sending module by parsing the local application tag wtai: II of the local application tag, obtaining the tag as a local application attribute, and then parsing the local application name sms/13312345678&smscontent according to the local application attribute.
  • the linked short message sending module is called, thereby executing the local application, that is, directly calling the sms short message sending interface, placing 133xxxxxxxx into the sender editing box of sms, and putting smscontent into sms short
  • the phone number and content are separated by &.
  • the user writes the corresponding content in the text of the page accessed by the browser, and then invokes the local application by clicking the link in the browser.
  • the html or wml text file currently accessed by the user contains a link formed by wtai:// plus the corresponding module name, which is defined by defining wtai: ⁇ + local application name in the html or wml tag.
  • the current web content needs to call the local app.
  • wtai II in the tag to indicate that the content in the form is required to call the local application interaction through wtai
  • the content of the short message is called to send the content of sms or mms, or the local application of the response can be called by the connection, and the wtai can be defined in the body, div or other html tags: // the resource file or the text content on the webpage is passed.
  • Short message or MMS is sent to realize the interaction between the browser and the local application.
  • a link ⁇ a> containing the wtai: // local application name format tag in the tag to call the local application; define the id wtai://local application in the ⁇ (1 ⁇ > tag, indicating the current div
  • the content needs to be passed to the local application (if required by the local application); or in other domain tags, the id flag is defined as wtai://local application name, the local application of the response is called, and the content of the domain tag is passed to the local Application use.
  • wml Wireless Markup Language
  • wtai wtai tag in the card
  • wtai can be used to pass the text in the browser.
  • Figure 3 shows the flow of calling the local application method by entering the local application tag in the browser menu. Specifically, Figure 3 shows the local application method by entering the local application tag in the address bar of the browser menu or the gotourl input box. Process.
  • another method for a mobile terminal browser of the present invention to invoke a local application includes the following steps:
  • a local application module (such as SMS) corresponding to the input local application tag is called to execute the local application.
  • the local application tag shown in Figure 3 also includes the local application tag wtai: // and the local app name; that is, the local app tag includes the following fields or one of them:
  • Wtai ⁇ camera, used to call the local camera
  • the text resource in the Wtai://sms/&& webpage is used to invoke the short message module, and the text resource in the webpage is put into the short message editing page;
  • Wtai://sms/mobile number & SMS content used to call the short message sending mechanism;
  • Wtai://history used to call the history of browser access;
  • Wtai / bookmark, used to call the local page saved by the browser
  • the resources in the Wtai://mms/&& webpage are used to call the edit page, and the resources in the webpage are placed in the edit page of mms;
  • Figure 4 shows the device for performing the local application of the method shown in Figure 3, including:
  • a URL parser for parsing a local application tag input in a gotouri input box or an address bar of a browser menu, and by calling the input local application tag, issuing a call command of the corresponding local application;
  • An execution module configured to invoke a local application according to the calling command.
  • the URL parser obtains the local application tag as a local application attribute by parsing the local application tag wtai: II of the local application tag; then the URL parser parses the local application name according to the local application attribute, and issues an instruction to invoke the corresponding local application. .
  • the execution module invokes the corresponding local application according to the call instruction.
  • the case of calling a local application as shown in Figures 3 and 4 is usually: The user is currently using a browser application to browse a web page or other text file, at which point the user enters wtai://+ through the browser menu gotouri input box or address bar. The corresponding application name and parameters are used to call the corresponding terminal local application.
  • the invention solves the problem of calling other local applications in the terminal browser and interacting by defining the wtai://local application name in the html or wml page, which facilitates the user to use other local applications in the browser. At the same time, the content in the browser is passed to the local application.
  • the invention solves the problem of calling other local applications in the terminal browser and interacting by defining the local application tag and the local application name, which facilitates the user to use other local applications in the browser, and realizes the browser.
  • the content in it is passed to the local app.

Abstract

Disclosed are a method and a device for calling local applications by a mobile terminal browser. One method of the present invention for calling local applications by a mobile terminal browser comprises: opening a mobile terminal webpage using a browser; resolving local application labels contained in the webpage, and establishing links between the local application labels and corresponding local applications; and clicking the links to call the local applications linked to the local application labels. Through the method of defining Wtai://local application name, the present invention solves the problem of calling other local applications in the terminal browser and interacting therewith, so that the user can conveniently use other local applications in the browser. At the same time, the content in the browser can be transmitted to and used by the local applications.

Description

移动终端浏览器调用本地应用的方法及装置 技术领域  Method and device for calling local application by mobile terminal browser
本发明涉及移动终端的业务应用, 特别涉及移动终端浏览器调用本地 应用的方法及装置。 背景技术  The present invention relates to a service application of a mobile terminal, and more particularly to a method and apparatus for a mobile terminal browser to invoke a local application. Background technique
随着移动通讯特别是 3G业务的快速发展,数据业务越来越成为移动终 端的发展方向,浏览器应用作为 3G时代的一个基本的业务已经被越来越多 的用户所接受。  With the rapid development of mobile communication, especially 3G services, data services have increasingly become the development direction of mobile terminals. As a basic service in the 3G era, browser applications have been accepted by more and more users.
现在大部分手机已经内置了浏览器应用, 当用户使用浏览器访问网页 或者浏览的过程中, 从服务器的获取的数据只能够动态地显示到浏览器页 面中。 尽管浏览器可以访问网页、 浏览网页, 但是用户调用本地应用还是 非常不便的, 特别是不能通过浏览器来来调用本地应用。 发明内容  Most mobile phones now have built-in browser applications. When users use a browser to access web pages or browse, the data obtained from the server can only be dynamically displayed in the browser page. Although the browser can access the web page and browse the web page, it is very inconvenient for the user to call the local application, especially the local application cannot be called through the browser. Summary of the invention
本发明的目的在于提供一种移动终端浏览器调用本地应用的方法, 以 便实现在浏览器与本地应用之间的交互。  It is an object of the present invention to provide a method for a mobile terminal browser to invoke a local application to effect interaction between a browser and a local application.
本发明的另一目的是提供一种移动终端浏览器中调用本地应用的装 置, 以便实现在浏览器与本地应用之间的交互。  Another object of the present invention is to provide a device for calling a local application in a browser of a mobile terminal to implement interaction between the browser and the local application.
根据本发明第一方面, 移动终端浏览器调用本地应用的方法包括以下 步驟:  According to a first aspect of the present invention, a method for a mobile terminal browser to invoke a local application includes the following steps:
通过浏览器打开移动终端网页;  Open the mobile terminal webpage through a browser;
通过解析所述网页中含有的本地应用标签, 建立所述本地应用标签与 对应的本地应用的链接; 根据对所述链接的点击, 调用所述本地应用标签链接的本地应用。 根据本发明第二方面, 移动终端浏览器调用本地应用的装置包括: 网页解析器, 用于通过解析网页含有的本地应用标签, 建立所述本地 应用标签与对应的本地应用的链接; Establishing a link between the local application tag and the corresponding local application by parsing the local application tag included in the webpage; The local application of the local application tag link is invoked based on the click on the link. According to the second aspect of the present invention, the apparatus for calling the local application by the mobile terminal browser includes: a webpage parser, configured to establish a link between the local application label and the corresponding local application by parsing the local application label included in the webpage;
执行模块, 用于根据链接点击, 调用所述本地应用标签链接的本地应 用。  An execution module, configured to invoke a local application of the local application tag link according to a link click.
在上述第一和第二方面中, 所述本地应用标签至少包括本地应用标记 和本地应用名。  In the above first and second aspects, the local application tag includes at least a local application tag and a local application name.
其中, 所述解析网页含有的本地应用标签包括: 网页解析器通过解析 本地应用标签的本地应用标记, 得到所述本地应用标签为本地应用属性; 网页解析器根据本地应用属性解析本地应用名, 得到相应的本地应用的链 接。  The local application tag included in the parsing webpage includes: the webpage parser obtains the local application tag as a local application attribute by parsing the local application tag of the local application tag; the webpage parser parses the local application name according to the local application attribute, and obtains A link to the corresponding local app.
其中, 调用所述本地应用标签链接的本地应用包括: 通过用户点击所 述链接的点击事件触发所述浏览器调用所述本地应用标签链接的本地应用 根据本发明第三方面, 移动终端浏览器调用本地应用的方法包括以下 步驟:  The local application that invokes the local application tag link includes: triggering, by the user to click the linked click event, the browser to invoke the local application tag link local application according to the third aspect of the present invention, the mobile terminal browser invokes The local application method includes the following steps:
在浏览器菜单地址栏输入本地应用标签;  Enter the local application tag in the address bar of the browser menu;
解析所输入的本地应用标签, 发出调用对应的本地应用的调用指令; 根据所述调用指令, 调用与所输入的本地应用标签对应的本地应用。 根据本发明的第四方面, 移动终端浏览器调用本地应用的装置包括: Parsing the input local application tag, issuing a call instruction of the corresponding local application; and calling the local application corresponding to the input local application tag according to the call instruction. According to a fourth aspect of the present invention, a device for a mobile terminal browser to invoke a local application includes:
URL (统一资源定位符)解析器, 用于解析在浏览器菜单地址栏输入 的本地应用标签, 通过解析所输入的本地应用标签, 发出调用对应的本地 应用的调用指令; a URL (Uniform Resource Locator) parser for parsing a local application tag input in a browser menu address bar, and by calling the input local application tag, issuing a call instruction of the corresponding local application;
执行模块, 用于根据所述调用指令, 调用与所输入的本地应用标签对 应的本地应用。 在上述第三和第四方面中, 所述本地应用标签至少包括本地应用标记 和本地应用名。 And an execution module, configured to invoke a local application corresponding to the input local application label according to the calling instruction. In the above third and fourth aspects, the local application tag includes at least a local application tag and a local application name.
其中, 通过解析所输入的本地应用标签包括: URL解析器解析本地应 用标签的本地应用标记, 得到所述本地应用标签的本地应用属性; URL解 析器根据所述本地应用属性解析本地应用名, 发出调用对应的本地应用的 指令。  The parsing of the input local application tag includes: the URL parser parsing the local application tag of the local application tag, and obtaining a local application attribute of the local application tag; the URL parser parsing the local application name according to the local application attribute, and sending Invoke the corresponding local application's instructions.
其中, 调用与所述本地应用标签对应的本地应用包括: 根据所述调用 指令, 调用对应的本地应用。  The calling the local application corresponding to the local application label includes: calling the corresponding local application according to the calling instruction.
本发明通过定义本地应用标记和本地应用名的方法解决了在终端浏览 器中调用其他本地应用, 并且进行交互的问题, 方便了用户在浏览器中使 用其他的本地应用, 同时实现了将浏览器中的内容传递给本地应用使用。 附图说明 图 1是本发明通过浏览器打开网页来实现调用本地应用方法的流程图; 图 2是执行图 1所示方法的移动终端浏览器调用本地应用的装置的原 理图;  The invention solves the problem of calling other local applications in the terminal browser and interacting by defining the local application tag and the local application name, which facilitates the user to use other local applications in the browser, and realizes the browser. The content in it is passed to the local app. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a method for invoking a local application by using a browser to open a webpage; FIG. 2 is a schematic diagram of a device for executing a local application by a mobile terminal browser executing the method shown in FIG.
图 3是通过在地址栏或者 gotouri输入框输入来调用本地应用的流程图; 图 4是执行图 3所示方法的移动终端浏览器调用本地应用的装置的原 理图。 具体实施方式  Fig. 3 is a flow chart for calling a local application by inputting in an address bar or a gotouri input box; Fig. 4 is a schematic diagram of a device for executing a local application by a mobile terminal browser executing the method shown in Fig. 3. detailed description
下面结合附图对本发明在浏览器中调用本地应用进行说明。  The invention will be described below by calling a local application in a browser in conjunction with the accompanying drawings.
参见图 1所示的通过浏览器打开网页来实现调用本地应用方法的流程, 本发明的一种移动终端浏览器调用本地应用的方法包括以下步驟:  Referring to the flow of opening a webpage through a browser to implement a method for calling a local application, the method for calling a local application by a mobile terminal browser of the present invention includes the following steps:
利用浏览器打开移动终端网页, 该网页上可以有预置的本地应用标签, 用户也可以在网页上写入本地应用标签, 使网页含有的对应于本地应用的 本地应用标签, 例如图 1所示的 11个本地应用标签; Open a mobile terminal webpage by using a browser, and the webpage may have a preset local application label, and the user may also write a local application label on the webpage, so that the webpage contains the corresponding local application. Local application tags, such as the 11 local application tags shown in Figure 1;
通过解析网页含有的本地应用标签, 建立所述本地应用标签与对应的 本地应用的链接;  Establishing a link between the local application tag and the corresponding local application by parsing the local application tag included in the webpage;
通过点击所述链接, 调用所述本地应用标签链接的本地应用。  The local application of the local application tag link is invoked by clicking on the link.
本地应用标签包括本地应用标记(如 wtai: II, 以下以 wtai: 〃为例进 行说明)和本地应用名 (如 Camera )。 如图 1所示, 本地应用标签可以包括 以下字段或者之一:  Local application tags include local app tags (such as wtai: II, exemplified by wtai: 〃 for example) and local app names (such as Camera ). As shown in Figure 1, the local application tag can include the following fields or one of them:
Wtai:〃 camera, 用于调用本地 camera;  Wtai: 〃 camera, used to call the local camera;
Wtai://sms, 用于调用本地短消息编辑页面;  Wtai://sms, used to call the local short message editing page;
Wtai://sms/&&网页中的文本资源, 用于调用短信模块, 将网页中的文 本资源放入短消息编辑页面;  The text resource in the Wtai://sms/&& webpage is used to invoke the short message module, and the text resource in the webpage is put into the short message editing page;
Wtai://sms/手机号码 &短信内容, 用于调用短消息发送机制;  Wtai://sms/mobile number & SMS content, used to call the short message sending mechanism;
Wtai://history, 用于调用浏览器访问的历史记录;  Wtai://history, used to call the history of browser access;
Wtai:/ bookmark, 用于调用浏览器保存的本地页面;  Wtai: / bookmark, used to call the local page saved by the browser;
Wtai://mms , 用于调用本地 mms编辑页面;  Wtai://mms , used to call the local mms edit page;
Wtai://mms/&&网页中的资源, 用于调用编辑页面, 将网页中的资源放 入 mms的编辑页面;  The resources in the Wtai://mms/&& webpage are used to call the edit page, and the resources in the webpage are placed in the edit page of mms;
Wtai://mms/手机号码&彩信文本 &彩信资源, 用于调用 mms发送机制; Wtai://Bluetooth, 用于调用蓝牙管理器功能;  Wtai://mms/mobile number & MMS text & MMS resources, used to call the mms sending mechanism; Wtai://Bluetooth, used to call the Bluetooth manager function;
Wtai://MMPlayer, 用于调用多媒体播放器功能;  Wtai://MMPlayer, used to call the multimedia player function;
Wtai://MMplayer/filename,用于调用多媒体播放器播放当前数据文件夹 的本地文件。  Wtai://MMplayer/filename, used to call the multimedia player to play the local file of the current data folder.
图 2显示了执行上述方法的移动终端浏览器调用本地应用的装置, 包 括:  FIG. 2 shows a device for a mobile terminal browser to execute a local application by performing the above method, including:
网页解析器, 用于通过解析网页含有的本地应用标签, 建立所述本地 应用标签与对应的本地应用的链接; a webpage parser, configured to establish the local by analyzing a local application tag included in the webpage a link between the application tag and the corresponding local application;
执行模块, 用于根据用户对链接的点击, 调用所述本地应用标签链接 的本地应用。  An execution module, configured to invoke a local application of the local application tag link according to a user click on the link.
举例来说, 如果用户想要调用短信发送应用, 用户可以利用移动终端 浏 览 器 打 开 网 页 , 然 后 用 户 在 网 页 上 写 入 wtai:〃 sms/13312345678&smscontent的本地应用标签, 使得网页上含有了该 本地应用标签。网页解析器通过解析本地应用标签的本地应用标记 wtai: II, 得到该标签为本地应用属性, 接着根据本地应用属性解析本地应用名 sms/13312345678&smscontent, 得到对短消息发送模块的链接。 此后, 根据 用户的链接点击, 调用所链接的短消息发送模块, 由此执行本地应用, 即 直接调用 sms短信发送界面,将 133xxxxxxxx放入 sms的发件人编辑框中, 将 smscontent放入 sms短消息内容编辑框中,手机号码和内容以 &分割其中。  For example, if the user wants to invoke the short message sending application, the user can open the webpage by using the mobile terminal browser, and then the user writes the local application label of wtai: 〃 sms/13312345678&smscontent on the webpage, so that the local application label is included on the webpage. . The web page parser obtains the link to the short message sending module by parsing the local application tag wtai: II of the local application tag, obtaining the tag as a local application attribute, and then parsing the local application name sms/13312345678&smscontent according to the local application attribute. Thereafter, according to the user's link click, the linked short message sending module is called, thereby executing the local application, that is, directly calling the sms short message sending interface, placing 133xxxxxxxx into the sender editing box of sms, and putting smscontent into sms short In the message content edit box, the phone number and content are separated by &.
图 1和图 2所示的调用本地应用的情况是移动终端当前正在使用浏览 器应用, 此时用户希望当前在浏览器应用中可以实现和其他本地应用模块 的交互。  The case of calling the local application shown in Figures 1 and 2 is that the mobile terminal is currently using the browser application, and the user wishes to implement interaction with other local application modules in the browser application.
因此, 用户通过在浏览器访问的页面文本中写入相应的内容, 然后通 过在浏览器中点击链接的方式调用本地应用。  Therefore, the user writes the corresponding content in the text of the page accessed by the browser, and then invokes the local application by clicking the link in the browser.
具体地说, 此时用户当前访问的 html或者 wml文本文件中含有 wtai:// 加上相应的模块名形成的链接, 通过在 html或者 wml标签中定义 wtai:〃 + 本地应用名的方式来说明当前网页内容需要调用本地应用。  Specifically, the html or wml text file currently accessed by the user contains a link formed by wtai:// plus the corresponding module name, which is defined by defining wtai:〃 + local application name in the html or wml tag. The current web content needs to call the local app.
对于 HTML (超文本标记语言)文本, 在通过在标签中定义 wtai: II 来表明此时表单中的内容是需要通过 wtai来调用本地应用交互, 可以实现 在浏览器中通过文本输入框输入手机号码和短信内容调用发送 sms 或者 mms 的内容, 也可以通过连接调用响应的本地应用, 还可以在 body, div 或者其他的 html标签中定义 wtai: //将网页上的资源文件或者文本内容通过 短消息或者彩信的方式发送, 实现浏览器和本地应用的交互。 For HTML (Hypertext Markup Language) text, by defining wtai: II in the tag to indicate that the content in the form is required to call the local application interaction through wtai, you can enter the mobile phone number through the text input box in the browser. And the content of the short message is called to send the content of sms or mms, or the local application of the response can be called by the connection, and the wtai can be defined in the body, div or other html tags: // the resource file or the text content on the webpage is passed. Short message or MMS is sent to realize the interaction between the browser and the local application.
举例来说, 在标签中定义含有 wtai: //本地应用名格式标记的链接 <a〉 来调用本地应用; 在<(1^〉标签中定义 id=wtai://本地应用, 说明当前 div中 的内容需要传递给本地应用 (如果本地应用需要)使用; 或者在其他的域 标签中定义 id标志为 wtai://本地应用名, 来调用响应的本地应用, 并且把 域标签的内容传递给本地应用使用。  For example, define a link <a> containing the wtai: // local application name format tag in the tag to call the local application; define the id=wtai://local application in the <(1^> tag, indicating the current div The content needs to be passed to the local application (if required by the local application); or in other domain tags, the id flag is defined as wtai://local application name, the local application of the response is called, and the content of the domain tag is passed to the local Application use.
对于 wml (无线标记语言)文本, 使用 $+变量名的方式获取当前文本 框的内容,或者通过在 card中定义 wtai标记来说明需要通过 wtai来调用本 地应用交互, 可以实现在浏览器中通过文本输入框输入手机号码和短信内 容调用发送 sms或者 mms的内容, 也可以通过连接调用响应的本地应用。  For wml (Wireless Markup Language) text, use the $+ variable name to get the content of the current text box, or by defining the wtai tag in the card to indicate that the local application interaction needs to be called through wtai, which can be used to pass the text in the browser. Enter the mobile phone number and SMS content in the input box to call the content that sends sms or mms. You can also call the responding local application through the connection.
图 3显示了通过在浏览器菜单输入本地应用标签来调用本地应用方法 的流程, 具体地说, 图 3显示了通过在浏览器菜单的地址栏或者 gotourl输 入框输入本地应用标签来调用本地应用方法的流程。  Figure 3 shows the flow of calling the local application method by entering the local application tag in the browser menu. Specifically, Figure 3 shows the local application method by entering the local application tag in the address bar of the browser menu or the gotourl input box. Process.
参见图 3 ,本发明的另一种移动终端浏览器调用本地应用的方法包括以 下步驟:  Referring to FIG. 3, another method for a mobile terminal browser of the present invention to invoke a local application includes the following steps:
在浏览器菜单 gotourl输入框或地址栏输入本地应用标签;  Enter the local application tag in the browser menu gogoul input box or address bar;
通过解析所输入的本地应用标签, 发出相应的调用指令;  By parsing the input local application tag, issuing a corresponding call instruction;
根据所述调用指令, 调用与所输入的本地应用标签对应的本地应用模 块(如 SMS )执行本地应用。  According to the call instruction, a local application module (such as SMS) corresponding to the input local application tag is called to execute the local application.
图 3所示的本地应用标签同样包括本地应用标记 wtai: //和本地应用名; 即本地应用标签包括以下字段或者之一:  The local application tag shown in Figure 3 also includes the local application tag wtai: // and the local app name; that is, the local app tag includes the following fields or one of them:
Wtai:〃 camera, 用于调用本地 camera;  Wtai: 〃 camera, used to call the local camera;
Wtai://sms, 用于调用本地短消息编辑页面;  Wtai://sms, used to call the local short message editing page;
Wtai://sms/&&网页中的文本资源, 用于调用短信模块, 将网页中的文 本资源放入短消息编辑页面; Wtai://sms/手机号码 &短信内容, 用于调用短消息发送机制; Wtai://history, 用于调用浏览器访问的历史记录; The text resource in the Wtai://sms/&& webpage is used to invoke the short message module, and the text resource in the webpage is put into the short message editing page; Wtai://sms/mobile number & SMS content, used to call the short message sending mechanism; Wtai://history, used to call the history of browser access;
Wtai:/ bookmark, 用于调用浏览器保存的本地页面;  Wtai: / bookmark, used to call the local page saved by the browser;
Wtai://mms , 用于调用本地 mms编辑页面;  Wtai://mms , used to call the local mms edit page;
Wtai://mms/&&网页中的资源, 用于调用编辑页面, 将网页中的资源放 入 mms的编辑页面;  The resources in the Wtai://mms/&& webpage are used to call the edit page, and the resources in the webpage are placed in the edit page of mms;
Wtai://mms/手机号码&彩信文本&彩信资源, 用于调用 mms发送机制; Wtai://Bluetooth, 用于调用蓝牙管理器功能;  Wtai://mms/mobile number & MMS text & MMS, used to call the mms sending mechanism; Wtai://Bluetooth, used to call the Bluetooth Manager function;
Wtai://MMPlayer, 用于调用多媒体播放器功能;  Wtai://MMPlayer, used to call the multimedia player function;
Wtai://MMplayer/filename,用于调用多媒体播放器播放当前数据文件夹 的本地文件。  Wtai://MMplayer/filename, used to call the multimedia player to play the local file of the current data folder.
图 4显示了执行图 3所示方法的本地应用的装置, 包括:  Figure 4 shows the device for performing the local application of the method shown in Figure 3, including:
URL解析器,用于解析在浏览器菜单 gotouri输入框或地址栏输入的本 地应用标签, 通过解析所输入的本地应用标签, 发出调用对应的本地应用 的调用命令;  a URL parser for parsing a local application tag input in a gotouri input box or an address bar of a browser menu, and by calling the input local application tag, issuing a call command of the corresponding local application;
执行模块, 用于根据所述调用命令, 调用本地应用。  An execution module, configured to invoke a local application according to the calling command.
URL解析器通过解析本地应用标签的本地应用标记 wtai: II,得到所述 本地应用标签为本地应用属性; 接着 URL解析器根据所述本地应用属性解 析本地应用名, 发出调用对应的本地应用的指令。 执行模块根据所述调用 指令, 调用相应的本地应用。  The URL parser obtains the local application tag as a local application attribute by parsing the local application tag wtai: II of the local application tag; then the URL parser parses the local application name according to the local application attribute, and issues an instruction to invoke the corresponding local application. . The execution module invokes the corresponding local application according to the call instruction.
图 3和图 4所示的调用本地应用的情况通常是: 用户当前正在使用浏 览器应用浏览网页或者其他的文本文件, 此时用户通过浏览器菜单 gotouri 输入框或者地址栏输入 wtai://+相应的应用名称及参数, 调用相应的终端本 地应用。  The case of calling a local application as shown in Figures 3 and 4 is usually: The user is currently using a browser application to browse a web page or other text file, at which point the user enters wtai://+ through the browser menu gotouri input box or address bar. The corresponding application name and parameters are used to call the corresponding terminal local application.
例如: 通过在地址栏或者 gotouri 输入框输入 wtai://camera, 调用其 camera应用;通过输入 wtai://sms调用其短消息编辑框;通过输入 wtai://sms/ 手机号码 &短信内容直接调用 sms 模块进行短信的发送; 通过输入 wtai://MMplayer, 调用多媒体播放器; 通过输入 wtai ://MMplayer/filename, 调 用 多 媒 体 播 放 器 播 放 对 应 的 文 件 , 例 如 : wtai://MMplayer/fs:/mod/root/l.mp3, 将直接调用多媒体播放器模块, 并且播 放路径名 为 fs:/mod/root/l.mp3 的多媒体文件, 其中路径名和 wtai://MMplayer以 /分隔; 通过输入 wtai://mms 调用 mms编辑界面; 通过 输入 Wtai://mms&手机号码 &content&filename;将对应的文件资源放入 mms 的 编 辑 页 面 , 例 如 : wtai:〃 mms&133xxxxxxxx&mmscontent&fs:/mod/root/l.jpg,将调用 mms编辑 界面, 并且把 133xxxxxxxx放入 mms的发件人编辑框, mmscontent放入 mms编辑的文本内容栏, fs :/mod/root/l .jpg所指示的文件内容作为附件放入 mms编辑框中。 For example: Call wtai://camera by entering it in the address bar or gotouri input box Camera application; call its short message edit box by inputting wtai://sms; directly call sms module to send SMS by inputting wtai://sms/phone number & SMS content; call multimedia playback by inputting wtai://MMplayer By entering wtai ://MMplayer/filename, call the multimedia player to play the corresponding file, for example: wtai://MMplayer/fs:/mod/root/l.mp3, the multimedia player module will be called directly, and play The path is named fs: / mod / root / l.mp3 multimedia file, where the path name and wtai://MMplayer are separated by /; by calling wtai://mms to call the mms editing interface; by entering Wtai://mms & mobile number &content&filename; Put the corresponding file resource into the mms edit page, for example: wtai:〃 mms&133xxxxxxxx&mmscontent&fs:/mod/root/l.jpg, the mms editing interface will be called, and 133xxxxxxxx will be placed in the sender edit box of mms, mmscontent In the text content bar edited by mms, the file contents indicated by fs :/mod/root/l .jpg are attached as attachments to the mms edit box.
本发明通过在 html或者 wml页面中定义 wtai://本地应用名的方法解决 了在终端浏览器中调用其他本地应用, 并且进行交互的问题, 方便了用户 在浏览器中使用其他的本地应用, 同时实现了将浏览器中的内容传递给本 地应用使用。  The invention solves the problem of calling other local applications in the terminal browser and interacting by defining the wtai://local application name in the html or wml page, which facilitates the user to use other local applications in the browser. At the same time, the content in the browser is passed to the local application.
尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领 域技术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原 理所作的修改, 都应当理解为落入本发明的保护范围。 工业实用性  Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the present invention should be construed as falling within the scope of the present invention. Industrial applicability
本发明通过定义本地应用标记和本地应用名的方法解决了在终端浏览 器中调用其他本地应用, 并且进行交互的问题, 方便了用户在浏览器中使 用其他的本地应用, 同时实现了将浏览器中的内容传递给本地应用使用。  The invention solves the problem of calling other local applications in the terminal browser and interacting by defining the local application tag and the local application name, which facilitates the user to use other local applications in the browser, and realizes the browser. The content in it is passed to the local app.

Claims

权利要求书 Claim
1、 一种移动终端浏览器调用本地应用的方法, 包括以下步驟: 通过浏览器打开移动终端网页;  A method for a mobile terminal browser to invoke a local application, comprising the steps of: opening a webpage of a mobile terminal through a browser;
通过解析所述网页中含有的本地应用标签, 建立所述本地应用标签与 对应的本地应用的链接;  Establishing a link between the local application tag and the corresponding local application by parsing the local application tag included in the webpage;
根据对所述链接的点击, 调用所述本地应用标签链接的本地应用。  The local application of the local application tag link is invoked based on the click on the link.
2、 根据权利要求 1所述的方法, 其中所述本地应用标签至少包括本地 应用标 i己和本地应用名。 2. The method of claim 1, wherein the local application tag comprises at least a local application identifier and a local application name.
3、 根据权利要求 2所述的方法, 其中所述解析网页含有的本地应用标 签包括: 3. The method according to claim 2, wherein the parsing webpage contains a local application tag comprising:
网页解析器通过解析本地应用标签的本地应用标记, 得到所述本地应 用标签为本地应用属性;  The web page parser obtains the local application tag as a local application attribute by parsing the local application tag of the local application tag.
网页解析器根据本地应用属性解析本地应用名, 得到相应的本地应用 的链接。  The web page parser resolves the local application name based on the local application properties and gets a link to the corresponding local application.
4、 根据权利要求 1所述的方法, 其中所述调用所述本地应用标签链接 的本地应用包括: 通过用户点击所述链接的点击事件触发所述浏览器调用 所述本地应用标签链接的本地应用。 4. The method of claim 1, wherein the invoking the local application of the local application tag link comprises: triggering, by a user clicking on the linked click event, the browser to invoke a local application of the local application tag link .
5、 一种移动终端浏览器调用本地应用的方法, 包括以下步驟: 在浏览器菜单地址栏输入本地应用标签; 5. A method for a mobile terminal browser to invoke a local application, comprising the steps of: inputting a local application label in a browser menu address bar;
解析所输入的本地应用标签, 发出调用对应的本地应用的调用指令; 根据所述调用指令, 调用与所输入的本地应用标签对应的本地应用。 Parsing the input local application tag, issuing a call instruction of the corresponding local application; and calling the local application corresponding to the input local application tag according to the call instruction.
6、 根据权利要求 5所述的方法, 其中所述本地应用标签至少包括本地 应用标 i己和本地应用名。 6. The method of claim 5, wherein the local application tag comprises at least a local application identifier and a local application name.
7、 根据权利要求 6所述的方法, 其中所述解析所输入的本地应用标签 包括: 7. The method of claim 6, wherein the parsing the input local application tag comprises:
统一资源定位符 URL解析器解析本地应用标签的本地应用标记, 得到 所述本地应用标签的本地应用属性;  The uniform resource locator resolves the local application tag of the local application tag to obtain the local application attribute of the local application tag.
接着 URL解析器根据所述本地应用属性解析本地应用名, 发出调用对 应的本地应用的指令。  The URL parser then parses the local application name based on the local application property and issues an instruction to invoke the corresponding local application.
8、 根据权利要求 5所述的方法, 其中所述调用与所述本地应用标签对 应的本地应用包括: 根据所述调用指令, 调用对应的本地应用。 8. The method of claim 5, wherein the invoking a local application corresponding to the local application tag comprises: invoking a corresponding local application according to the call instruction.
9、 一种移动终端浏览器调用本地应用的装置, 包括: 9. A device for calling a local application by a mobile terminal browser, comprising:
网页解析器, 用于通过解析网页含有的本地应用标签, 建立所述本地 应用标签与对应的本地应用的链接;  a webpage parser, configured to establish a link between the local application tag and a corresponding local application by parsing a local application tag included in the webpage;
执行模块, 用于根据对所述链接的点击, 调用所述本地应用标签链接 的本地应用。  An execution module, configured to invoke a local application of the local application tag link according to a click on the link.
10、 一种移动终端浏览器调用本地应用的装置, 包括以下步驟:10. A device for a mobile terminal browser to invoke a local application, comprising the steps of:
URL解析器, 用于解析在浏览器菜单地址栏输入的本地应用标签, 通 过解析所输入的本地应用标签, 发出调用对应的本地应用的调用指令; 执行模块, 用于根据所述调用指令, 调用与所输入的本地应用标签对 应的本地应用。 a URL parser, configured to parse a local application tag input in a browser menu address bar, and by calling the input local application tag, issue a call instruction of a corresponding local application; and an execution module, configured to invoke according to the call instruction The local app that corresponds to the local app tag you entered.
PCT/CN2011/079305 2011-02-28 2011-09-02 Method and device for calling local applications by mobile terminal browser WO2012116542A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110047109.7A CN102118504B (en) 2011-02-28 2011-02-28 Methods and devices for calling local applications by means of mobile terminal browser
CN201110047109.7 2011-02-28

Publications (1)

Publication Number Publication Date
WO2012116542A1 true WO2012116542A1 (en) 2012-09-07

Family

ID=44217088

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079305 WO2012116542A1 (en) 2011-02-28 2011-09-02 Method and device for calling local applications by mobile terminal browser

Country Status (2)

Country Link
CN (1) CN102118504B (en)
WO (1) WO2012116542A1 (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118504B (en) * 2011-02-28 2014-12-10 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser
WO2013026478A1 (en) * 2011-08-24 2013-02-28 Nokia Siemens Networks Oy Application program control
CN102393857B (en) * 2011-11-01 2014-04-09 中兴通讯股份有限公司 Method and system for local call based on web page
CN102662737B (en) * 2012-03-14 2014-06-11 优视科技有限公司 Calling method and device of extension program
CN103457982B (en) * 2012-06-05 2018-03-23 中兴通讯股份有限公司 A kind of method and apparatus of mobile Internet webpage and capacity of mobile terminal interaction
CN102831150B (en) * 2012-06-28 2016-01-27 宇龙计算机通信科技(深圳)有限公司 Browser and local exchange method, system and the terminal applied
ES2644250T3 (en) * 2012-12-18 2017-11-28 Huawei Technologies Co., Ltd. Procedure, device and interaction system between web applications
CN103970760B (en) * 2013-01-28 2018-09-04 腾讯科技(深圳)有限公司 A kind of web-page requests processing method and processing device
CN104049980B (en) * 2013-03-11 2017-09-29 联想(北京)有限公司 A kind of information processing method and device
CN104102537B (en) * 2013-04-07 2017-09-29 华为技术有限公司 A kind of application call method and user terminal
CN103279375B (en) * 2013-06-19 2016-08-10 百度在线网络技术(北京)有限公司 The method and apparatus running application program in a browser
CN103559086A (en) * 2013-10-30 2014-02-05 深圳全智达通信股份有限公司 Method and device for implementing message mechanism on basis of intention
CN103678508A (en) * 2013-11-21 2014-03-26 北京奇虎科技有限公司 Webpage opening method and device
WO2015074459A1 (en) 2013-11-21 2015-05-28 北京奇虎科技有限公司 Method and apparatus for opening webpage, invoking client, and creating light app
CN105262605B (en) 2014-07-17 2018-09-25 阿里巴巴集团控股有限公司 A kind of method, apparatus and system obtaining local information
CN104699776A (en) * 2015-03-10 2015-06-10 百度在线网络技术(北京)有限公司 Website navigation realizing method and device
CN105159787B (en) * 2015-08-17 2018-08-14 北京京东尚科信息技术有限公司 A kind of webpage action processing method and device
CN107370778B (en) * 2016-05-11 2020-06-30 阿里巴巴集团控股有限公司 Method and system for starting application
CN107436772A (en) * 2016-05-25 2017-12-05 秘密基地数位科技股份有限公司 Type according to electronic installation carries out online method
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
CN110417877B (en) * 2019-07-17 2022-05-31 视联动力信息技术股份有限公司 Audio and video service processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067733A1 (en) * 2005-09-08 2007-03-22 Microsoft Corporation Browser tab management
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN101464886A (en) * 2008-12-19 2009-06-24 上海全景数字技术有限公司 HTML label and attribute expansion method based on built-in browser
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433770B2 (en) * 2005-07-29 2013-04-30 Broadcom Corporation Combined local and network storage interface
CN101273608A (en) * 2005-09-28 2008-09-24 艾利森电话股份有限公司 Method and system of invoking MIDlet from a web browser on a local device
CN101431713B (en) * 2007-11-09 2010-07-14 中国移动通信集团公司 Resource access method and equipment
CN101488997A (en) * 2009-02-23 2009-07-22 惠州Tcl移动通信有限公司 Local searching method for mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067733A1 (en) * 2005-09-08 2007-03-22 Microsoft Corporation Browser tab management
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN101464886A (en) * 2008-12-19 2009-06-24 上海全景数字技术有限公司 HTML label and attribute expansion method based on built-in browser
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser

Also Published As

Publication number Publication date
CN102118504A (en) 2011-07-06
CN102118504B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
WO2012116542A1 (en) Method and device for calling local applications by mobile terminal browser
CN103853540B (en) Access the method and system of third-party application in operating system desktop
TWI787213B (en) Data acquisition method, system and device
CN103873918B (en) Image processing method, device and terminal
US10120847B2 (en) Methods for transforming requests for web content and devices thereof
WO2012155678A1 (en) Method and terminal for developing mobile phone application interface based on browser parsing manner
WO2013097592A1 (en) Script loading technology
WO2009021432A1 (en) A method and apparatus for activating application program by mobile terminal, and system thereof
JP2008199377A (en) Content circulation managing device, terminal device, program, and content circulation system
WO2012155593A1 (en) Method and system for performing local invocation with webpage
WO2013056564A1 (en) Browser core adaptation method and browser
WO2010051766A1 (en) Method and device for acquiring target resource information
EP2255285A1 (en) Apparatus, methods, and computer program products providing improved application development for electronic devices
KR100680050B1 (en) Apparatus control system and method
JP5267342B2 (en) Mashup program, mashup device, and mashup method
WO2011160402A1 (en) Information-prompting method for accessing mobile internet sites by mobile terminal and mobile terminal thereof
WO2010017828A1 (en) Secure browser-based access to web services
KR101359821B1 (en) Mobile communication apparatus having a plural of browser and control method thereof, and system for browsing markup page comprising the mobile communication apparatus and control method thereof
EP2175382B1 (en) Methods, module and network server for providing information to a mobile phone
TW457800B (en) Automatically communicate with web page
CN113946387A (en) APP sharing extension external calling method
WO2012129817A1 (en) Method and system for formal description of web service protocol semantics
WO2013034033A1 (en) Method and device for extending page tag, and computer storage medium
WO2011032437A1 (en) Method and system for implementing coordinated operation between web equipment and flash equipment
Palviainen et al. Browsing and development platform of mobile applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11860005

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11860005

Country of ref document: EP

Kind code of ref document: A1