[go: up one dir, main page]

CN106598617A - Method for setting webpage shortcut, and electronic equipment - Google Patents

Method for setting webpage shortcut, and electronic equipment Download PDF

Info

Publication number
CN106598617A
CN106598617A CN201611192583.8A CN201611192583A CN106598617A CN 106598617 A CN106598617 A CN 106598617A CN 201611192583 A CN201611192583 A CN 201611192583A CN 106598617 A CN106598617 A CN 106598617A
Authority
CN
China
Prior art keywords
target
webpage
page
shortcut
web
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.)
Pending
Application number
CN201611192583.8A
Other languages
Chinese (zh)
Inventor
王保胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611192583.8A priority Critical patent/CN106598617A/en
Publication of CN106598617A publication Critical patent/CN106598617A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开一种设置网页快捷方式的方法及电子设备,该方法包括:当浏览器中显示有当前网页时,接收触发操作;基于所述触发操作,根据所述当前网页确定目标网页;将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。本申请提供的方法和设备可以解决现有技术中用户使用智能手机来进行浏览新闻、阅读、查询资讯或购物等操作时,存在的节省内存与操作便利不能兼顾的技术问题。实现了节省内存与操作便利兼顾的技术效果。

The invention discloses a method for setting a web page shortcut and an electronic device. The method includes: when a current web page is displayed in a browser, receiving a trigger operation; based on the trigger operation, determining a target web page according to the current web page; The shortcut entry of the target webpage is added and displayed on the desktop page, so that when the shortcut operation triggering the shortcut entry is received, the browser is called to load and display the target webpage. The method and device provided by this application can solve the technical problem in the prior art that memory saving and convenient operation cannot be balanced when users use smart phones to browse news, read, inquire about information or shop. The technical effect of saving memory and convenient operation is realized.

Description

一种设置网页快捷方式的方法及电子设备Method and electronic device for setting web page shortcut

技术领域technical field

本发明涉及计算机领域,尤其涉及一种设置网页快捷方式的方法及电子设备。The invention relates to the field of computers, in particular to a method for setting a web page shortcut and an electronic device.

背景技术Background technique

随着通信技术的发展和移动终端的智能化,越来越多的用户选择使用智能手机来进行浏览新闻、阅读、查询资讯或购物等操作。With the development of communication technology and the intelligence of mobile terminals, more and more users choose to use smart phones to browse news, read, query information or shop.

当前,用户主要是通过两种方式来实现上述各种操作,一种是,下载安装各种专用的手机应用程序(Application,APP);另一种是,在浏览器应用中输入网址、搜索或在浏览器收藏页面中选择来进入相关网页页面。At present, users mainly implement the above-mentioned various operations in two ways, one is to download and install various special-purpose mobile phone applications (Application, APP); the other is to input URLs, search or Select it in the browser collection page to enter the relevant web page.

然而,安装运行APP会占用较大的内存空间,而在浏览器中输入网址、搜索或在浏览器收藏页面中选择来进入相关网页页面的步骤繁琐,不便利。However, installing and running the APP will take up a large memory space, and the steps of entering the URL in the browser, searching or selecting in the browser collection page to enter the relevant web page are cumbersome and inconvenient.

可见,现有技术中用户使用智能手机来进行浏览新闻、阅读、查询资讯或购物等操作时,存在节省内存与操作便利不能兼顾的技术问题。It can be seen that in the prior art, when a user uses a smart phone to browse news, read, query information or shop, there is a technical problem that memory saving and convenient operation cannot be balanced.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的页面快捷入口的添加方法及电子设备。In view of the above problems, the present invention is proposed to provide a method for adding a page shortcut entry and an electronic device that overcome the above problems or at least partially solve the above problems.

第一方面,本发明实施例提供了一种设置网页快捷方式的方法,包括:In a first aspect, an embodiment of the present invention provides a method for setting a shortcut to a web page, including:

当浏览器中显示有当前网页时,接收触发操作;When the current webpage is displayed in the browser, the trigger operation is received;

基于所述触发操作,根据所述当前网页确定目标网页;Based on the trigger operation, determine a target webpage according to the current webpage;

将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。The shortcut entry of the target webpage is added and displayed on the desktop page, so that when the shortcut operation triggering the shortcut entry is received, the browser is called to load and display the target webpage.

可选的,所述根据所述当前网页确定目标网页,包括:确定所述当前网页为所述目标网页;或者获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Optionally, the determining the target webpage according to the current webpage includes: determining the current webpage as the target webpage; or obtaining a hyperlink contained in the current webpage; determining that the webpage corresponding to the hyperlink is the described landing page.

可选的,所述根据所述当前网页确定目标网页之前,还包括:接收在所述当前网页中输入网址信息的输入操作;所述根据所述当前网页确定目标网页,包括:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。Optionally, before determining the target webpage according to the current webpage, it also includes: receiving an input operation of inputting URL information in the current webpage; determining the target webpage according to the current webpage includes: determining the current webpage The webpage corresponding to the URL information in the webpage is the target webpage.

可选的,所述将所述目标网页的快捷入口添加显示到桌面页面上,包括:调用应用程序编程接口,以将所述目标网页的快捷入口添加显示在所述桌面页面上。Optionally, the adding and displaying the shortcut entry of the target webpage on the desktop page includes: calling an application programming interface to add and display the shortcut entry of the target webpage on the desktop page.

可选的,所述将所述目标网页的快捷入口添加显示到桌面页面上,包括:获取所述目标网页对应的目标快捷标识;根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。Optionally, the adding and displaying the shortcut entry of the target webpage on the desktop page includes: acquiring a target shortcut identifier corresponding to the target webpage; adding the shortcut entry of the target webpage according to the target shortcut identifier On the desktop page, the shortcut entry is displayed as the target shortcut identifier on the desktop page.

