WO2018201365A1 - 一种网页访问方法和终端设备 - Google Patents

一种网页访问方法和终端设备 Download PDF

Info

Publication number
WO2018201365A1
WO2018201365A1 PCT/CN2017/082966 CN2017082966W WO2018201365A1 WO 2018201365 A1 WO2018201365 A1 WO 2018201365A1 CN 2017082966 W CN2017082966 W CN 2017082966W WO 2018201365 A1 WO2018201365 A1 WO 2018201365A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
terminal device
webpage
access request
web address
Prior art date
Application number
PCT/CN2017/082966
Other languages
English (en)
French (fr)
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 深圳市卓希科技有限公司
Priority to PCT/CN2017/082966 priority Critical patent/WO2018201365A1/zh
Publication of WO2018201365A1 publication Critical patent/WO2018201365A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Definitions

  • the present invention relates to the field of computers, and in particular, to a webpage access method and a terminal device.
  • the existing browser-compatible webpage format is more and more rich, enabling users to access various types of webpages through a browser, and then when a user accesses an unsupported webpage through a browser, the layout effect of the webpage on the browser is There may be errors that affect the user's reading.
  • the technical problem to be solved by the embodiments of the present invention is to provide a webpage access method and terminal. Provides good support when users visit web pages.
  • an embodiment of the present invention provides a method for managing an application.
  • a terminal device receives a webpage access request, where the webpage access request may be generated by a browser of the terminal device, or may be embedded
  • the embodiments of the present invention are not limited by the other applications of the browser.
  • the terminal device parses the web address carried in the webpage access request, and the terminal device identifies whether the terminal device installs an application associated with the web address, and if so, launches the associated application, and instructs the associated application to access the web address.
  • the terminal device when receiving the webpage access request, determines whether the webpage indicated by the webpage access request has an associated application, and if so, starts the associated application, and switches the associated application to the foreground, and Indicates the associated application access URL, because the application is well compatible with the corresponding server's web page, so it can provide good support for the display of the web page.
  • the receiving the webpage access request comprises: the terminal device receiving the webpage access request input by the user through the browser, for example, the user generates the webpage access request through the address bar of the browser, or the user clicks The link address on the web page generates a web page access request.
  • the determining whether the terminal device is installed with the URL-related application comprises: obtaining a first-level URL in the website, and the first-level website identifying the website corresponding to the website, according to the preset mapping Obtaining an application associated with the first web address, acquiring a terminal device The application list determines whether the associated application is in the application list. If yes, it is determined that the terminal device is installed with the application associated with the URL.
  • the method further includes: if the terminal device is installed with an application associated with the web address, sending a webpage access request to the server indicated by the webpage, and displaying the associated application on the user interface Download link address.
  • the embodiment of the present invention further provides a terminal device, including:
  • a receiving module configured to receive a webpage access request
  • a determining module configured to determine a web address of the webpage access request indication
  • An identification module configured to identify whether the terminal device is installed with an application associated with the web address
  • an indication module configured to: if the recognition result of the identification module is yes, start the associated application, and instruct the associated application to access the website address.
  • the receiving module is configured to:
  • a web page access request input by a user through a browser installed in the terminal device is received.
  • the identifying module is configured to:
  • the terminal device further includes:
  • a requesting module if the terminal device is not installed with an application associated with the web address
  • the terminal device further includes:
  • an installation module configured to receive a download request for the download link address, download an installation package of the associated application to the server, and install the installation package.
  • an embodiment of the present invention provides a terminal device, including a memory, a processor, and a transceiver, where the memory stores program code, and the processor calls the program code for execution.
  • a terminal device including a memory, a processor, and a transceiver, where the memory stores program code, and the processor calls the program code for execution.
  • the present application provides a terminal, the terminal comprising a memory, a processor and a transceiver, the memory storing program code, the processor calling program code for performing the first aspect or the possible implementation manners of the first aspect Any web page access method.
  • FIG. 1 is a schematic flow chart of a webpage access method of the present invention
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 3 is another schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a webpage method according to an embodiment of the present invention.
  • the method includes:
  • the terminal device can receive the webpage access request through the browser, for example, the browser obtains the web address input by the user in the address bar, generates a webpage access request according to the webpage, or the browser detects the click action on a webpage.
  • the webpage access request is generated according to the webpage corresponding to the click action, or the terminal device introduces the webpage access request through another user interface, which is not limited in this embodiment.
  • the terminal device receives the generated webpage access request, and the webpage access request is an HTTP request, and the terminal device parses the web address carried in the HTTP request, which needs to be described in the HTTP request.
  • the URL may be a primary URL, a secondary URL, or a third-level URL.
  • the primary URL points to the root page of the website
  • the secondary URL points to the secondary page of the website
  • the third-level URL of the third-level URL and the level of the webpage of one website.
  • the number can be set as needed, and the invention is not limited.
  • the terminal device determines the application associated with the web address according to the preset mapping relationship, and then determines whether the application is installed locally.
  • the web address carried in the webpage access request is “m.taobao.com”
  • the terminal device determines that the application corresponding to the webpage is “Taobao”
  • the terminal device determines whether the “Taobao” application is installed and localized.
  • the URL carried in the webpage access request is “http://hao.360.cn/?wd_xp1”
  • the terminal device determines that the application corresponding to the webpage is “360 browser”, and the terminal device determines whether the local installation is installed. 360 browser”. If the result of the determination is YES, S104 is executed.
  • the terminal device starts the associated application, if the application is not running, starts the application and switches the application to the foreground running state; if the application is Running in the background, switching the application to the foreground running state, and then sending the webpage access request to the application, the application sends the webpage access request to the corresponding server, because the cache information on the server is pre-cached in the application, For example, the image of the web page, the layout information and the rendering information, etc., so that the user can use the application to access the web address, which can effectively save data traffic.
  • the terminal device determines that the application associated with the web address is “Taobao”, and the “Taobao” application is installed and local, the terminal device switches the “Taobao” application to the foreground operation, and instructs the “Taobao” application to access.
  • Website www.taobao.com.
  • the identifying, by the terminal device, whether an application associated with the web address is installed includes:
  • the URL in the webpage access may be a primary URL, a secondary URL, or a more advanced URL. If it is a secondary or secondary URL, the URL is usually identified by a primary URL + suffix, for example: The URL is "http://hao.360.cn/?wd_xp1", the URL is obviously not the primary URL, and the terminal device extracts the first-level URL in the URL as "360.cn".
  • the terminal device pre-stores a mapping relationship between the first-level website and the application, and the terminal device queries the application associated with the first-level website as a “360 browser” according to the mapping relationship, and the terminal device acquires the local installed application according to the installed
  • the application generates a list of applications, and the terminal device determines whether there is a "360 browser" in the application list. If yes, it determines that the terminal device locally has an application associated with the web address in the webpage access request.
  • the terminal device if the terminal device is not installed with an application associated with the web address;
  • the terminal device determines that the application associated with the web address is not installed locally, sends a webpage access request to the server corresponding to the webpage, displays a corresponding webpage, and displays a download link address of the associated application on the webpage, wherein, downloading The link address can be displayed in a highlighted manner below the web page to prompt the user to download the application based on the download link address.
  • the method further includes:
  • the terminal device receives the download request for the download link address, and can determine the current data network type.
  • the data network is a WiFi network
  • download an application installation package and install an application installation package
  • the download traffic is not started, and waiting for the terminal device to start the WiFi network is to start the installation package of the download application.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention is used to perform a webpage access method in FIG. 1 , and the terminology and process involved may refer to the embodiment of FIG. 1 . description of.
  • the terminal device 2 includes a receiving module 201, a determining module 202, an identifying module 230, and an indicating module 204.
  • the receiving module 201 is configured to receive a webpage access request.
  • the determining module 202 is configured to determine a web address indicated by the webpage access request.
  • the identification module 203 is configured to identify whether the terminal device is installed with an application associated with the web address.
  • the indicating module 204 is configured to start the associated application if the recognition result of the identifying module is yes, and instruct the associated application to access the web address.
  • the receiving module 201 is configured to:
  • a web page access request input by a user through a browser installed in the terminal device is received.
  • the identification module 203 is configured to:
  • the terminal device further includes:
  • a requesting module if the terminal device is not installed with an application associated with the web address
  • the terminal device further includes:
  • an installation module configured to receive a download request for the download link address, download an installation package of the associated application to the server, and install the installation package.
  • FIG. 3 is a schematic diagram of another structure of a terminal device according to an embodiment of the present invention.
  • the terminal device 3 includes a processor 301, a memory 302, and a transceiver 303.
  • the transceiver 303 is configured to transmit and receive data with and from an external device.
  • the number of processors 301 in the terminal 3 may be one or more.
  • processor 301, memory 302, and transceiver 303 may be connected by a bus system or other means.
  • Terminal 3 can be used to perform the method shown in FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 1. I will not repeat them here.
  • the program code is stored in the memory 302.
  • the processor 301 is configured to call program code stored in the memory 302 for performing the following operations:
  • the associated application is launched and the application is instructed to access the web address.
  • the performing, by the processor 301, the receiving a webpage access request includes:
  • a web page access request input by a user through a browser installed in the terminal device is received.
  • the executing, by the processor 301, the identifier, that the terminal device is installed with an application associated with the web address includes:
  • the processor 301 is further configured to:
  • the processor 301 is further configured to:
  • Receiving a download request for the download link address, downloading the associated response to the server Use the program's installation package and install the installation package.
  • the embodiment of the invention provides a terminal, which includes but is not limited to piggybacking Or terminals of other operating systems, such as mobile phones.
  • Other terminals may also be used, such as a laptop or tablet or desktop computer with a touch-sensitive surface (eg, a touch screen display and/or a touch pad).
  • a terminal including a display and a touch-sensitive surface is described. It should be understood, however, that the terminal can include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
  • Terminals typically support a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • applications such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disk editing application, a spreadsheet application, a gaming application, Telephony applications, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications Program, and/or digital video player application.
  • the various applications that can be executed on the terminal can use at least one shared physical user interface device, such as a touch-sensitive surface.
  • One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed from one application to the next and/or adjusted and/or varied within the respective application.
  • the shared physical architecture of the terminal such as a touch-sensitive surface, can support a variety of applications with a user interface that is intuitive to the user.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种网页访问方法及终端设备,该方法包括:接收网页访问请求(S101);确定网页访问请求指示的网址(S102);识别终端设备是否安装有与网址关联的应用程序(S103);若为是,启动关联的应用程序,并指示关联的应用程序访问所述网址(S104)。该方法能提供良好的网页显示能力,减少访问流量。

