[go: up one dir, main page]

CN102118504B - Methods and devices for calling local applications by means of mobile terminal browser - Google Patents

Methods and devices for calling local applications by means of mobile terminal browser Download PDF

Info

Publication number
CN102118504B
CN102118504B CN201110047109.7A CN201110047109A CN102118504B CN 102118504 B CN102118504 B CN 102118504B CN 201110047109 A CN201110047109 A CN 201110047109A CN 102118504 B CN102118504 B CN 102118504B
Authority
CN
China
Prior art keywords
local
application
local application
browser
applying label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110047109.7A
Other languages
Chinese (zh)
Other versions
CN102118504A (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110047109.7A priority Critical patent/CN102118504B/en
Publication of CN102118504A publication Critical patent/CN102118504A/en
Priority to PCT/CN2011/079305 priority patent/WO2012116542A1/en
Application granted granted Critical
Publication of CN102118504B publication Critical patent/CN102118504B/en
Active 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了移动终端浏览器调用本地应用的方法和装置。本发明的移动终端浏览器调用本地应用的方法之一包括:利用浏览器打开移动终端网页;通过解析网页含有的本地应用标签,建立所述本地应用标签与对应的本地应用的链接;通过点击所述链接,调用所述本地应用标签链接的本地应用。本发明通过定义wtai://本地应用名的方法解决了在终端浏览器中调用其他本地应用,并且进行交互的问题,方便了用户在浏览器中使用其他的本地应用,同时实现了将浏览器中的内容传递给本地应用使用。

The invention discloses a method and a device for calling a local application by a browser of a mobile terminal. One of the methods for calling a local application by a mobile terminal browser of the present invention includes: using a browser to open a mobile terminal web page; by analyzing the local application tags contained in the web page, establishing a link between the local application tag and the corresponding local application; The above link is used to invoke the local application linked by the local application label. The present invention solves the problem of calling and interacting with other local applications in the terminal browser by defining wtai://local application names, which facilitates users to use other local applications in the browser, and at the same time realizes the browser The content in is passed to the native application for use.

Description

移动终端浏览器调用本地应用的方法及装置Method and device for calling local application by mobile terminal browser

技术领域 technical field

本发明涉及移动终端的业务应用,特别涉及移动终端浏览器调用本地应用的方法及装置。The invention relates to service applications of mobile terminals, in particular to a method and a device for invoking local applications by browsers of mobile terminals.

背景技术 Background technique

随着移动通讯特别是3G业务的快速发展,数据业务越来越成为移动终端的发展方向,浏览器应用作为3G时代的一个基本的业务已经被越来越多的用户所接受。With the rapid development of mobile communications, especially 3G services, data services are increasingly becoming the development direction of mobile terminals, and browser applications, as a basic service in the 3G era, have been accepted by more and more users.

现在大部分手机已经内置了浏览器应用,当用户使用浏览器访问网页或者浏览的过程中,从服务器的获取的数据只能够动态地显示到浏览器页面中。尽管浏览器可以访问网页、浏览网页,但是用户调用本地应用还是非常不便的,特别是不能通过浏览器来来调用本地应用。Most mobile phones now have built-in browser applications. When a user uses a browser to access a web page or browse, the data obtained from the server can only be dynamically displayed on the browser page. Although the browser can access and browse the webpage, it is very inconvenient for the user to call the local application, especially the local application cannot be called through the browser.

发明内容 Contents of the invention

本发明的目的在于提供一种移动终端浏览器调用本地应用的方法,以便实现在浏览器与本地应用之间的交互。The purpose of the present invention is to provide a method for calling a local application by a mobile terminal browser, so as to realize the interaction between the browser and the local application.

本发明的另一目的是提供一种移动终端浏览器中调用本地应用的装置,以便实现在浏览器与本地应用之间的交互。Another object of the present invention is to provide a device for invoking a local application in a browser of a mobile terminal, so as to realize the interaction between the browser and the local application.

根据本发明第一方面,移动终端浏览器调用本地应用的方法包括以下步骤:According to the first aspect of the present invention, the method for calling the local application by the browser of the mobile terminal includes the following steps:

通过浏览器打开移动终端网页;Open the webpage of the mobile terminal through the browser;

通过解析所述终端网页中含有的本地应用标签,建立所述本地应用标签与对应的本地应用的链接;Establishing a link between the local application tag and a corresponding local application by parsing the local application tag contained in the terminal webpage;

通过点击所述链接,调用所述本地应用标签链接的本地应用。By clicking on the link, the local application linked by the local application label is invoked.

根据本发明第二方面,移动终端浏览器调用本地应用的装置包括:According to the second aspect of the present invention, the device for calling the local application by the browser of the mobile terminal includes:

浏览器,用于打开移动终端网页;A browser, used to open the webpage of the mobile terminal;

网页解析器,用于通过解析网页含有的本地应用标签,建立所述本地应用标签与对应的本地应用的链接;A webpage parser, configured to establish a link between the local application label and the corresponding local application by analyzing the local application label contained in the webpage;

执行模块,用于根据链接点击,调用所述本地应用标签链接的本地应用。An executing module, configured to call the local application linked by the local application label according to the click on the link.

在上述第一和第二方面中,所述本地应用标签至少包括本地应用标记和本地应用名。In the above first and second aspects, the local application label includes at least a local application label and a local application name.

其中,所述解析网页含有的本地应用标签包括:网页解析器通过解析本地应用标签的本地应用标记,得到所述本地应用标签为本地应用属性;网页解析器根据本地应用属性解析本地应用名,得到相应的本地应用的链接。Wherein, the parsing of the local application tags contained in the webpage includes: the webpage parser obtains the local application tags as local application attributes by parsing the local application tags of the local application tags; the webpage parser parses the local application name according to the local application attributes to obtain A link to the corresponding native app.

其中,调用所述本地应用标签链接的本地应用包括:根据用户的链接点击,调用所链接的本地应用。Wherein, invoking the local application linked by the local application label includes: invoking the linked local application according to the link clicked by the user.

根据本发明第三方面,移动终端浏览器调用本地应用的方法包括以下步骤:According to a third aspect of the present invention, the method for calling a local application by a mobile terminal browser includes the following steps:

在浏览器菜单地址栏输入本地应用标签;Enter the local application label in the browser menu address bar;

解析所输入的本地应用标签,发出相应的调用指令;Parse the input local application tags, and issue corresponding calling instructions;

根据所述调用指令,调用与所输入的本地应用标签对应的本地应用。According to the calling instruction, the local application corresponding to the input local application tag is called.

根据本发明的第四方面,移动终端浏览器调用本地应用的装置包括:According to the fourth aspect of the present invention, the device for calling the local application by the mobile terminal browser includes:

浏览器,用于在浏览器菜单地址栏输入本地应用标签;The browser is used to input the local application label in the address bar of the browser menu;

URL(统一资源定位符)解析器,用于通过解析所输入的本地应用标签,发出调用对应的本地应用的调用命令;A URL (Uniform Resource Locator) parser is configured to issue an invocation command for invoking a corresponding local application by parsing the input local application tag;

执行模块,用于根据所述调用命令,调用本地应用。The execution module is used for invoking the local application according to the invoking command.

在上述第三和第四方面中,所述本地应用标签至少包括本地应用标记和本地应用名。In the above third and fourth aspects, the local application label includes at least a local application mark and a local application name.

其中,通过解析所输入的本地应用标签包括:URL解析器解析本地应用标签的本地应用标记,得到所述本地应用标签为本地应用属性;URL解析器根据所述本地应用属性解析本地应用名,发出调用对应的本地应用的指令。Wherein, parsing the input local application tag includes: the URL parser parses the local application tag of the local application tag to obtain the local application tag as a local application attribute; the URL parser parses the local application name according to the local application attribute, and sends Invoke the instruction of the corresponding local application.

其中,调用与所述本地应用标签对应的本地应用包括:根据所述调用指令,调用对应的本地应用。Wherein, calling the local application corresponding to the local application label includes: calling the corresponding local application according to the calling instruction.

本发明通过定义本地应用标记和本地应用名的方法解决了在终端浏览器中调用其他本地应用,并且进行交互的问题,方便了用户在浏览器中使用其他的本地应用,同时实现了将浏览器中的内容传递给本地应用使用。The present invention solves the problem of calling and interacting with other local applications in the terminal browser by defining the local application mark and the local application name, which facilitates the user to use other local applications in the browser, and at the same time realizes the browser The content in is passed to the native application for use.

附图说明 Description of drawings

图1是本发明的通过浏览器打开网页来实现调用本地应用方法的流程图;Fig. 1 is the flowchart of the method for calling a local application by opening a webpage through a browser in the present invention;

图2是执行图1所示方法的移动终端浏览器调用本地应用的装置的原理图;FIG. 2 is a schematic diagram of a device for invoking a local application by a mobile terminal browser executing the method shown in FIG. 1;

图3是通过在地址栏或者gotourl输入框输入来调用本地应用的流程图;Figure 3 is a flow chart of invoking a local application by inputting in the address bar or gotourl input box;

图4是执行图3所示方法的移动终端浏览器调用本地应用的装置的原理图。FIG. 4 is a schematic diagram of a device for invoking a local application by a mobile terminal browser executing the method shown in FIG. 3 .

具体实施方式 Detailed ways

下面结合附图对本发明在浏览器中调用本地应用进行说明。The calling of a local application in a browser in the present invention will be described below with reference to the accompanying drawings.

参见图1所示的通过浏览器打开网页来实现调用本地应用方法的流程,本发明的一种移动终端浏览器调用本地应用的方法包括以下步骤:Referring to the process of calling a local application method by opening a webpage through a browser as shown in Figure 1, a method for calling a local application by a mobile terminal browser of the present invention includes the following steps:

利用浏览器打开移动终端网页,该网页上可以有预置的本地应用标签,用户也可以在网页上写入本地应用标签,使网页含有的对应于本地应用的本地应用标签,例如图1所示的11个本地应用标签;Use the browser to open the webpage of the mobile terminal. There can be preset local application tags on the webpage, and the user can also write local application tags on the webpage so that the webpage contains local application tags corresponding to the local application, as shown in Figure 1, for example. 11 native app tags for ;

通过解析网页含有的本地应用标签,建立所述本地应用标签与对应的本地应用的链接;Establishing a link between the local application label and the corresponding local application by analyzing the local application label contained in the webpage;

通过点击所述链接,调用所述本地应用标签链接的本地应用。By clicking on the link, the local application linked by the local application label is invoked.

本地应用标签包括本地应用标记(如wtai://,以下以wtai://为例进行说明)和本地应用名(如Camera)。如图1所示,本地应用标签可以包括以下字段或者之一:The local application tag includes a local application mark (such as wtai://, which will be described below using wtai:// as an example) and a local application name (such as Camera). As shown in Figure 1, the local application tag may include or one of the following fields:

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/&& the text resources in the webpage, used to call the SMS module, and put the text resources in the webpage into the short message editing page;

Wtai://sms/手机号码&短信内容,用于调用短消息发送机制;Wtai://sms/mobile phone number & text message 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 editing page;

Wtai://mms/&&网页中的资源,用于调用编辑页面,将网页中的资源放入mms的编辑页面;Wtai://mms/&& the resources in the webpage, used to call the editing page, and put the resources in the webpage into the editing page of mms;

Wtai://mms/手机号码&彩信文本&彩信资源,用于调用mms发送机制;Wtai://mms/Mobile phone number & MMS text & MMS resources, used to call the mms sending mechanism;

Wtai://Bluetooth,用于调用蓝牙管理器功能;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 in the current data folder.

图2显示了执行上述方法的移动终端浏览器调用本地应用的装置,包括:Fig. 2 has shown the device that the mobile terminal browser of carrying out above-mentioned method calls local application, comprises:

浏览器,用于打开移动终端网页;A browser, used to open the webpage of the mobile terminal;

网页解析器,用于通过解析网页含有的本地应用标签,建立所述本地应用标签与对应的本地应用的链接;A webpage parser, configured to establish a link between the local application label and the corresponding local application by analyzing the local application label contained in the webpage;

执行模块,用于根据用户对链接的点击,调用所述本地应用标签链接的本地应用。An execution module, configured to call the local application linked by the local application label according to the user's click on the link.

举例来说,如果用户想要调用短信发送应用,用户可以利用移动终端浏览器打开网页,然后用户在网页上写入wtai://sms/13312345678&smscontent的本地应用标签,使得网页上含有了该本地应用标签。网页解析器通过解析本地应用标签的本地应用标记wtai://,得到该标签为本地应用属性,接着根据本地应用属性解析本地应用名sms/13312345678&smscontent,得到对短消息发送模块的链接。此后,根据用户的链接点击,调用所链接的短消息发送模块,由此执行本地应用,即直接调用sms短信发送界面,将133xxxxxxxx放入sms的发件人编辑框中,将smscontent放入sms短消息内容编辑框中,手机号码和内容以&分割其中。For example, if the user wants to call the SMS sending application, the user can use the mobile terminal browser to open the webpage, and then the user writes the local application tag of wtai://sms/13312345678&smscontent on the webpage, so that the local application is included on the webpage Label. The web page parser parses the local application tag wtai:// of the local application tag to obtain that the tag is a local application attribute, and then parses the local application name sms/13312345678&smscontent according to the local application attribute to obtain a link to the short message sending module. Thereafter, according to the user's link click, call the linked short message sending module, thereby execute the local application, that is, directly call the sms short message sending interface, put 133xxxxxxxx into the sender edit box of sms, and put smscontent into the sms short message In the message content edit box, the phone number and content are separated by &.

图1和图2所示的调用本地应用的情况是移动终端当前正在使用浏览器应用,此时用户希望当前在浏览器应用中可以实现和其他本地应用模块的交互。The situation of invoking a local application shown in FIG. 1 and FIG. 2 is that the mobile terminal is currently using a browser application, and at this time, the user hopes that the current browser application can interact with other local application modules.

因此,用户通过在浏览器访问的页面文本中写入相应的内容,然后通过在浏览器中点击链接的方式调用本地应用。Therefore, the user writes corresponding content in the page text accessed by the browser, and then invokes the local application by clicking a link in the browser.

具体地说,此时用户当前访问的html或者wml文本文件中含有wtai://加上相应的模块名形成的链接,通过在html或者wml标签中定义wtai://+本地应用名的方式来说明当前网页内容需要调用本地应用。Specifically, at this time, the html or wml text file currently accessed by the user contains a link formed by wtai:// plus the corresponding module name, by defining wtai://+local application name in the html or wml tag Indicates that the content of the current web page needs to call a local application.

对于HTML(超文本标记语言)文本,在通过在标签中定义wtai://来表明此时表单中的内容是需要通过wtai来调用本地应用交互,可以实现在浏览器中通过文本输入框输入手机号码和短信内容调用发送sms或者mms的内容,也可以通过连接调用响应的本地应用,还可以在body,div或者其他的html标签中定义wtai://将网页上的资源文件或者文本内容通过短消息或者彩信的方式发送,实现浏览器和本地应用的交互。For HTML (Hypertext Markup Language) text, define wtai:// in the tag to indicate that the content in the form needs to call the local application interaction through wtai, which can be input into the mobile phone through the text input box in the browser. The number and text message content can be called to send the content of sms or mms, or the corresponding local application can be called through the connection, and wtai:// can be defined in the body, div or other html tags to pass the resource file or text content on the web page through the short Message or MMS to realize the interaction between the browser and the local application.

举例来说,在标签中定义含有wtai://本地应用名格式标记的链接<a>来调用本地应用;在<div>标签中定义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 id=wtai://local application in the <div> tag to describe the content in the current div It needs to be passed to the local application (if the local application needs it); or define the id flag as wtai://local application name in other domain tags to call the corresponding local application and pass the content of the domain tag to the local application for use .

对于wml(无线标记语言)文本,使用$+变量名的方式获取当前文本框的内容,或者通过在card中定义wtai标记来说明需要通过wtai来调用本地应用交互,可以实现在浏览器中通过文本输入框输入手机号码和短信内容调用发送sms或者mms的内容,也可以通过连接调用响应的本地应用。For wml (Wireless Markup Language) text, use $+ variable name to get the content of the current text box, or define the wtai tag in the card to indicate the need to call the local application interaction through wtai, which can be realized in the browser through the text Enter the mobile phone number and text message content in the input box to call the content of sending sms or mms, or call the corresponding local application through the connection.

图3显示了通过在浏览器菜单输入本地应用标签来调用本地应用方法的流程,具体地说,图3显示了通过在浏览器菜单的地址栏或者gotourl输入框输入本地应用标签来调用本地应用方法的流程。Figure 3 shows the process of calling a local application method by entering a local application tag in the browser menu, specifically, Figure 3 shows the process of calling a local application method by entering a local application tag in the address bar or gotourl input box of the browser menu process.

参见图3,本发明的另一种移动终端浏览器调用本地应用的方法包括以下步骤:Referring to Fig. 3, another method for calling a local application by a mobile terminal browser of the present invention includes the following steps:

在浏览器菜单gotourl输入框或地址栏输入本地应用标签;Enter the local application label in the browser menu gotourl input box or address bar;

通过解析所输入的本地应用标签,发出相应的调用指令;By parsing the input local application tags, a corresponding calling instruction is issued;

根据所述调用指令,调用与所输入的本地应用标签对应的本地应用模块(如SMS)执行本地应用。According to the calling instruction, the 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 application name; that is, the local application tag includes or one of the following fields:

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/&& the text resources in the webpage, used to call the SMS module, and put the text resources in the webpage into the short message editing page;

Wtai://sms/手机号码&短信内容,用于调用短消息发送机制;Wtai://sms/mobile phone number & text message 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 editing page;

Wtai://mms/&&网页中的资源,用于调用编辑页面,将网页中的资源放入mms的编辑页面;Wtai://mms/&& the resources in the webpage, used to call the editing page, and put the resources in the webpage into the editing page of mms;

Wtai://mms/手机号码&彩信文本&彩信资源,用于调用mms发送机制;Wtai://mms/Mobile phone number & MMS text & MMS resources, used to call the mms sending mechanism;

Wtai://Bluetooth,用于调用蓝牙管理器功能;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 in the current data folder.

图4显示了执行图3所示方法的本地应用的装置,包括:Fig. 4 has shown the local application device that carries out the method shown in Fig. 3, comprises:

浏览器,用于在浏览器菜单gotourl输入框或地址栏输入本地应用标签;The browser is used to input the local application label in the browser menu gotourl input box or the address bar;

URL解析器,用于通过解析所输入的本地应用标签,发出调用对应的本地应用的调用命令;The URL parser is configured to issue an invocation command for invoking the corresponding local application by parsing the input local application tag;

执行模块,用于根据所述调用命令,调用本地应用。The execution module is used for invoking the local application according to the invoking command.

URL解析器通过解析本地应用标签的本地应用标记wtai://,得到所述本地应用标签为本地应用属性;接着URL解析器根据所述本地应用属性解析本地应用名,发出调用对应的本地应用的指令。执行模块根据所述调用指令,调用相应的本地应用。The URL parser obtains the local application tag as a local application attribute by parsing the local application tag wtai:// of the local application tag; then the URL parser parses the local application name according to the local application attribute, and issues a call to the corresponding local application. instruction. The execution module calls the corresponding local application according to the calling instruction.

图3和图4所示的调用本地应用的情况通常是:用户当前正在使用浏览器应用浏览网页或者其他的文本文件,此时用户通过浏览器菜单gotourl输入框或者地址栏输入wtai://+相应的应用名称及参数,调用相应的终端本地应用。The situation of invoking local applications shown in Figure 3 and Figure 4 is usually: the user is currently using a browser application to browse web pages or other text files, and at this time the user enters wtai://+ through the browser menu gotourl input box or address bar The corresponding application name and parameters are used to call the corresponding terminal local application.

例如:通过在地址栏或者gotourl输入框输入wtai://camera,调用其camera应用;通过输入wtai://sms调用其短消息编辑框;通过输入wtai://sms/手机号码&短信内容直接调用sms模块进行短信的发送;通过输入wtai://MMplayer,调用多媒体播放器;通过输入wtai://MMplayer/filename,调用多媒体播放器播放对应的文件,例如:wtai://MMplayer/fs:/mod/root/1.mp3,将直接调用多媒体播放器模块,并且播放路径名为fs:/mod/root/1.mp3的多媒体文件,其中路径名和wtai://MMplayer以/分隔;通过输入wtai://mms调用mms编辑界面;通过输入Wtai://mms&手机号码&content&filename;将对应的文件资源放入mms的编辑页面,例如:wtai://mms&133xxxxxxxx&mmscontent&fs:/mod/root/1.jpg,将调用mms编辑界面,并且把133xxxxxxxx放入mms的发件人编辑框,mmscontent放入mms编辑的文本内容栏,fs:/mod/root/1.jpg所指示的文件内容作为附件放入mms编辑框中。For example: by entering wtai://camera in the address bar or gotourl input box, call its camera application; by entering wtai://sms to call its short message edit box; by entering wtai://sms/mobile phone number & SMS content directly Call the sms module to send text messages; call the multimedia player by entering wtai://MMplayer; call the multimedia player to play the corresponding file by entering wtai://MMplayer/filename, for example: wtai://MMplayer/fs: /mod/root/1.mp3, will directly call the multimedia player module, and play the multimedia file with the path name fs:/mod/root/1.mp3, where the path name and wtai://MMplayer are separated by /; by inputting wtai://mms calls the mms editing interface; enter Wtai://mms&mobile phone number&content&filename; put the corresponding file resources into the mms editing page, for example: wtai://mms&133xxxxxxxx&mmscontent&fs:/mod/root/1.jpg, Call the mms editing interface, and put 133xxxxxxxx into the sender edit box of mms, mmscontent into the text content column of mms edit, and put the file content indicated by fs:/mod/root/1.jpg as an attachment into mms edit box.

本发明通过在html或者wml页面中定义wtai://本地应用名的方法解决了在终端浏览器中调用其他本地应用,并且进行交互的问题,方便了用户在浏览器中使用其他的本地应用,同时实现了将浏览器中的内容传递给本地应用使用。The present invention solves the problem of calling and interacting with other local applications in the terminal browser by defining the wtai://local application name in the html or wml page, and facilitates the user to use other local applications in the browser. At the same time, the content in the browser is delivered to the local application for use.

尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the present invention has been described in detail above, the present invention is not limited thereto, and various modifications can be made by those skilled in the art based on the principle of the present invention. Therefore, any modifications made according to the principles of the present invention should be understood as falling within the protection scope of the present invention.

Claims (6)

1. browser of mobile terminal calls a method for local application, comprises the following steps:
Open the mobile terminal webpage that presets local applying label by browser;
By resolving the described local applying label in described terminal webpage, set up described local applying label and linking that apply corresponding this locality;
Click described link, call this locality application of described local applying label link;
Wherein, described local applying label comprises local application mark and local apply names;
Wherein, the local applying label that described analyzing web page contains comprises:
Webpage resolver, by resolving described local application mark, obtains local apply property;
Webpage resolver is resolved local apply names according to local apply property, obtains the link of corresponding local application;
Wherein, described local application is labeled as the character that obtains described local apply property for resolving.
2. method according to claim 1, wherein said this locality application of calling described local applying label link comprises: according to user's link clicks, call linked this locality application.
3. browser of mobile terminal calls a method for local application, comprises the following steps:
Input local applying label at browser menu address field;
Resolve the local applying label of inputting, send corresponding call instruction;
According to described call instruction, call this locality application corresponding with inputted local applying label;
Wherein, described local applying label comprises local application mark and local apply names;
Wherein, wherein comprise by resolving the local applying label of inputting:
This locality application mark of the local applying label of URL resolver resolves, obtaining described local applying label is local apply property;
URL resolver is resolved local apply names according to described local apply property, sends the instruction of calling corresponding this locality application;
Wherein, described local application is labeled as the character that obtains described local apply property for resolving.
4. method according to claim 3, wherein saidly calls this locality corresponding with described local applying label application and comprises: according to described call instruction, call corresponding this locality application.
5. browser of mobile terminal calls a device for local application, comprising:
Browser, for opening the mobile terminal webpage that presets local applying label;
Webpage resolver, for by the described local applying label of analyzing web page, sets up described local applying label and linking that apply corresponding this locality;
Executive Module, for according to the click to described link, calls this locality application of described local applying label link;
Wherein, described local applying label comprises local application mark and local apply names;
Wherein, described webpage resolver, by resolving described local application mark, obtains local apply property;
Wherein, described webpage resolver is resolved local apply names according to local apply property, obtains the link of corresponding local application;
Wherein, described local application is labeled as the character that obtains described local apply property for resolving.
6. browser of mobile terminal calls a device for local application, comprising:
Browser, for inputting local applying label at browser menu address field;
URL resolver, for the local applying label of inputting by parsing, sends the call instruction that calls corresponding this locality application;
Executive Module, for according to described call instruction, calls local application;
Wherein, described local applying label comprises local application mark and local apply names;
Wherein, this locality application mark of the local applying label of URL resolver resolves, obtaining described local applying label is local apply property;
Wherein, wherein URL resolver is resolved local apply names according to described local apply property, sends the instruction of calling corresponding this locality application;
Wherein, described local application is labeled as the character that obtains described local apply property for resolving.
CN201110047109.7A 2011-02-28 2011-02-28 Methods and devices for calling local applications by means of mobile terminal browser Active CN102118504B (en)

Priority Applications (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
PCT/CN2011/079305 WO2012116542A1 (en) 2011-02-28 2011-09-02 Method and device for calling local applications by mobile terminal browser

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN102118504A CN102118504A (en) 2011-07-06
CN102118504B true CN102118504B (en) 2014-12-10

Family

ID=44217088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110047109.7A Active CN102118504B (en) 2011-02-28 2011-02-28 Methods and devices for calling local applications by means of 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
KR20160118378A (en) * 2011-08-24 2016-10-11 노키아 솔루션스 앤드 네트웍스 오와이 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
WO2014094240A1 (en) * 2012-12-18 2014-06-26 华为技术有限公司 Internet application interaction method, device and system
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 北京奇虎科技有限公司 Method and device for opening a webpage
US10402464B2 (en) 2013-11-21 2019-09-03 Beijing Qihoo Technology Company Limited Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
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 秘密基地数位科技股份有限公司 Method for performing on-line according to type of electronic device
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 视联动力信息技术股份有限公司 Method and device for processing audio and video services

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101273608A (en) * 2005-09-28 2008-09-24 艾利森电话股份有限公司 Method and system of invoking MIDlet from a web browser on a local device
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN101431713A (en) * 2007-11-09 2009-05-13 中国移动通信集团公司 Resource access method and device
CN101488997A (en) * 2009-02-23 2009-07-22 惠州Tcl移动通信有限公司 Local searching method for mobile phone

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
US7673233B2 (en) * 2005-09-08 2010-03-02 Microsoft Corporation Browser tab management
CN101464886A (en) * 2008-12-19 2009-06-24 上海全景数字技术有限公司 HTML label and attribute expansion method based on built-in browser
CN102118504B (en) * 2011-02-28 2014-12-10 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101273608A (en) * 2005-09-28 2008-09-24 艾利森电话股份有限公司 Method and system of invoking MIDlet from a web browser on a local device
CN101431713A (en) * 2007-11-09 2009-05-13 中国移动通信集团公司 Resource access method and device
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN101488997A (en) * 2009-02-23 2009-07-22 惠州Tcl移动通信有限公司 Local searching method for mobile phone

Also Published As

Publication number Publication date
CN102118504A (en) 2011-07-06
WO2012116542A1 (en) 2012-09-07

Similar Documents

Publication Publication Date Title
CN102118504B (en) Methods and devices for calling local applications by means of mobile terminal browser
CN102393857B (en) Method and system for local call based on web page
CN105045887B (en) The system and method for mixed mode cross-domain data interaction
CN103237083B (en) A kind of mobile information service resource paradigmatic system and method
CN103873918B (en) Image processing method, device and terminal
CN106445518A (en) Method and system for developing cross-platform mobile terminal application
CN103970760B (en) A kind of web-page requests processing method and processing device
CN101741872B (en) Method and device for acquiring information of target resources
CN101553812A (en) Dynamic Device Profile Interface
EP2156606A1 (en) Web page transcoding method and system applying queries to plain text
CN108416021B (en) Browser webpage content processing method and device, electronic equipment and readable medium
CN103853540A (en) Method and system for accessing third-party application on operating system desktop
CN107070870A (en) A kind of data capture method and device
WO2012155678A1 (en) Method and terminal for developing mobile phone application interface based on browser parsing manner
CN113076294B (en) Information sharing method and device
CN102915371B (en) Method for dynamically referencing files on web page
CN106790276A (en) A kind of browser-cross data interactive method and device based on browser protocol
CN101876998B (en) Method and system for editing data
CN101771928A (en) Method and system and proxy server for Webpage transmitting
CN105528369A (en) Webpage transcoding method and device and server
CN102253986A (en) Method and device for improving webpage displaying effect in multiple terminals
CN102681848B (en) Develop in microtec mode and the method for accessed web page, device, terminal and system
CN102629943B (en) A kind of method of mobile broadband equipment and mobile broadband service process thereof
CN112131024A (en) Multifunctional jumping method, device, electronic device and storage medium for light application
WO2001048630A9 (en) Client-server data communication system and method for data transfer between a server and different clients

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200720

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee after: Nanjing Zhongxing Software Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.