可选的,所述获取所述目标网页对应的目标快捷标识,包括:根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识;或者发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识;或者接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。Optionally, the obtaining the target shortcut identifier corresponding to the target webpage includes: obtaining the target shortcut identifier corresponding to the target webpage from a preset identifier library according to the target webpage; or sending an identifier request message to the the server of the target webpage, and receive the target shortcut identifier corresponding to the target webpage returned by the server; or receive an input operation for inputting a custom image, and determine that the custom image is the Target shortcut ID corresponding to the target web page.

第二方面,本发明实施例还提供了一种电子设备,包括:In a second aspect, an embodiment of the present invention also provides an electronic device, including:

触发模块,用于当浏览器中显示有当前网页时,接收触发操作;A trigger module, configured to receive a trigger operation when a current web page is displayed in the browser;

确定模块,用于基于所述触发操作,根据所述当前网页确定目标网页;A determination module, configured to determine a target webpage according to the current webpage based on the trigger operation;

添加模块,用于将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。The adding module is configured to add and display the shortcut entry of the target webpage on the desktop page, so as to call the browser to load and display the target webpage when receiving the shortcut operation triggering the shortcut entry.

可选的,所述确定模块还用于:确定所述当前网页为所述目标网页;或者获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Optionally, the determining module is further configured to: determine the current webpage as the target webpage; or acquire a hyperlink contained in the current webpage; determine the webpage corresponding to the hyperlink as the target webpage.

可选的,所述电子设备还包括:输入模块,用于接收在所述当前网页中输入网址信息的输入操作;所述确定模块还用于:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。Optionally, the electronic device further includes: an input module, configured to receive an input operation of inputting URL information in the current webpage; the determining module is also configured to: determine that the URL information in the current webpage corresponds to The page of is the landing page.

可选的,所述添加模块还用于:调用应用程序编程接口,以将所述目标网页的快捷入口添加显示在所述桌面页面上。Optionally, the adding module is further configured to call an application programming interface to add and display the shortcut entry of the target web page on the desktop page.

可选的,所述添加模块还用于:获取所述目标网页对应的目标快捷标识;根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。Optionally, the adding module is further configured to: acquire a target shortcut identifier corresponding to the target webpage; add a shortcut entry of the target webpage to the desktop page according to the target shortcut identifier, so that the The shortcut entry is displayed as the target shortcut identifier on the desktop page.

可选的,所述添加模块还用于:根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识;或者发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识;或者接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。Optionally, the adding module is further configured to: obtain the target shortcut identifier corresponding to the target webpage from a preset identifier library according to the target webpage; or send identification request information to the server of the target webpage, and receiving the target shortcut identifier corresponding to the target webpage returned by the server; or receiving an input operation for inputting a custom image, and determining that the custom image is the target shortcut identifier corresponding to the target webpage according to the input operation .

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

本申请实施例提供的方法及电子设备,在浏览当前网页的过程中,能在接收到预设的触发操作时,将当前网页对应的目标网页的快捷入口添加显示在桌面页面上,故一方面,在需要打开目标网页时,不需要去手动开启浏览器,只需要触发桌面页面上的快捷入口,就可以一键打开所述目标网页,另一方面,使用目标网页来执行各种操作,不需要安装相关的APP,能极大的节省内存,实现了节省内存与操作便利兼顾的技术效果。The method and the electronic device provided by the embodiment of the present application can add and display the shortcut entry of the target webpage corresponding to the current webpage on the desktop page when the preset trigger operation is received during the process of browsing the current webpage, so on the one hand , when you need to open the target webpage, you don’t need to manually open the browser, you only need to trigger the shortcut entry on the desktop page to open the target webpage with one click. On the other hand, use the target webpage to perform various operations without Relevant APP needs to be installed, which can greatly save memory, and realize the technical effect of saving memory and convenient operation.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1为本发明实施例中设置网页快捷方式的方法的流程图;Fig. 1 is the flow chart of the method for setting web page shortcut in the embodiment of the present invention;

图2为本发明实施例中电子设备的结构示意图。FIG. 2 is a schematic structural diagram of an electronic device in an embodiment of the present invention.

具体实施方式detailed description

本申请实施例中的技术方案,总体思路如下:The general idea of the technical solution in the embodiment of the application is as follows:

在使用浏览器浏览当前网页时,基于用户的触发操作,将所述当前网页对应的目标网页的快捷入口添加显示在桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。When using the browser to browse the current webpage, based on the trigger operation of the user, the shortcut entry of the target webpage corresponding to the current webpage is added and displayed on the desktop page, so that when the shortcut operation triggering the shortcut entry is received, the browser is called The browser loads and displays the landing page.

即通过预设触发操作,使用户能在浏览当前网页的过程中,通过执行触发操作,便利的将所述当前网页对应的目标网页的快捷入口添加显示在桌面页面上,从而实现在需要打开目标网页时,不需要去手动开启浏览器,只需要触发桌面页面上的快捷入口,就可以一键打开所述目标网页,另外,使用目标网页来执行各种操作,不需要安装相关的APP,能极大的节省内存,实现了节省内存与操作便利兼顾的技术效果。That is, through the preset trigger operation, the user can conveniently add and display the shortcut entry of the target web page corresponding to the current web page on the desktop page by executing the trigger operation during browsing the current web page, so as to realize opening the target page when the user needs to open it. When viewing a webpage, you don’t need to manually open the browser, you only need to trigger the shortcut entry on the desktop page, and you can open the target webpage with one click. In addition, you don’t need to install related APPs to perform various operations using the target webpage. The memory is greatly saved, and the technical effect of saving memory and convenient operation is achieved.

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

实施例一Embodiment one

本实施例提供一种设置网页快捷方式的方法,请参考图1,图1为本申请实施例中设置网页快捷方式的方法的流程图,如图1所示,该方法包括:This embodiment provides a method for setting a shortcut to a webpage, please refer to FIG. 1, which is a flowchart of a method for setting a shortcut to a webpage in the embodiment of the present application. As shown in FIG. 1, the method includes:

步骤S101,当浏览器中显示有当前网页时,接收触发操作;Step S101, when the current webpage is displayed in the browser, a trigger operation is received;

步骤S102,基于所述触发操作,根据所述当前网页确定目标网页;Step S102, based on the trigger operation, determine a target webpage according to the current webpage;

步骤S103,将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。Step S103, adding and displaying the shortcut entry of the target webpage on the desktop page, so that when a shortcut operation triggering the shortcut entry is received, the browser is called to load and display the target webpage.

需要说明的是,所述桌面页面为开启电子设备后默认显示的页面,即为设置有各APP快捷方式的页面。It should be noted that the desktop page is a page displayed by default after the electronic device is turned on, that is, a page provided with shortcuts for each APP.

在具体实施过程中,所述桌面页面可以是智能手机的桌面页面,也可以是智能手表的桌面页面,或者是平板电脑的桌面页面,在此不作限制。In a specific implementation process, the desktop page may be a desktop page of a smart phone, may also be a desktop page of a smart watch, or may be a desktop page of a tablet computer, which is not limited here.

下面,结合图1详细介绍本申请实施例提供的方法的具体实现步骤:Below, the specific implementation steps of the method provided by the embodiment of the present application are introduced in detail in conjunction with FIG. 1:

首先,执行步骤S101,当浏览器中显示有当前网页时,接收触发操作;First, step S101 is executed, and when the current webpage is displayed in the browser, a trigger operation is received;

在具体实施过程中,所述触发操作可以有多种,下面列举三种为例:In the specific implementation process, there may be many kinds of trigger operations, and the following three are listed as examples:

第一种,点击浏览器预设的触发按钮。The first one is to click the trigger button preset in the browser.

具体来讲,可以在浏览器的边框、工具栏或设置选项等位置预先设置一交互按钮,预设用户点击触碰所述交互按钮的操作为所述触发操作。Specifically, an interaction button may be preset at a position such as a border of the browser, a toolbar, or a setting option, and an operation of clicking and touching the interaction button by a user is preset as the trigger operation.

在具体实施过程中,为了便于用户识别所述交互按钮的功能,可以在所述交互按钮区域设置显示加号图像或设置显示“桌面”、“快捷”等字符。In the specific implementation process, in order to facilitate the user to identify the function of the interaction button, a plus sign image or characters such as "desktop" and "shortcut" can be set to be displayed in the area of the interaction button.

第二种,压按电子设备的预设按键或按键组合。The second type is to press a preset key or key combination of the electronic device.

具体来讲,可以预先设置电子设备上的某个按键或某几个按键的组合被压按的操作为所述触发操作。Specifically, the operation of pressing a certain key or a combination of certain keys on the electronic device may be preset as the triggering operation.

例如,当所述电子设备为手机时,用户浏览A网页的过程中,两次连续压按手机侧面的电源键,则确定接收到所述触发操作。For example, when the electronic device is a mobile phone, and the user presses the power button on the side of the mobile phone twice consecutively during browsing the webpage of A, it is determined that the trigger operation is received.

第三种,拖动所述当前网页。The third way is to drag the current web page.

具体来讲,可以设置所述接收触发操作,具体为:接收触碰所述当前网页的显示页面并拖动所述显示页面的拖动操作。Specifically, the receiving trigger operation may be set, specifically: receiving a drag operation of touching the display page of the current webpage and dragging the display page.

在具体实施过程中,为了便于用户识别该操作的功能,可以设置当接收到触碰所述当前网页的显示页面的触碰操作时,在触碰位置显示一页面形状的小图标,当接收到与所述触碰操作连续的拖动操作时,沿所述拖动操作的移动轨迹移动所述小图标。In the specific implementation process, in order to facilitate the user to identify the function of the operation, it can be set that when a touch operation of touching the displayed page of the current webpage is received, a small icon in the shape of a page is displayed at the touch position, and when a touch operation is received During the drag operation continuous with the touch operation, the small icon is moved along the moving track of the drag operation.

当然,在具体实施过程中,所述触发操作不限于以上三种,基于不同的需求可以确定出不同的触发操作,对此本发明实施例不再详细列举,并且不作限制。Of course, in the specific implementation process, the triggering operations are not limited to the above three types, and different triggering operations can be determined based on different requirements, which are not listed in detail in this embodiment of the present invention, and are not limited thereto.

接下来,执行步骤S102,基于所述触发操作,根据所述当前网页确定目标网页。Next, step S102 is executed, based on the trigger operation, a target webpage is determined according to the current webpage.

在具体实施过程中,根据所述当前网页确定目标网页的确定方式可以有多种,下面列举三种为例:In the specific implementation process, there are many ways to determine the target webpage according to the current webpage, and three examples are listed below:

第一种,直接以所述当前网页作为所述目标网页。The first method is directly using the current webpage as the target webpage.

例如,当用户使用智能手机在浏览器中浏览“知识产权局”的官网时,为了便于后续浏览便利,用户可以执行所述触发操作,则所述智能手机基于所述触发操作,确定“知识产权局”的官网为目标网页,并将其快捷入口添加到桌面页面。For example, when a user uses a smart phone to browse the official website of the "Intellectual Property Office" in a browser, for the convenience of subsequent browsing, the user can perform the trigger operation, and the smart phone determines the "Intellectual Property Office" based on the trigger operation. The official website of Bureau" is the target page, and its shortcut entry is added to the desktop page.

第二种,根据所述当前网页中的超链接确定所述目标网页。The second type is to determine the target webpage according to the hyperlink in the current webpage.