Description

一种网页访问方法和终端设备 技术领域
本发明涉及计算机领域,尤其涉及一种网页访问方法和终端设备。
背景技术
现有的浏览器兼容的网页格式越来越丰富,使用户能通过浏览器访问各种类型的网页,然后用户通过浏览器访问某个不支持的网页时,该网页在浏览器上的排版效果可能会出错,影响用户的阅读。
发明内容
本发明实施例所要解决的技术问题在于,提供一种网页访问方法和终端。可在用户访问网页时提供良好的支持能力。
为了解决上述技术问题,本发明实施例提供了一种应用程序的管理方法,首先,终端设备接收网页访问请求,其中,网页访问请求可以是终端设备的浏览器生成的,也可以是内嵌有浏览器的其他应用程序生成的,本发明实施例不作限制。然后,终端设备解析网页访问请求中携带的网址,终端设备识别终端设备是否安装有与网址关联的应用程序,若为是,启动关联的应用程序,并指示关联的应用程序访问网址。实施上述实施例,终端设备在接收到网页访问请求时,判断网页访问请求指示的网址是否存在关联的应用程序,若为是,启动关联的应用程序,将关联的应用程序切换到前台运行,并指示关联的应用程序访问网址,由于应用程序能够很好的兼容对应的服务器的网页,因此能够为网页的显示提供良好的支持能力。
在第一方面的一种可能的实施方式中,接收网页访问请求包括:终端设备接收用户通过通过浏览器输入的网页访问请求,例如:用户通过浏览器的地址栏生成网页访问请求,或者用户点击网页上的链接地址生成网页访问请求。
在第一方面的一种可能的实施方式中,识别终端设备是否安装有网址关联的应用程序包括:获取网址中的一级网址,一级网址标识网站的主页对应的网址,根据预设的映射关系获取与所述第一网址关联的应用程序,获取终端设备 的应用程序列表,判断关联的应用程序是否位于应用程序列表中,若为是,确定终端设备安装有与网址关联的应用程序。
集合第一方面的一种可能的实施方式中,还包括:若终端设备为安装有与网址关联的应用程序,向网址指示的服务器发送网页访问请求,以及在用户界面上显示与关联的应用程序的下载链接地址。
第二方面,本发明实施例还提供了一种终端设备,包括:
接收模块,用于接收网页访问请求;
确定模块,用于确定所述网页访问请求指示的网址;
识别模块,用于识别终端设备是否安装有与所述网址关联的应用程序;
指示模块,用于若所述识别模块的识别结果为是,启动所述关联的应用程序,并指示所述关联的应用程序访问所述网址。
在第二方面的一种可能的实施方式中,接收模块用于:
接收用户通过安装于所述终端设备的浏览器输入的网页访问请求。
在第二方面的一种可能的实施方式中,所述识别模块用于:
获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
判断所述关联的应用程序是否位于所述应用程序列表中;
若为是,确定所述终端设备安装有与所述网址关联的应用程序。
在第二方面的一种可能的实施方式中,终端设备还还包括:
请求模块,用于若所述终端设备未安装有与所述网址关联的应用程序;
向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
在第二方面的一种可能的实施方式中,终端设备还包括:
安装模块,用于接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应用程序的安装包,并安装所述安装包。
第三方面,本发明实施例提供了一种终端设备,包括存储器、处理器和收发器,所述存储器存储有程序代码,所述处理器调用所述程序代码用于执行以 下第一方面和第一方面的各个可能的实施方式中的任意一种网页访问方法。
第三方面,本申请提供了一种终端,终端包括存储器、处理器和收发器,存储器存储有程序代码,处理器调用程序代码用于执行第一方面或第一方面的各可能实施方式中的任意一种网页访问方法。
实施本发明实施例,具有如下有益效果:
在接收网页访问请求时,判断网页访问请求的网址是否在终端设备上存在关联的应用程序,若为是,启动该应用程序并指示应用程序访问该网址,这样应用程序能够使用预先缓存的内容减少用户的流量。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1是本发明的一种网页访问方法的流程示意图;
图2是本发明实施例提供的一种终端设备的结构示意图;
图3是本发明实施例提供的一种终端设备的另一结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。
参见图1,图1是本发明实施例提供的一种网页方法的流程示意图,在本发明实施例中,所述方法包括:
S101、接收网页访问请求。
具体的,终端设备可以通过浏览器接收网页访问请求,例如:浏览器在地址栏中获取用户输入的网址,根据该网址生成网页访问请求,或者,浏览器在某个网页上检测到点击动作,根据点击动作对应的网址生成网页访问请求,或者终端设备通过其他用户界面介绍网页访问请求,本实施例不作限制。
S102、确定网页访问请求指示的网址。
具体的,终端设备接收生成的网页访问请求,网页访问请求为HTTP请求,终端设备解析HTTP请求中携带的网址,需要说明的是,HTTP请求中携带的 网址可能是一级网址、二级网址或三级网址,一级网址指向网站的根页面,二级网址指向网站的二级页面,三级网址志向网址的三级页面,一个网站中网页的层次的数量可根据需要进行设置,本发明不作限制。
S103、识别终端设备是否安装有与网址关联的应用程序。
具体的,终端设备根据预设的映射关系确定网址关联的应用程序,然后确定该应用程序是否安装于本地。例如:网页访问请求中携带的网址为:“m.taobao.com”,终端设备确定该网址对应的应用程序为“淘宝”,终端设备判断“淘宝”应用程序是否安装与本地。又例如:网页访问请求中携带的网址为“http://hao.360.cn/?wd_xp1”,终端设备确定该网址对应的应用程序为“360浏览器”,终端设备判断本地是否安装有“360浏览器”。若判断结果为是,执行S104。
S104、若为是,启动关联的应用程序,指示关联的应用程序访问网址。
具体的,在S103的识别结果为是的情况下,终端设备启动关联的应用程序,如果该应用程序为未运行状态,启动该应用程序并将应用程序切换为前台运行状态;如果为应用程序为后台运行状态,将该应用程序切换为前台运行状态,然后将网页访问请求发送给该应用程序,应用程序向对应的服务器发送该网页访问请求,由于应用程序中预先缓存有服务器上的缓存信息,例如:网页的图片,排版信息和渲染信息等,这样用户利用应用程序访问网址,能有效的节省数据流量。
根据S103的例子,终端设备确定网址关联的应用程序为“淘宝”,且“淘宝”应用程序安装与本地中,终端设备将“淘宝”应用程序切换到前台运行,并指示“淘宝”应用程序访问网址“www.taobao.com”。
在一种可能的实施方式中,所述识别所述终端设备是否安装有与所述网址关联的应用程序包括:
获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
判断所述关联的应用程序是否位于所述应用程序列表中;
若为是,确定所述终端设备安装有与所述网址关联的应用程序。
具体的,网页访问中的网址可能是一级网址、二级网址或更多级的网址,如果是二级或二级以上的网址,网址通常由一级网址+后缀的方式来标识,例如:网址为“http://hao.360.cn/?wd_xp1”,则该网址显然不是一级网址,终端设备提取该网址中的一级网址为“360.cn”。终端设备预先存储有一级网址和应用程序的映射关系,终端设备根据该映射关系查询一级网址关联的应用程序为“360浏览器”,终端设备获取本地的已安装的应用程序,根据已安装的应用程序生成应用程序列表,终端设备判断应用程序列表中是否存在“360浏览器”,若为是,确定终端设备本地存在与网页访问请求中的网址关联的应用程序。
在一种可能的实施方式中,若所述终端设备未安装有与所述网址关联的应用程序;
向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
具体的,终端设备在确定本地未安装与网址关联的应用程序,向网址对应的服务器发送网页访问请求,显示相应的网页,以及在网页上显示该关联的应用程序的下载链接地址,其中,下载链接地址可以采用高亮的方式显示在网页的下方,以提示用户可以根据该下载链接地址下载该应用程序。
在一种可能的实施方式中,还包括:
接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应用程序的安装包,并安装所述安装包。
具体的,终端设备接收针对该下载链接地址的下载请求,可以判断当前的数据网络类型,在数据网络为WiFi网络时,下载应用程序的安装包,并安装应用程序的安装包;在数据网络为移动网络时,不启动下载流量,等待终端设备启动WiFi网络是再启动下载应用程序的安装包。
通过上述实施例,在接收网页访问请求时,判断网页访问请求的网址是否在终端设备上存在关联的应用程序,若为是,启动该应用程序并指示应用程序访问该网址,这样应用程序能够使用预先缓存的内容减少用户的流量。
参见图2,为本发明实施例提供的一种终端设备的结构示意图,本发明实施例的终端用于执行图1中的一种网页访问方法,所涉及的术语和过程可参照图1实施例的描述。终端设备2包括:接收模块201、确定模块202、识别模块230和指示模块204。
接收模块201,用于接收网页访问请求。
确定模块202,用于确定所述网页访问请求指示的网址。
识别模块203,用于识别终端设备是否安装有与所述网址关联的应用程序。
指示模块204,用于若所述识别模块的识别结果为是,启动所述关联的应用程序,并指示所述关联的应用程序访问所述网址。
在第二方面的一种可能的实施方式中,接收模块201用于:
接收用户通过安装于所述终端设备的浏览器输入的网页访问请求。
在第二方面的一种可能的实施方式中,识别模块203用于:
获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
判断所述关联的应用程序是否位于所述应用程序列表中;
若为是,确定所述终端设备安装有与所述网址关联的应用程序。
在第二方面的一种可能的实施方式中,终端设备还还包括:
请求模块,用于若所述终端设备未安装有与所述网址关联的应用程序;
向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
在第二方面的一种可能的实施方式中,终端设备还包括:
安装模块,用于接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应用程序的安装包,并安装所述安装包。
本发明实施例和方法实施例一基于同一构思,其带来的技术效果也相同,具体过程可参照方法实施例一的描述,此处不再赘述。
参见图3,为本发明实施例提供的一种终端设备的另一结构示意图,在本发明实施例中,终端设备3包括处理器301、存储器302和收发器303。收发器303用于与外部设备之间收发数据。终端3中的处理器301的数量可以是一个或多个。本发明的一些实施例中,处理器301、存储器302和收发器303可通过总线系统或其他方式连接。终端3可以用于执行图1所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1对应的实施例。此处不再赘述。
其中,存储器302中存储程序代码。处理器301用于调用存储器302中存储的程序代码,用于执行以下操作:
接收网页访问请求;
确定所述网页访问请求指示的网址;
识别终端设备是否安装有与所述网址关联的应用程序;
若为是,启动所述关联的应用程序,并指示所述应用程序访问所述网址。
可选的,处理器301执行所述接收网页访问请求包括:
接收用户通过安装于所述终端设备的浏览器输入的网页访问请求。
可选的,处理器301执行所述识别所述终端设备是否安装有与所述网址关联的应用程序包括:
获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
判断所述关联的应用程序是否位于所述应用程序列表中;
若为是,确定所述终端设备安装有与所述网址关联的应用程序。
可选的,处理器301还用于执行:
若所述终端设备未安装有与所述网址关联的应用程序;
向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
可选的,处理器301还用于执行:
接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应 用程序的安装包,并安装所述安装包。
本发明实施例提供一种终端,该终端包括但不限于搭载
Figure PCTCN2017082966-appb-000001
Figure PCTCN2017082966-appb-000002
或者其它操作系统的终端,诸如移动电话。也可以是其它终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。
在下面的讨论中,介绍了一种包括显示器和触敏表面的终端。然而应当理解,终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。
终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。
可在终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (10)

  1. 一种网页访问方法,其特征在于,包括:
    接收网页访问请求;
    确定所述网页访问请求指示的网址;
    识别终端设备是否安装有与所述网址关联的应用程序;
    若为是,启动所述关联的应用程序,并指示所述关联的应用程序访问所述网址。
  2. 如权利要求1所述的方法,其特征在于,所述接收网页访问请求包括:
    接收用户通过安装于所述终端设备的浏览器输入的网页访问请求。
  3. 如权利要求1所述的方法,其特征在于,所述识别所述终端设备是否安装有与所述网址关联的应用程序包括:
    获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
    获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
    判断所述关联的应用程序是否位于所述应用程序列表中;
    若为是,确定所述终端设备安装有与所述网址关联的应用程序。
  4. 如权利要求1所述的方法,其特征在于,还包括:
    若所述终端设备未安装有与所述网址关联的应用程序;
    向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
  5. 如权利要求4所述的方法,其特征在于,还包括:
    接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应用程序的安装包,并安装所述安装包。
  6. 一种终端设备,其特征在于,包括存储器、处理器和收发器,所述存储器存储有程序代码,所述处理器调用所述程序代码用于执行以下操作:
    接收网页访问请求;
    确定所述网页访问请求指示的网址;
    识别终端设备是否安装有与所述网址关联的应用程序;
    若为是,启动所述关联的应用程序,并指示所述应用程序访问所述网址。
  7. 如权利要求6所述的终端,其特征在于,所述处理器执行所述接收网页访问请求包括:
    接收用户通过安装于所述终端设备的浏览器输入的网页访问请求。
  8. 如权利要求6所述的终端设备,其特征在于,所述处理器执行所述识别所述终端设备是否安装有与所述网址关联的应用程序包括:
    获取所述网址中的一级网址,根据预设的映射关系获取与所述一级网址关联的应用程序;
    获取所述终端设备的应用程序列表;其中,所述应用程序列表包含所述终端设备上已安装的所有应用程序;
    判断所述关联的应用程序是否位于所述应用程序列表中;
    若为是,确定所述终端设备安装有与所述网址关联的应用程序。
  9. 如权利要求6所述的终端设备,其特征在于,所述处理器还用于执行:
    若所述终端设备未安装有与所述网址关联的应用程序;
    向所述网址指示的服务器发送所述网页访问请求,以及在用户界面上显示与所述关联的应用程序的下载链接地址。
  10. 如权利要求9所述的终端设备,其特征在于,所述处理器还用于执行:
    接收针对所述下载链接地址的下载请求,向所述服务器下载所述关联的应用程序的安装包,并安装所述安装包。
