首页> 外国专利> METHOD AND APPARATUS FOR REALIZING COMMUNICATION BETWEEN WEB PAGE AND NATIVE APPLICATION, AND ELECTRONIC DEVICE

METHOD AND APPARATUS FOR REALIZING COMMUNICATION BETWEEN WEB PAGE AND NATIVE APPLICATION, AND ELECTRONIC DEVICE

机译:用于实现网页与本地应用之间的通信以及电子设备的方法和装置

摘要

A method for communication of a native application on a terminal includes: receiving a first response from a web server in response to a web page access request initiated via the apparatus, wherein the first response comprises an identifier and version information of an application; selecting a port and initiating, to a local server on the apparatus, an access request carrying an identification of the selected port; determining whether a second response carrying an identifier and version information of a native application bound with the selected port on the terminal is received from the local server; in response to determining that the second response is received, determining whether the identifier of the native application and the identifier of the application in the first response are the same; and in response to determining that the identifiers are the same, adjusting an operation prompt according to the version information of the native application and the version information of the application in the first response.
机译:一种用于在终端上通信本机应用程序的方法,包括:响应于经由所述装置发起的网页访问请求,从网络服务器接收第一响应,其中,所述第一响应包括应用程序的标识符和版本信息;以及选择端口,并向该设备上的本地服务器发起携带所选择的端口的标识的访问请求;确定是否从本地服务器接收到第二响应,该第二响应中携带有与终端上选择的端口绑定的本机应用的标识和版本信息。响应于确定接收到第二响应,确定本地应用的标识与第一响应中的应用的标识是否相同;响应于确定标识符相同,根据第一响应中的本机应用程序的版本信息和应用程序的版本信息调整操作提示。

著录项

  • 公开/公告号US2019213231A1

    专利类型

  • 公开/公告日2019-07-11

    原文格式PDF

  • 申请/专利权人 ALIBABA GROUP HOLDING LIMITED;

    申请/专利号US201916356506

  • 发明设计人 WEI WANG;

    申请日2019-03-18

  • 分类号G06F16/957;G06F16/955;H04L29/08;H04L29/06;

  • 国家 US

  • 入库时间 2022-08-21 12:12:37

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号