具体来讲,为了便于用户在浏览某一网页时,能快速打开该网页的相关网页,往往会在网页中设置超链接,故所述根据所述当前网页确定目标网页,还可以为:获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Specifically, in order to facilitate the user to quickly open the relevant webpages of the webpage when browsing a certain webpage, hyperlinks are often set in the webpage, so the determination of the target webpage according to the current webpage can also be: The hyperlink contained in the current webpage; determining the webpage corresponding to the hyperlink as the target webpage.

例如,当用户使用智能手机在浏览器中浏览一电子小说的第一章时,所述第一章的网页中设置有该电子小说第二章的超链接,当接收到所述触发操作时,所述智能手机基于所述触发操作,确定所述第二章的超链接对应的第二章的网页为目标网页,并将其快捷入口添加到桌面页面,以便于用户下次直接在桌面页面打开所述第二章的网页。For example, when a user uses a smart phone to browse the first chapter of an electronic novel in a browser, the webpage of the first chapter is provided with a hyperlink of the second chapter of the electronic novel, and when the trigger operation is received, Based on the trigger operation, the smart phone determines that the webpage of the second chapter corresponding to the hyperlink of the second chapter is the target webpage, and adds its shortcut entry to the desktop page, so that the user can directly open it on the desktop page next time. The second chapter of the web page.

第三种,根据输入的网址信息确定所述目标网页。The third method is to determine the target webpage according to the input URL information.

即所述根据所述当前网页确定目标网页之前,还包括:接收在所述当前网页中输入网址信息的输入操作;That is, before determining the target webpage according to the current webpage, it also includes: receiving an input operation of inputting URL information in the current webpage;

所述根据所述当前网页确定目标网页,包括:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。The determining the target webpage according to the current webpage includes: determining the webpage corresponding to the URL information in the current webpage as the target webpage.

在具体实施过程中,所述接收在所述当前网页中输入网址信息的输入操作可以是在步骤S101接收触发操作之前执行,也可以是在步骤S101接收触发操作之后执行,在此不作限制。In a specific implementation process, the input operation of receiving URL information in the current web page may be performed before receiving the trigger operation in step S101, or after receiving the trigger operation in step S101, which is not limited here.

例如,可以设置所述当前网页为预先设置的网页,所述当前网页上设置有输入框,以便于用户在所述输入框输入网址信息,当接收到触发操作时,确定所述网址信息对应的网页为目标网页;也可以设置当接收到触发操作时,在所述当前网页上显示输入框,以便于用户在所述输入框输入网址信息,并确定所述网址信息对应的网页为目标网页。For example, the current webpage can be set as a preset webpage, and an input box is set on the current webpage, so that the user can input URL information in the input box, and when a trigger operation is received, determine the URL corresponding to the URL information. The webpage is the target webpage; it can also be set to display an input box on the current webpage when a trigger operation is received, so that the user can input URL information in the input box, and determine that the webpage corresponding to the URL information is the target webpage.

当然,在具体实施过程中,根据所述当前网页确定目标网页的确定方式不限于以上三种,基于不同的需求可以确定出不同的确定方式,对此本发明实施例不再详细列举,并且不作限制。Of course, in the specific implementation process, the determination methods of determining the target webpage according to the current webpage are not limited to the above three methods, and different determination methods can be determined based on different requirements, which are not listed in detail in this embodiment of the present invention, and are not made. limit.

再下来,执行步骤S103,将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。Next, step S103 is executed to add and display the shortcut entry of the target webpage on the desktop page, so that when the shortcut operation triggering the shortcut entry is received, the browser is called to load and display the target webpage.

在具体实施过程中,可以是通过调用系统提供的应用程序编程接口(ApplicationProgramming Interface,API)来实现将所述目标网页的快捷入口添加显示在所述桌面页面上。所述快捷入口在所述桌面页面上显示为目标快捷标识,即要先获取所述目标网页对应的目标快捷标识;再根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。In a specific implementation process, the shortcut entry of the target web page can be added and displayed on the desktop page by calling an application programming interface (Application Programming Interface, API) provided by the system. The shortcut entry is displayed as a target shortcut identifier on the desktop page, that is, the target shortcut identifier corresponding to the target webpage must first be obtained; then according to the target shortcut identifier, the shortcut entry of the target webpage is added to the on the desktop page, so that the shortcut entry is displayed as the target shortcut identifier on the desktop page.

在本申请实施例中,获取所述目标网页对应的目标快捷标识的方式可以有多种,下面列举三种为例:In the embodiment of the present application, there may be multiple ways to obtain the target shortcut identifier corresponding to the target webpage, three examples are listed below:

第一种,从标识库获取。The first one is obtained from the identity library.

即根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识。That is, according to the target webpage, the target shortcut identifier corresponding to the target webpage is obtained from a preset identifier library.

具体来讲,服务方可以先在服务器上预先建立标识库,所述标识库中预先设置存储有较常用的主流网页的图标,每个图标均与对应的网页信息匹配存储,以便于能根据目标网页,在所述标识库中搜索查找到目标网页对应的目标快捷标识。Specifically, the server can pre-establish a logo library on the server, in which icons of more commonly used mainstream web pages are preset and stored, and each icon is matched and stored with the corresponding web page information, so as to be able to For a web page, search in the identification library to find the target shortcut identification corresponding to the target web page.

第二种,目标网页自身提供。The second type is provided by the target web page itself.

即发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识。That is, sending identification request information to the server of the target webpage, and receiving the target shortcut identification corresponding to the target webpage returned by the server.

具体来讲,当前较多网站都为自身设置有图标,故在需要获取目标快捷标识时,可以发送标识请求信息至目标网页的服务器,以将服务器返回的图标作为目标快捷标识。Specifically, many websites currently have icons for themselves, so when a target shortcut identifier needs to be obtained, an identifier request message can be sent to the server of the target webpage, so that the icon returned by the server can be used as the target shortcut identifier.

第三种,自定义。The third type is customization.