PCT/CN2017/082966 2017-05-04 2017-05-04 一种网页访问方法和终端设备 WO2018201365A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/082966 WO2018201365A1 (zh) 2017-05-04 2017-05-04 一种网页访问方法和终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/082966 WO2018201365A1 (zh) 2017-05-04 2017-05-04 一种网页访问方法和终端设备

Publications (1)

Publication Number Publication Date
WO2018201365A1 true WO2018201365A1 (zh) 2018-11-08

Family

ID=64016911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/082966 WO2018201365A1 (zh) 2017-05-04 2017-05-04 一种网页访问方法和终端设备

Country Status (1)

Country Link
WO (1) WO2018201365A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677442A (zh) * 2008-09-17 2010-03-24 艾威梯科技(北京)有限公司 用于应用程序自动登录的方法和设备
US20120323898A1 (en) * 2011-06-16 2012-12-20 Microsoft Corporation Surfacing applications based on browsing activity
CN102929486A (zh) * 2012-10-31 2013-02-13 东莞宇龙通信科技有限公司 终端和链接处理方法
CN103810033A (zh) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 一种检测用程序启动的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677442A (zh) * 2008-09-17 2010-03-24 艾威梯科技(北京)有限公司 用于应用程序自动登录的方法和设备
US20120323898A1 (en) * 2011-06-16 2012-12-20 Microsoft Corporation Surfacing applications based on browsing activity
CN102929486A (zh) * 2012-10-31 2013-02-13 东莞宇龙通信科技有限公司 终端和链接处理方法
CN103810033A (zh) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 一种检测用程序启动的方法和装置