即接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。That is, an input operation for inputting a custom image is received, and according to the input operation, it is determined that the custom image is a target shortcut identifier corresponding to the target webpage.

具体来讲,在确定了需要添加快捷方式的目标网页后,可以提示用户输入图像或字符来作为目标网页对应的目标快捷标识,用户可以根据自己的习惯来设置目标快捷标识,例如,对新闻网页,输入首字母“X”作为目标快捷标识;对阅读网页,输入首字母“Y”作为目标快捷标识;或者对阅读网页,输入一书籍图片作为目标快捷标识,在此不再一一列举。Specifically, after determining the target webpage that needs to add a shortcut, the user can be prompted to input an image or character as the target shortcut identifier corresponding to the target webpage, and the user can set the target shortcut identifier according to his own habits, for example, for a news webpage , input the initial letter "X" as the target shortcut identifier; for reading webpages, input the initial letter "Y" as the target shortcut identifier; or for reading webpages, input a picture of a book as the target shortcut identifier, which will not be listed here.

当然,在具体实施过程中,所述获取所述目标网页对应的目标快捷标识的方式不限于以上三种获取方法,基于不同的需求可以确定出不同的获取方法,对此本发明实施例不再详细列举,并且不作限制。Of course, in the specific implementation process, the method of acquiring the target shortcut identifier corresponding to the target web page is not limited to the above three acquisition methods, and different acquisition methods can be determined based on different requirements, and this embodiment of the present invention does not Listed in detail, without limitation.

需要说明的是,在大部分情况下,即使关闭浏览器界面,浏览器APP也会在后台继续运作,故当所述快捷入口被触发时,只需要调用后台运行中的浏览器APP来加载所述目标网页,响应速度很快,且暂用的内存也较少。以浏览新闻为例,下载安装新闻APP来浏览新闻,下载安装过程繁琐,且需要消耗新闻APP的运行内存,而采用本申请实施例提供的方法,在桌面页面建立新闻网页的快捷入口后,通过快捷入口快速调用浏览器加载显示新闻网页就可以浏览新闻,只消耗浏览器在后台运行时差不多的内存,不需要再消耗多余的内存。It should be noted that in most cases, even if the browser interface is closed, the browser APP will continue to operate in the background, so when the shortcut entry is triggered, it is only necessary to call the browser APP running in the background to load the The above target webpage responds quickly and uses less memory temporarily. Taking news browsing as an example, downloading and installing a news app to browse news is cumbersome and needs to consume the running memory of the news app. However, using the method provided in the embodiment of this application, after creating a shortcut entry to the news page on the desktop page, pass The shortcut entry quickly calls the browser to load and display the news webpage, and then you can browse the news, which only consumes the same amount of memory as the browser is running in the background, and does not need to consume extra memory.

在介绍了本实施例提供的方法的详细流程后,为了便于进一步理解本实施例提供的方法的具体实施过程,下面,以所述方法应用于智能手机为例,以一具体交互实例来说明本申请提供方法的完整实施流程:After introducing the detailed flow of the method provided in this embodiment, in order to facilitate further understanding of the specific implementation process of the method provided in this embodiment, the following uses a specific interaction example to illustrate this method by taking the method applied to a smart phone as an example. The complete implementation process of the application provision method:

当用户在智能手机上使用浏览器APP浏览一新闻网页时,用户希望下次能快捷的再次进入该新闻网页进行浏览;When a user browses a news webpage using a browser APP on a smartphone, the user hopes to quickly enter the news webpage again next time to browse;

故用户在浏览器的工具栏点击预设的加号形状按钮,则智能手机确定该新闻网页为目标网页,并通过API在手机桌面页面上添加了该新闻网页的快捷入口,所述快捷入口显示为带“新闻”字符的图像,所述图像为图标库中为所述新闻网页预先设置的快捷标识;Therefore, the user clicks the preset plus-shaped button on the toolbar of the browser, and the smart phone determines that the news webpage is the target webpage, and adds a shortcut entry of the news webpage on the desktop page of the mobile phone through the API, and the shortcut entry displays It is an image with the character "news", and the image is a shortcut logo preset for the news web page in the icon library;

用户每次需要看新闻时,只需要点击手机桌面页面上的所述带“新闻”字符的图像,就可以调用浏览器快速加载所述新闻网页进行浏览,不仅开启方便,还节省了运行新闻类APP的内存消耗。Every time a user needs to read news, he only needs to click on the image with the characters "news" on the desktop page of the mobile phone, and the browser can be called to quickly load the news web page for browsing, which is not only convenient to open, but also saves running news class The memory consumption of the APP.

基于同一发明构思,本发明实施例还提供了实施例一中方法对应的设备,见实施例二。Based on the same inventive concept, the embodiment of the present invention also provides the equipment corresponding to the method in the first embodiment, see the second embodiment.

实施例二Embodiment two

本实施例提供了一种电子设备,如图2所示,所述电子设备包括:This embodiment provides an electronic device, as shown in Figure 2, the electronic device includes:

触发模块201,用于当浏览器中显示有当前网页时,接收触发操作;A trigger module 201, configured to receive a trigger operation when a current web page is displayed in the browser;

确定模块202,用于基于所述触发操作,根据所述当前网页确定目标网页;A determining module 202, configured to determine a target web page according to the current web page based on the trigger operation;

添加模块203,用于将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。The adding module 203 is configured to add and display the shortcut entry of the target webpage on the desktop page, so as to invoke the browser to load and display the target webpage when receiving the shortcut operation triggering the shortcut entry.

在本申请实施例中,所述确定模块202还用于:In this embodiment of the application, the determining module 202 is also used to:

确定所述当前网页为所述目标网页;或者determining that the current webpage is the target webpage; or

获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Acquiring the hyperlink contained in the current webpage; determining the webpage corresponding to the hyperlink as the target webpage.

在本申请实施例中,所述电子设备还包括:输入模块,用于接收在所述当前网页中输入网址信息的输入操作;In the embodiment of the present application, the electronic device further includes: an input module, configured to receive an input operation of inputting URL information in the current webpage;

所述确定模块202还用于:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。The determining module 202 is further configured to: determine that the web page corresponding to the URL information in the current web page is the target web page.

在本申请实施例中,所述添加模块203还用于:In the embodiment of this application, the adding module 203 is also used for:

调用应用程序编程接口,以将所述目标网页的快捷入口添加显示在所述桌面页面上。calling the application programming interface to add and display the shortcut entry of the target webpage on the desktop page.

在本申请实施例中,所述添加模块203还用于:In the embodiment of this application, the adding module 203 is also used for:

获取所述目标网页对应的目标快捷标识;Acquiring the target shortcut identifier corresponding to the target webpage;

根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。Adding the shortcut entry of the target web page on the desktop page according to the target shortcut identifier, so that the shortcut entry is displayed as the target shortcut identifier on the desktop page.

在本申请实施例中,所述添加模块203还用于:In the embodiment of this application, the adding module 203 is also used for:

根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识;或者According to the target webpage, obtain the target shortcut identifier corresponding to the target webpage from a preset identifier library; or

发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识;或者Sending identification request information to the server of the target webpage, and receiving the target shortcut identification corresponding to the target webpage returned by the server; or

接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。An input operation for inputting a custom image is received, and according to the input operation, it is determined that the custom image is a target shortcut identifier corresponding to the target webpage.

由于本发明实施例二所介绍的电子设备,为实施本发明实施例一的设置网页快捷方式的方法所采用的电子设备,故而基于本发明实施例一所介绍的方法,本领域所属人员能够了解该设备的具体结构及变形,故而在此不再赘述。凡是本发明实施例一的方法所采用的设备都属于本发明所欲保护的范围。Since the electronic device introduced in Embodiment 2 of the present invention is an electronic device used to implement the method for setting a web page shortcut in Embodiment 1 of the present invention, based on the method described in Embodiment 1 of the present invention, those skilled in the art can understand The specific structure and deformation of the device will not be repeated here. All the equipment used in the method of Embodiment 1 of the present invention belong to the intended protection scope of the present invention.

本申请实施例中提供的技术方案,至少具有如下技术效果或优点:The technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

本申请实施例提供的方法及电子设备,在浏览当前网页的过程中,能在接收到预设的触发操作时,将当前网页对应的目标网页的快捷入口添加显示在桌面页面上,故一方面,在需要打开目标网页时,不需要去手动开启浏览器,只需要触发桌面页面上的快捷入口,就可以一键打开所述目标网页,另一方面,使用目标网页来执行各种操作,不需要安装相关的APP,能极大的节省内存,实现了节省内存与操作便利兼顾的技术效果。The method and the electronic device provided by the embodiment of the present application can add and display the shortcut entry of the target webpage corresponding to the current webpage on the desktop page when the preset trigger operation is received during the process of browsing the current webpage, so on the one hand , when you need to open the target webpage, you don’t need to manually open the browser, you only need to trigger the shortcut entry on the desktop page to open the target webpage with one click. On the other hand, use the target webpage to perform various operations without Relevant APP needs to be installed, which can greatly save memory, and realize the technical effect of saving memory and convenient operation.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. And form different embodiments. For example, in the following claims, any one of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网关、代理服务器、系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the gateway, proxy server, and system according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了,A1、一种设置网页快捷方式的方法,包括:The invention discloses, A1, a method for setting a webpage shortcut, comprising:

当浏览器中显示有当前网页时,接收触发操作;When the current webpage is displayed in the browser, the trigger operation is received;

基于所述触发操作,根据所述当前网页确定目标网页;Based on the trigger operation, determine a target webpage according to the current webpage;

将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。The shortcut entry of the target webpage is added and displayed on the desktop page, so that when the shortcut operation triggering the shortcut entry is received, the browser is called to load and display the target webpage.

A2、根据A1所述的方法,其特征在于,所述根据所述当前网页确定目标网页,包括:A2, according to the method described in A1, it is characterized in that said determining the target webpage according to the current webpage includes:

确定所述当前网页为所述目标网页;或者determining that the current webpage is the target webpage; or

获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Acquiring the hyperlink contained in the current webpage; determining the webpage corresponding to the hyperlink as the target webpage.

A3、根据A1所述的方法,其特征在于,A3, according to the method described in A1, it is characterized in that,

所述根据所述当前网页确定目标网页之前,还包括:接收在所述当前网页中输入网址信息的输入操作;Before determining the target webpage according to the current webpage, it also includes: receiving an input operation of inputting URL information in the current webpage;

所述根据所述当前网页确定目标网页,包括:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。The determining the target webpage according to the current webpage includes: determining the webpage corresponding to the URL information in the current webpage as the target webpage.

A4、根据A1所述的方法,其特征在于,所述将所述目标网页的快捷入口添加显示到桌面页面上,包括:A4, according to the method described in A1, it is characterized in that, adding and displaying the shortcut entry of the target web page on the desktop page includes:

调用应用程序编程接口,以将所述目标网页的快捷入口添加显示在所述桌面页面上。calling the application programming interface to add and display the shortcut entry of the target webpage on the desktop page.

A5、根据A1-A4任一所述的方法,其特征在于,所述将所述目标网页的快捷入口添加显示到桌面页面上,包括:A5, according to the method described in any one of A1-A4, it is characterized in that, adding and displaying the shortcut entry of the target web page on the desktop page includes:

获取所述目标网页对应的目标快捷标识;Acquiring the target shortcut identifier corresponding to the target webpage;

根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。Adding the shortcut entry of the target web page on the desktop page according to the target shortcut identifier, so that the shortcut entry is displayed as the target shortcut identifier on the desktop page.