Similar Documents

Publication Publication Date Title
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
US10742694B2 (en) Method for migrating data and terminal
US10733259B2 (en) Web page access method and apparatus
RU2608668C2 (ru) Система и способ управления и организации кэша веб-браузера для обеспечения автономного просмотра
RU2629448C2 (ru) Система и способ управления и организации кэша веб-браузера
CN107832099B (zh) 一种客户端版本兼容的方法、装置及存储介质
US9519654B2 (en) Method, device, processing center and system for desktop synchronization
WO2018176960A1 (zh) 显示网络图片的方法、装置以及用户终端
CN106716351B (zh) 显示网页的方法和电子设备
WO2013159745A1 (zh) 网页浏览方法、WebApp框架、执行JavaScript方法及装置、移动终端
US9047469B2 (en) Modes for applications
US9178746B2 (en) Browser-based fetch of external libraries
CN111372115B (zh) 应用程序的访问方法及装置、通讯系统
WO2014107987A1 (en) File presenting method and apparatus for a smart terminal
US9307010B2 (en) Data upload method using shortcut
US20140359408A1 (en) Invoking an Application from a Web Page or other Application
CN109522500B (zh) 网页显示方法、装置、终端和存储介质
WO2018209465A1 (zh) 一种网页访问控制方法和网关设备
JP2015517165A (ja) ユーザーインターフェイスウェブサービス
CN112088362A (zh) 针对已保存站点的通知更新
CN109032693B (zh) 一种加载展示信息方法、装置、电子设备及可读存储介质
CN105279164B (zh) 一种基于ios系统的文件处理方法及装置
CN106775835B (zh) 获取升级文件的方法、服务器及终端
US20140331117A1 (en) Application-based dependency graph
JP2010092103A (ja) Webページ表示方法、サーバ装置、及びプログラム

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: 17908543

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: 17908543

Country of ref document: EP

Kind code of ref document: A1