A6、根据A5所述的方法,其特征在于,所述获取所述目标网页对应的目标快捷标识,包括:A6, according to the method described in A5, it is characterized in that the target shortcut identification corresponding to the acquisition of the target webpage includes:

根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识;或者According to the target webpage, obtain the target shortcut identifier corresponding to the target webpage from a preset identifier library; or

发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识;或者Sending identification request information to the server of the target webpage, and receiving the target shortcut identification corresponding to the target webpage returned by the server; or

接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。An input operation for inputting a custom image is received, and according to the input operation, it is determined that the custom image is a target shortcut identifier corresponding to the target webpage.

B7、一种电子设备,包括:B7. An electronic device, comprising:

触发模块,用于当浏览器中显示有当前网页时,接收触发操作;A trigger module, configured to receive a trigger operation when a current web page is displayed in the browser;

确定模块,用于基于所述触发操作,根据所述当前网页确定目标网页;A determination module, configured to determine a target webpage according to the current webpage based on the trigger operation;

添加模块,用于将所述目标网页的快捷入口添加显示到桌面页面上,以在接收到触发所述快捷入口的快捷操作时,调用浏览器加载并显示所述目标网页。The adding module is configured to add and display the shortcut entry of the target webpage on the desktop page, so as to call the browser to load and display the target webpage when receiving the shortcut operation triggering the shortcut entry.

B8、根据B7所述的电子设备,其特征在于,所述确定模块还用于:B8. The electronic device according to B7, wherein the determination module is also used for:

确定所述当前网页为所述目标网页;或者determining that the current webpage is the target webpage; or

获取所述当前网页中包含的超链接;确定所述超链接对应的网页为所述目标网页。Acquiring the hyperlink contained in the current webpage; determining the webpage corresponding to the hyperlink as the target webpage.

B9、根据B7所述的电子设备,其特征在于,B9, according to the electronic equipment described in B7, it is characterized in that,

所述电子设备还包括:输入模块,用于接收在所述当前网页中输入网址信息的输入操作;The electronic device also includes: an input module, configured to receive an input operation of inputting URL information in the current webpage;

所述确定模块还用于:确定所述当前网页中的所述网址信息对应的网页为所述目标网页。The determining module is further configured to: determine that the web page corresponding to the URL information in the current web page is the target web page.

B10、根据B7所述的电子设备,其特征在于,所述添加模块还用于:B10, according to the electronic equipment described in B7, it is characterized in that, described adding module is also used for:

调用应用程序编程接口,以将所述目标网页的快捷入口添加显示在所述桌面页面上。calling the application programming interface to add and display the shortcut entry of the target webpage on the desktop page.

B11、根据B7-B10任一所述的电子设备,其特征在于,所述添加模块还用于:B11, according to the electronic equipment described in any one of B7-B10, it is characterized in that the adding module is also used for:

获取所述目标网页对应的目标快捷标识;Acquiring the target shortcut identifier corresponding to the target webpage;

根据所述目标快捷标识,将所述目标网页的快捷入口添加在所述桌面页面上,以使所述快捷入口在所述桌面页面上显示为所述目标快捷标识。Adding the shortcut entry of the target web page on the desktop page according to the target shortcut identifier, so that the shortcut entry is displayed as the target shortcut identifier on the desktop page.

B12、根据B11所述的电子设备,其特征在于,所述添加模块还用于:B12, according to the electronic equipment described in B11, it is characterized in that, described adding module is also used for:

根据所述目标网页,从预设的标识库中获取所述目标网页对应的目标快捷标识;或者According to the target webpage, obtain the target shortcut identifier corresponding to the target webpage from a preset identifier library; or

发送标识请求信息至所述目标网页的服务器,并接收所述服务器返回的所述目标网页对应的目标快捷标识;或者Sending identification request information to the server of the target webpage, and receiving the target shortcut identification corresponding to the target webpage returned by the server; or

接收用于输入自定义图像的输入操作,根据所述输入操作,确定所述自定义图像为所述目标网页对应的目标快捷标识。An input operation for inputting a custom image is received, and according to the input operation, it is determined that the custom image is a target shortcut identifier corresponding to the target webpage.

Claims (10)

1. it is a kind of arrange webpage shortcut method, it is characterised in that include:
When current web page is shown in browser, trigger action is received;
Based on the trigger action, target web is determined according to the current web page;
The quick entrance addition of the target web is shown in desktop page, to receive the triggering quick entrance During prompt operation, browser is called to load and show the target web.
2. the method for claim 1, it is characterised in that described that target web is determined according to the current web page, including:
Determine that the current web page is the target web;Or
The hyperlink included in obtaining the current web page;Determine that the corresponding webpage of the hyperlink is the target web.
3. the method for claim 1, it is characterised in that
It is described target web is determined according to the current web page before, also include:Reception is input into network address in the current web page The input operation of information;
It is described that target web is determined according to the current web page, including:Determine the website information pair in the current web page The webpage answered is the target web.
4. the method for claim 1, it is characterised in that described that the quick entrance addition of the target web is shown to In desktop page, including:
Application programming interface is called, the quick entrance addition of the target web is included in the desktop page.
5. the method as described in claim 1-4 is arbitrary, it is characterised in that the quick entrance addition by the target web It is shown in desktop page, including:
Obtain the corresponding target of the target web fast to identify;
Fast identified according to the target, the quick entrance of the target web is added in the desktop page, so that institute State quick entrance the target is shown as in the desktop page and fast identify.
6. method as claimed in claim 5, it is characterised in that the corresponding target of the acquisition target web is fast marked Know, including:
According to the target web, the corresponding target of the target web is obtained from default home banking and is fast identified;Or
The server of identification request information to the target web is sent, and receives the target web that the server is returned Corresponding target is fast identified;Or
Receive for being input into the input operation of custom images, according to the input operation, determine that the custom images are institute State the corresponding target of target web fast to identify.
7. a kind of electronic equipment, it is characterised in that include:
Trigger module, for when current web page is shown in browser, receiving trigger action;
Determining module, for based on the trigger action, determining target web according to the current web page;
Add module, for the quick entrance addition of the target web is shown to desktop page, to receive triggering During the prompt operation of the quick entrance, browser is called to load and show the target web.
8. electronic equipment as claimed in claim 7, it is characterised in that the determining module is additionally operable to:
Determine that the current web page is the target web;Or
The hyperlink included in obtaining the current web page;Determine that the corresponding webpage of the hyperlink is the target web.
9. electronic equipment as claimed in claim 7, it is characterised in that
The electronic equipment also includes:Input module, for receiving the input behaviour that website information is input in the current web page Make;
The determining module is additionally operable to:Determine that the corresponding webpage of the website information in the current web page is the target network Page.
10. electronic equipment as claimed in claim 7, it is characterised in that the add module is additionally operable to:
Application programming interface is called, the quick entrance addition of the target web is included in the desktop page.
CN201611192583.8A 2016-12-21 2016-12-21 Method for setting webpage shortcut, and electronic equipment Pending CN106598617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611192583.8A CN106598617A (en) 2016-12-21 2016-12-21 Method for setting webpage shortcut, and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611192583.8A CN106598617A (en) 2016-12-21 2016-12-21 Method for setting webpage shortcut, and electronic equipment

Publications (1)

Publication Number Publication Date
CN106598617A true CN106598617A (en) 2017-04-26

Family

ID=58602269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611192583.8A Pending CN106598617A (en) 2016-12-21 2016-12-21 Method for setting webpage shortcut, and electronic equipment

Country Status (1)

Country Link
CN (1) CN106598617A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957837A (en) * 2017-12-30 2018-04-24 北京百度网讯科技有限公司 Shortcut generation method, device and the terminal device of Web page application program
CN108256128A (en) * 2018-04-13 2018-07-06 Oppo广东移动通信有限公司 Method, device, storage medium and electronic device for processing page links
CN108268274A (en) * 2018-02-13 2018-07-10 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN110110236A (en) * 2019-05-16 2019-08-09 苏州达家迎信息技术有限公司 A kind of information-pushing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291461A (en) * 2011-08-17 2011-12-21 百度在线网络技术(北京)有限公司 Method, system and device for adding shortcut to wireless terminal
CN103246657A (en) * 2012-02-03 2013-08-14 腾讯科技(深圳)有限公司 Method and device for generating browser bookmark and method and device for browsing web page
CN103246666A (en) * 2012-02-08 2013-08-14 腾讯科技(深圳)有限公司 Web access method and device
CN104158862A (en) * 2014-07-31 2014-11-19 北京奇虎科技有限公司 On-line interactive web page startup method and client device
CN104216698A (en) * 2013-05-31 2014-12-17 华为终端有限公司 Webpage registration method and relative device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291461A (en) * 2011-08-17 2011-12-21 百度在线网络技术(北京)有限公司 Method, system and device for adding shortcut to wireless terminal
CN103246657A (en) * 2012-02-03 2013-08-14 腾讯科技(深圳)有限公司 Method and device for generating browser bookmark and method and device for browsing web page
CN103246666A (en) * 2012-02-08 2013-08-14 腾讯科技(深圳)有限公司 Web access method and device
CN104216698A (en) * 2013-05-31 2014-12-17 华为终端有限公司 Webpage registration method and relative device
CN104158862A (en) * 2014-07-31 2014-11-19 北京奇虎科技有限公司 On-line interactive web page startup method and client device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957837A (en) * 2017-12-30 2018-04-24 北京百度网讯科技有限公司 Shortcut generation method, device and the terminal device of Web page application program
CN107957837B (en) * 2017-12-30 2021-08-20 北京百度网讯科技有限公司 Shortcut generation method, device and terminal device for web application
CN108268274A (en) * 2018-02-13 2018-07-10 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN108256128A (en) * 2018-04-13 2018-07-06 Oppo广东移动通信有限公司 Method, device, storage medium and electronic device for processing page links
CN110110236A (en) * 2019-05-16 2019-08-09 苏州达家迎信息技术有限公司 A kind of information-pushing method, device, equipment and storage medium
CN110110236B (en) * 2019-05-16 2021-10-26 苏州达家迎信息技术有限公司 Information pushing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI528282B (en) Method for customizing launching of applications
US20180364964A1 (en) Method, device, and storage medium for displaying application page
CN106708496B (en) Processing method and device for label page in graphical interface
CN104978267B (en) webpage test method, terminal and server
CN107153541A (en) Browse interaction processing method and device
TW201443670A (en) Virtual library providing content accessibility irrespective of content format and type
EP4339808B1 (en) PAGE PROCESSING METHOD AND DEVICE, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM
CN107291465A (en) page display method, device and storage medium
CN105324753A (en) Invoking an application from a web page or other application
CN107229711A (en) Webpage display process and device
US11210449B2 (en) Page display method and device and storage medium
CN108769234A (en) Using method for down loading, device, storage medium and electronic equipment
CN107613097A (en) Display method, device, storage medium and electronic equipment of shortcut icons
CN106598617A (en) Method for setting webpage shortcut, and electronic equipment
CN106599257B (en) Method for realizing page shortcut and electronic equipment
CN105630310A (en) Method and device for displaying titles during graph group switching
CN111813305A (en) Application startup method and device
CN113194200A (en) Message display method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN106775249A (en) A kind of method and electronic equipment that communication shortcut is set
CN105630304A (en) Browser operation method and electronic equipment
CN102360294A (en) Wap page display method and Wap page display device based on WebKit browser
CN104536688A (en) Searching method and device based on touch operation
CN113672136A (en) Information display method, device, equipment and storage medium
CN106599258A (en) Page quick entry addition method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication