[go: up one dir, main page]

CN106528838A - Bookmark saving method and device - Google Patents

Bookmark saving method and device Download PDF

Info

Publication number
CN106528838A
CN106528838A CN201611037116.8A CN201611037116A CN106528838A CN 106528838 A CN106528838 A CN 106528838A CN 201611037116 A CN201611037116 A CN 201611037116A CN 106528838 A CN106528838 A CN 106528838A
Authority
CN
China
Prior art keywords
address
saved
level
bookmark
bookmark list
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
CN201611037116.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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611037116.8A priority Critical patent/CN106528838A/en
Publication of CN106528838A publication Critical patent/CN106528838A/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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a bookmark saving method and device. The method comprises: receiving a bookmark saving command; acquiring an address to be saved according to the bookmark saving command; acquiring at least one superior address of the address to be saved according to the address to be saved; and when a first superior address of the at least one superior address exists in a bookmark list, saving the address to be saved in the first superior address in the bookmark list. The bookmark saving method and device, which are provided by the invention, can achieve a purpose of saving bookmarks in a classifying manner, and enable the bookmark list to form a bookmark list with a directory structure, thereby helping a user to look up the bookmark in the bookmark list and improving the efficiency of the user to look up the bookmark.

Description

书签保存方法和装置Bookmark saving method and device

技术领域technical field

本公开涉及终端技术,特别涉及一种书签保存方法和装置。The present disclosure relates to terminal technologies, and in particular to a bookmark saving method and device.

背景技术Background technique

用户在使用终端上的浏览器浏览网页时,可以通过浏览器的书签功能将自己常用网页的地址收藏为书签。这样,当用户需要再次浏览该网页时,可以在浏览器的书签列表中点击该书签,以使得浏览器自动跳转至该网页,而不需要用户在浏览器中再手动输入该网页的地址,提高了用户浏览网页的效率。When users use the browser on the terminal to browse webpages, they can store the addresses of frequently used webpages as bookmarks through the bookmark function of the browser. In this way, when the user needs to browse the webpage again, he can click the bookmark in the bookmark list of the browser, so that the browser automatically jumps to the webpage, without requiring the user to manually input the address of the webpage in the browser. Improve the efficiency of users browsing web pages.

然而,当上述浏览器的书签列表中的书签较多时,用户从书签列表中查找书签的效率降低,无法满足用户实际使用时的需求。However, when there are many bookmarks in the bookmark list of the above-mentioned browser, the efficiency for the user to search for bookmarks from the bookmark list is reduced, which cannot meet the needs of the user in actual use.

公开内容public content

为克服相关技术中存在的问题,本公开提供一种书签保存方法和装置。技术方案如下:In order to overcome the problems existing in related technologies, the present disclosure provides a bookmark saving method and device. The technical solution is as follows:

根据本公开实施例的第一方面,提供一种基于浏览器的书签保存方法,包括:According to the first aspect of the embodiments of the present disclosure, a browser-based method for saving bookmarks is provided, including:

接收书签保存命令;Receive bookmark save command;

根据所述书签保存命令,获取待保存地址;Acquiring the address to be saved according to the bookmark saving command;

根据待保存地址,获取待保存地址的至少一个上级地址;Acquiring at least one superior address of the address to be saved according to the address to be saved;

在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。When there is at least one first upper-level address in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list.

本公开的实施例提供的技术方案可以包括以下有益效果:终端在接收到书签保存命令之后,可以根据该书签保存命令获取到待保存地址,进而可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而使得终端可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: after receiving the bookmark saving command, the terminal can obtain the address to be saved according to the bookmark saving command, and then can obtain the address of the to-be-saved address according to the bookmark saving command At least one upper-level address, so that the terminal can save the address to be saved under the first upper-level address in the browser's bookmark list when the first upper-level address in the at least one upper-level address exists in the browser's bookmark list, In order to achieve the purpose of classifying and storing the bookmarks, the bookmark list forms a bookmark list with a directory structure, so that the user can easily search for bookmarks in the bookmark list, and the efficiency of the user's search for bookmarks is improved.

可选的,在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下,包括:Optionally, when there is at least one first upper-level address in the upper-level address in the bookmark list, saving the address to be saved under the first upper-level address in the bookmark list includes:

在书签列表中存在至少一个上级地址中的第一上级地址时,若第一上级地址与待保存地址之间存在至少一级间隔地址,则按照待保存地址和至少一级间隔地址的等级顺序,将待保存地址和每一级间隔地址保存至第一上级地址下。When there is at least one first upper-level address in the upper-level address in the bookmark list, if there is at least one level of interval address between the first upper-level address and the address to be saved, then according to the hierarchical order of the address to be saved and the at least one level of interval address, The address to be saved and the address of each level interval are saved under the first upper level address.

本公开的实施例提供的技术方案可以包括以下有益效果:通过将待保存地址和每一级间隔地址保存至第一上级地址下,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当终端再次需要保存新的书签时,终端可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by saving the address to be saved and each level interval address under the first upper level address, the upper level address of the address to be saved stored in the bookmark list is more complete. In this way, when the terminal needs to save a new bookmark again, the terminal can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the terminal can be more accurate when saving the new bookmark to the bookmark list Classifying and saving new bookmarks improves the accuracy of bookmark list classification, thereby improving the efficiency of users looking for bookmarks.

可选的,方法还包括:Optionally, the method also includes:

在书签列表中不存在至少一个上级地址中的第一上级地址时,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中。When the first upper-level address of the at least one upper-level address does not exist in the bookmark list, the address to be saved and the at least one upper-level address are saved in the bookmark list according to the hierarchical order of the address to be saved and the at least one upper-level address.

本公开的实施例提供的技术方案可以包括以下有益效果:终端在确定书签列表中不存在待保存地址的第一上级地址时,可以按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,从而使得终端在后续保存新的书签时,可以依据书签列表中所保存的待保存地址和至少一个上级地址,确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以对新的书签进行分类保存,达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when the terminal determines that the first upper-level address of the address to be saved does not exist in the bookmark list, it can store the first upper-level address of the address to be saved according to the hierarchical order of the address to be saved and at least one upper-level address. The address and at least one upper-level address are stored in the bookmark list, so that when the terminal subsequently saves a new bookmark, it can determine whether there is a new bookmark based on the address to be saved and at least one upper-level address stored in the bookmark list, Furthermore, when the terminal saves the new bookmarks in the bookmark list, it can store the new bookmarks by category, so as to achieve the purpose of storing the bookmarks by category, so that the bookmark list forms a bookmark list with a directory structure, so that the user can enter the bookmark list in the bookmark list. Find bookmarks in , which improves the efficiency of users to find bookmarks.

可选的,待保存地址的至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。Optionally, at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information.

可选的,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,包括:Optionally, according to the hierarchical order of the address to be saved and at least one superior address, the address to be saved and at least one superior address are saved in the bookmark list, including:

将待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照等级顺序保存至书签列表中。Save the address to be saved and all the upper-level addresses up to the root directory information according to the hierarchical order, and save them in the bookmark list according to the hierarchical order.

本公开的实施例提供的技术方案可以包括以下有益效果:通过将待保存地址和按照等级顺序向上直至根目录信息的所有上级地址保存至书签列表中,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当终端再次需要保存新的书签时,终端可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by saving the address to be saved and all the upper-level addresses up to the root directory information in the order of hierarchy into the bookmark list, the address to be saved stored in the bookmark list The superior address is more complete. In this way, when the terminal needs to save a new bookmark again, the terminal can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the terminal can be more accurate when saving the new bookmark to the bookmark list Classifying and saving new bookmarks improves the accuracy of bookmark list classification, thereby improving the efficiency of users looking for bookmarks.

根据本公开实施例的第二方面,提供一种基于浏览器的书签保存装置,包括:According to the second aspect of the embodiments of the present disclosure, there is provided a browser-based bookmark storage device, including:

接收模块,被配置为接收书签保存命令;A receiving module configured to receive a bookmark saving command;

第一获取模块,被配置为根据所述书签保存命令,获取待保存地址;The first obtaining module is configured to obtain the address to be saved according to the bookmark saving command;

第二获取模块,被配置为根据待保存地址,获取待保存地址的至少一个上级地址;The second obtaining module is configured to obtain at least one upper-level address of the address to be saved according to the address to be saved;

第一保存模块,被配置为在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。The first saving module is configured to save the address to be saved under the first upper address in the bookmark list when there is at least one first upper address in the bookmark list.

本公开的实施例提供的技术方案可以包括以下有益效果:接收模块在接收到书签保存命令之后,第一获取模块可以根据该书签保存命令,获取待保存地址,进而使得第二获取模块可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而使得第一保存模块可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: after the receiving module receives the bookmark saving command, the first obtaining module can obtain the address to be saved according to the bookmark saving command, and then the second obtaining module can obtain the address according to the bookmark saving command. The address to be saved is to obtain at least one upper-level address of the address to be saved, so that the first saving module can be in the bookmark list of the browser when the first upper-level address in the at least one upper-level address exists in the bookmark list of the browser Save the address to be saved under the first upper-level address to achieve the purpose of classifying and saving bookmarks, so that the bookmark list forms a bookmark list with a directory structure, so that users can find bookmarks in the bookmark list, improving the efficiency of users to find bookmarks .

可选的,第一保存模块,被配置为在书签列表中存在至少一个上级地址中的第一上级地址时,若第一上级地址与待保存地址之间存在至少一级间隔地址,则按照待保存地址和至少一级间隔地址的等级顺序,将待保存地址和每一级间隔地址保存至第一上级地址下。Optionally, the first saving module is configured to: when there is at least one first upper-level address among the upper-level addresses in the bookmark list, if there is at least one level of space between the first upper-level address and the address to be saved, then according to the to-be-saved address The hierarchical order of the addresses and at least one level of interval addresses is saved, and the addresses to be saved and each level of interval addresses are saved under the first upper level address.

本公开的实施例提供的技术方案可以包括以下有益效果:第一保存模块通过将待保存地址和每一级间隔地址保存至第一上级地址下,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当再次需要保存新的书签时,书签保存装置可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得第一保存模块可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the first saving module saves the address to be saved and the address of each level interval to the first upper-level address, so that the upper-level address of the to-be-saved address stored in the bookmark list The address is more complete. In this way, when a new bookmark needs to be saved again, the bookmark saving device can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the first saving module can save the new bookmark in the bookmark list. , new bookmarks can be classified and stored more accurately, which improves the accuracy of bookmark list classification, thereby improving the efficiency of users searching for bookmarks.

可选的,装置还包括:Optionally, the device also includes:

第二保存模块,被配置为在书签列表中不存在至少一个上级地址中的第一上级地址时,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中。The second saving module is configured to save the address to be saved and the at least one upper-level address to in the bookmark list.

本公开的实施例提供的技术方案可以包括以下有益效果:在确定书签列表中不存在待保存地址的第一上级地址时,第二保存模块可以按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,从而使得在后续保存新的书签时,书签保存装置可以依据书签列表中所保存的待保存地址和至少一个上级地址,确定是否存在新的书签的上级地址,进而使得第一保存模块在将新的书签保存至书签列表中时,可以对新的书签进行分类保存,达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when it is determined that there is no first upper-level address of the address to be saved in the bookmark list, the second saving module may follow the hierarchical order of the address to be saved and at least one upper-level address, Save the address to be saved and at least one upper-level address in the bookmark list, so that when a new bookmark is saved subsequently, the bookmark saving device can determine whether there is a new The upper-level address of the bookmark, so that the first saving module can classify and save the new bookmark when saving the new bookmark in the bookmark list, so as to achieve the purpose of classifying and saving the bookmark, so that the bookmark list forms a bookmark list of directory structure , so that the user can easily find the bookmark in the bookmark list, and the efficiency of the user to find the bookmark is improved.

可选的,待保存地址的至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。Optionally, at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information.

可选的,第二保存模块,被配置为将待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照等级顺序保存至书签列表中。Optionally, the second saving module is configured to save the address to be saved and all upper-level addresses up to the root directory information in a hierarchical order in the bookmark list.

本公开的实施例提供的技术方案可以包括以下有益效果:第二保存模块通过将待保存地址和按照等级顺序向上直至根目录信息的所有上级地址保存至书签列表中,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当书签保存装置再次需要保存新的书签时,可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得第一保存模块可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: the second saving module saves the address to be saved and all the upper-level addresses up to the root directory information in the bookmark list according to the hierarchical order, so that the saved in the bookmark list The parent address of the address to be saved is more complete. In this way, when the bookmark saving device needs to save a new bookmark again, it can be more accurately determined from the bookmark list whether there is a higher-level address of the new bookmark, so that the first saving module can save the new bookmark in the bookmark list. , new bookmarks can be classified and stored more accurately, which improves the accuracy of bookmark list classification, thereby improving the efficiency of users searching for bookmarks.

根据本公开实施例的第三方面,提供一种基于浏览器的书签保存装置,包括:According to a third aspect of the embodiments of the present disclosure, a browser-based bookmark storage device is provided, including:

处理器;processor;

用于存储处理器的可执行指令的存储器;memory for storing executable instructions for the processor;

其中,处理器被配置为:where the processor is configured as:

接收书签保存命令,书签保存命令包括:待保存地址;Receive the bookmark saving command, the bookmark saving command includes: the address to be saved;

根据待保存地址,获取待保存地址的至少一个上级地址;Acquiring at least one superior address of the address to be saved according to the address to be saved;

在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。When there is at least one first upper-level address in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list.

本公开的实施例提供的技术方案可以包括以下有益效果:书签保存装置在接收到书签保存命令之后,可以根据该书签保存命令获取到待保存地址,进而可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: after the bookmark saving device receives the bookmark saving command, it can obtain the address to be saved according to the bookmark saving command, and then can obtain the to-be-saved address according to the to-be-saved address. At least one upper-level address of the address, so that when the first upper-level address in the at least one upper-level address exists in the bookmark list of the browser, the address to be saved is saved under the first upper-level address in the bookmark list of the browser, In order to achieve the purpose of classifying and storing the bookmarks, the bookmark list forms a bookmark list with a directory structure, so that the user can easily search for bookmarks in the bookmark list, and the efficiency of the user's search for bookmarks is improved.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种书签保存方法的流程图;Fig. 1 is a flow chart of a method for saving a bookmark according to an exemplary embodiment;

图2是根据另一示例性实施例示出的一种书签保存方法的流程图;Fig. 2 is a flow chart of a method for saving a bookmark according to another exemplary embodiment;

图3是根据一示例性实施例示出的一种书签保存装置的框图;Fig. 3 is a block diagram of a device for storing bookmarks according to an exemplary embodiment;

图4是根据另一示例性实施例示出的一种书签保存装置的框图;Fig. 4 is a block diagram of a device for storing bookmarks according to another exemplary embodiment;

图5是根据一示例性实施例示出的一种书签保存装置500的框图。Fig. 5 is a block diagram of an apparatus 500 for saving a bookmark according to an exemplary embodiment.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

下面以具体地实施例对本公开的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present disclosure will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

图1是根据一示例性实施例示出的一种书签保存方法的流程图。该方法的执行主体可以为书签保存装置,还可以为集成了书签保存装置的终端,下述以执行主体为集成了书签保存装置的终端(简称:终端)为例进行说明。如图1所示,该方法可以包括以下步骤:Fig. 1 is a flow chart of a method for saving a bookmark according to an exemplary embodiment. The execution subject of the method may be a bookmark storage device, and may also be a terminal integrated with the bookmark storage device. The following description takes the execution subject as a terminal integrated with the bookmark storage device (terminal for short) as an example. As shown in Figure 1, the method may include the following steps:

在步骤S101中,接收书签保存命令。In step S101, a bookmark saving command is received.

具体的,用户在使用终端的浏览器浏览网页的过程中,若用户需要保存当前正在浏览的网页(简称:待保存网页),则终端可以接收到用户输入的书签保存命令。具体实现时,上述用户可以通过点击终端的浏览器上的书签保存按钮的方式,向终端输入书签保存命令。Specifically, when the user browses webpages using the browser of the terminal, if the user needs to save the webpage currently being browsed (abbreviation: webpage to be saved), the terminal may receive a bookmark save command input by the user. During specific implementation, the above-mentioned user may input a bookmark saving command to the terminal by clicking a bookmark saving button on the browser of the terminal.

在步骤S102中,根据书签保存命令,获取待保存地址。In step S102, the address to be saved is acquired according to the bookmark saving command.

具体的,上述终端在接收到用户输入的书签保存命令之后,可以根据该书签保存命令,从终端的浏览器中提取用户当前正在浏览的网页的地址,并将该网页的地址作为待保存地址。其中,该待保存地址例如可以为统一资源定位器(Uniform Resoure Locator,简称:URL)地址。Specifically, after the terminal receives the bookmark saving command input by the user, it can extract the address of the web page that the user is currently browsing from the browser of the terminal according to the bookmark saving command, and use the address of the web page as the address to be saved. Wherein, the address to be saved may be, for example, a Uniform Resource Locator (Uniform Resource Locator, URL for short) address.

在步骤S103中,根据待保存地址,获取待保存地址的至少一个上级地址。In step S103, according to the address to be saved, at least one upper-level address of the address to be saved is obtained.

具体的,网站中的网页通常是按照网站的目录等级存储在网站服务器中的,其中,每一级目录对应一个网页,每一级目录对应的网页的地址即为一级地址,任一网页之前的每个目录等级对应的地址均为该网页地址的上级地址。即,在网页的地址非根目录地址时,即非网站首页的地址时,网页的地址包括至少一个上级地址。Specifically, the webpages in the website are usually stored in the website server according to the directory levels of the website, wherein each level of directory corresponds to a webpage, and the address of the webpage corresponding to each level of directory is the first-level address. The address corresponding to each directory level of is the parent address of the web page address. That is, when the address of the web page is not the address of the root directory, that is, the address of the homepage of the website, the address of the web page includes at least one upper-level address.

例如:假定用户期望查找“网易的国内新闻”网页,该网页在网站中的目录等级为:网易首页>新闻中心>国内新闻,其中,每级目录的网页对应的地址如下:For example: Assume that the user expects to search for the "Netease Domestic News" webpage. The directory level of this webpage in the website is: NetEase Homepage > News Center > Domestic News, where the corresponding addresses of the webpages of each level of directory are as follows:

http://www.163.com/(网易首页)http://www.163.com/ (NetEase homepage)

http://news.163.com/(新闻中心)http://news.163.com/(News Center)

http://news.163.com/domestic/(国内新闻)http://news.163.com/domestic/ (domestic news)

则“http://news.163.com/domestic/”网页地址的上级地址包括:http://news.163.com/,和,http://www.163.com/。Then the superior addresses of the "http://news.163.com/domestic/" web page address include: http://news.163.com/, and, http://www.163.com/.

因此,在本实施例中,上述终端在获取到待保存地址之后,可以根据该待保存地址,获取该待保存地址的至少一个上级地址。其中,所获取的待保存地址的上级地址的个数具体可以根据待保存地址与待保存地址的根目录地址之间的目录等级个数、以及,用户的需求确定。本实施例不限定上述终端根据待保存地址,获取待保存地址的至少一个上级地址的具体实现方式。可选的,上述终端可以将待保存地址发送给待保存地址对应的网页所属的网站服务器,以接收网站服务器在自身所存储的目录列表中查找到的该待保存地址的上级地址。可选的,上述终端中还可以在自身预设的“待保存地址对应的网页所属的网站”的目录列表中,查找该待保存地址的上级地址。Therefore, in this embodiment, after obtaining the address to be saved, the terminal may obtain at least one upper-level address of the address to be saved according to the address to be saved. Wherein, the acquired number of superior addresses of the address to be saved may be determined according to the number of directory levels between the address to be saved and the root directory address of the address to be saved, and the user's requirements. This embodiment does not limit the specific implementation manner in which the terminal obtains at least one upper-level address of the address to be saved according to the address to be saved. Optionally, the above-mentioned terminal may send the address to be saved to the website server to which the webpage corresponding to the address to be saved belongs, so as to receive the upper-level address of the address to be saved found by the website server in its stored directory list. Optionally, the above-mentioned terminal may also search for the upper-level address of the address to be saved in the directory list of "the website to which the web page corresponding to the address to be saved belongs" preset by itself.

在步骤S104中,在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。In step S104, when there is at least one first upper-level address in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list.

具体的,在本实施例中,终端在浏览器的书签列表中保存每个书签时,也是按照该书签在网站中的目录等级进行保存。也就是说,书签列表中所保存的各书签包括了该书签、以及,该书签的上级地址(其中,这里所保存的上级地址的数量具体根据待保存地址与待保存地址的根目录地址之间的目录等级个数、以及,用户的需求确定)。因此,上述终端在获取到待保存地址的至少一个上级地址之后,可以在自身所保存的书签列表中所存储的书签、以及,书签的上级地址中,查找是否存在至少一个上级地址中的第一上级地址。其中,这里所说的第一上级地址可以为该至少一个上级地址中的任一存在书签列表中的地址。若该至少一个上级地址中有多个上级地址存在书签列表中,则该第一上级地址为该多个上级地址中等级最低的地址。这样,当书签列表中存在第一上级地址时,上述终端可以将该待保存地址保存在书签列表中的第一上级地址下。通过这种方式,使得具有相同上级地址的书签可以存储在同一上级地址下。Specifically, in this embodiment, when the terminal saves each bookmark in the bookmark list of the browser, it also saves according to the directory level of the bookmark in the website. That is to say, each bookmark saved in the bookmark list includes the bookmark and the upper-level address of the bookmark (wherein, the number of the upper-level addresses saved here is specifically determined according to the distance between the address to be saved and the root directory address of the address to be saved The number of directory levels, and the user's needs are determined). Therefore, after the above-mentioned terminal obtains at least one upper-level address of the address to be saved, it can search whether there is the first superior address. Wherein, the first upper-level address mentioned here may be any one of the at least one upper-level address that exists in the bookmark list. If there are multiple upper-level addresses in the at least one upper-level address stored in the bookmark list, then the first upper-level address is the address with the lowest level among the multiple upper-level addresses. In this way, when the first upper-level address exists in the bookmark list, the terminal may save the address to be saved under the first upper-level address in the bookmark list. In this way, bookmarks with the same upper-level address can be stored under the same upper-level address.

示例性的,假定上述书签列表中已保存的书签1为:Exemplarily, it is assumed that the saved bookmark 1 in the above bookmark list is:

http://www.163.com/(网易首页)http://www.163.com/ (NetEase home page)

http://news.163.com/(新闻中心)http://news.163.com/(News Center)

http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(书签1)http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(bookmark 1)

上述待保存地址为:The address to be saved above is:

http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate(待保存地址)http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (address to be saved)

该待保存地址的至少一个上级地址包括:At least one superior address of the address to be saved includes:

http://www.163.com/(网易首页)http://www.163.com/ (NetEase home page)

http://news.163.com/(新闻中心)http://news.163.com/(News Center)

http://news.163.com/domestic/(国内新闻)http://news.163.com/domestic/ (domestic news)

若上述第一上级地址为:http://news.163.com/,则通过上述示例可知,上述书签列表中存在该第一地址,则上述终端可以将待保存地址保存至书签列表的第一地址下,即如下所示:If the above-mentioned first upper-level address is: http://news.163.com/, then it can be known from the above example that the first address exists in the above-mentioned bookmark list, then the above-mentioned terminal can save the address to be saved to the first address in the bookmark list. Under the address, it looks like this:

http://www.163.com/(网易首页)http://www.163.com/ (NetEase homepage)

http://news.163.com/(新闻中心)http://news.163.com/(News Center)

http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(书签1)http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(bookmark 1)

http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate(待保存地址)http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (address to be saved)

通过这种方式,使得终端在保存新的书签至书签列表中时,可以通过该新的书签的上级地址,确定书签列表中是否存在与新的书签的上级地址相同的地址,在确定存在相同的地址时,将新的书签保存至该地址之下,以达到对书签进行分类的目的,使得书签列表为目录结构的书签列表。这样,用户在通过浏览器的书签列表查找某一书签时,可以方便和快速的查找到书签,提高了用户从书签列表中查找书签的效率。同时,由于目录结构的书签列表较为清晰和简洁,不会给用户造成杂乱无章的感觉,提高了用户体验。In this way, when the terminal saves a new bookmark in the bookmark list, it can determine whether there is an address identical to the new bookmark’s upper-level address in the bookmark list through the upper-level address of the new bookmark. address, save the new bookmark under the address, so as to achieve the purpose of classifying the bookmarks, so that the bookmark list is a bookmark list of directory structure. In this way, when the user searches for a certain bookmark through the bookmark list of the browser, the bookmark can be found conveniently and quickly, which improves the efficiency of the user to search for the bookmark from the bookmark list. At the same time, since the bookmark list of the directory structure is relatively clear and concise, it will not cause a sense of disorder to the user, and the user experience is improved.

本公开提供的书签保存方法,终端在接收到书签保存命令之后,可以根据书签保存命令获取到待保存地址,进而可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而使得终端可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。In the bookmark saving method provided by the present disclosure, after the terminal receives the bookmark saving command, it can obtain the address to be saved according to the bookmark saving command, and then can obtain at least one upper-level address of the address to be saved according to the address to be saved, so that the terminal When the first upper-level address of the at least one upper-level address exists in the bookmark list of the browser, the address to be saved is saved under the first upper-level address in the bookmark list of the browser, so as to achieve the purpose of classifying and saving the bookmarks. The purpose is to make the bookmark list form a bookmark list of directory structure, so that users can find bookmarks in the bookmark list, and improve the efficiency of users to find bookmarks.

可选的,在本公开的另一实现方式中,在书签列表中存在至少一个上级地址中的第一上级地址时,若第一上级地址与待保存地址之间存在至少一级间隔地址,则在上述S104中,终端还可以按照待保存地址和至少一级间隔地址的等级顺序,将待保存地址和每一级间隔地址保存至第一上级地址下。Optionally, in another implementation manner of the present disclosure, when there is at least one first upper-level address in the bookmark list, if there is at least one level of gap between the first upper-level address and the address to be saved, then In the above S104, the terminal may also save the address to be saved and each level of interval address under the first upper-level address according to the hierarchical order of the address to be saved and at least one level of interval address.

继续参照上述示例,在上述示例中,上述第一上级地址(http://news.163.com/)与待保存地址之间存在一级间隔地址,即http://news.163.com/domestic/,则在该实现方式中,上述终端还可以将待保存地址和该间隔地址保存至第一上级地址下,即如下所示:Continuing to refer to the above example, in the above example, there is a one-level interval address between the first upper-level address (http://news.163.com/) and the address to be saved, namely http://news.163.com/ domestic/, in this implementation, the above-mentioned terminal can also save the address to be saved and the interval address to the first upper-level address, which is as follows:

http://www.163.com/(网易首页)http://www.163.com/ (NetEase home page)

http://news.163.com/(新闻中心)http://news.163.com/(News Center)

http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(书签1)http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist(bookmark 1)

http://news.163.com/domestic/(间隔地址)http://news.163.com/domestic/ (interval address)

http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate(待保存地址)http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (address to be saved)

通过这种方式,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当终端再次需要保存新的书签时,终端可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。In this way, the upper-level address of the address to be saved stored in the bookmark list is more complete. In this way, when the terminal needs to save a new bookmark again, the terminal can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the terminal can be more accurate when saving the new bookmark to the bookmark list Classifying and saving new bookmarks improves the accuracy of bookmark list classification, thereby improving the efficiency of users looking for bookmarks.

可选的,在本公开的另一实现方式中,上述终端可以获取待保存地址的所有上级地址,同时,终端还可以获取书签列表中每个书签的所有上级地址,以判断待保存地址的上级地址中是否存在与书签列表的书签的上级地址相同的上级地址,进而在存在相同的上级地址时,且该相同的上级地址未存在书签列表中时,将该相同的上级地址更新至书签列表中,并将该待保存地址,以及,该相同的上级地址下的书签同时更新至该相同的上级地址下,以达到对书签进行分类的目的。通过这种方式,可以提高书签列表分类的精准性,进而提高了用户查找书签的效率。Optionally, in another implementation of the present disclosure, the above-mentioned terminal may acquire all the upper-level addresses of the address to be saved, and at the same time, the terminal may also obtain all the upper-level addresses of each bookmark in the bookmark list, so as to determine the upper-level address of the address to be saved Whether there is an upper-level address that is the same as the upper-level address of the bookmark in the bookmark list in the address, and then when the same upper-level address exists, and the same upper-level address does not exist in the bookmark list, update the same upper-level address to the bookmark list , and simultaneously update the address to be saved and the bookmarks under the same upper-level address to the same upper-level address, so as to achieve the purpose of classifying bookmarks. In this manner, the classification accuracy of the bookmark list can be improved, thereby improving the efficiency of the user in searching for bookmarks.

图2是根据另一示例性实施例示出的一种书签保存方法的流程图。本实施例涉及的是上述终端根据所接收到的书签保存命令,在书签列表中保存书签的具体过程。如图2所示,该方法可以包括:Fig. 2 is a flowchart of a method for saving a bookmark according to another exemplary embodiment. This embodiment relates to the specific process of saving the bookmark in the bookmark list by the terminal according to the received bookmark saving command. As shown in Figure 2, the method may include:

在步骤S201中,终端接收书签保存命令。In step S201, the terminal receives a bookmark saving command.

在步骤S202中,终端根据书签保存命令,获取待保存地址。In step S202, the terminal acquires the address to be saved according to the bookmark saving command.

在步骤S203中,终端根据待保存地址,获取待保存地址的至少一个上级地址。In step S203, the terminal acquires at least one upper-level address of the address to be saved according to the address to be saved.

其中,上述步骤S201-S203的描述具体可以参见上述S101-S103的描述,对此不再赘述。Wherein, for the description of the above-mentioned steps S201-S203, please refer to the description of the above-mentioned S101-S103 for details, which will not be repeated here.

在步骤S204中,终端确定书签列表中是否存在至少一个上级地址中的第一上级地址。若是,则执行S205,若否,则执行S206。In step S204, the terminal determines whether the first upper-level address among the at least one upper-level addresses exists in the bookmark list. If yes, execute S205; if not, execute S206.

具体的,若上述终端确定书签列表中存在至少一个上级地址中的第一上级地址,说明上述书签列表中已经保存有与待保存地址具有相同上级地址的书签,在这种情况下,终端可以将该待保存地址直接保存至该上级地址下,即执行S205,以达到在书签列表中对各书签进行分类保存的目的,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。Specifically, if the terminal determines that there is at least one first upper-level address in the bookmark list, it means that a bookmark with the same upper-level address as the address to be saved has been saved in the above-mentioned bookmark list. In this case, the terminal can set the The address to be saved is directly saved under the upper-level address, that is, S205 is executed to achieve the purpose of classifying and saving each bookmark in the bookmark list, so that the user can search for bookmarks in the bookmark list, and the efficiency of the user's search for bookmarks is improved.

若上述终端确定书签列表中不存在至少一个上级地址中的第一上级地址,说明上述书签列表中所保存的所有地址中,没有一个地址与待保存地址的任一上级地址相同,在这种情况下,终端可以按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,即执行S206。If the above-mentioned terminal determines that the first upper-level address in at least one upper-level address does not exist in the bookmark list, it means that among all the addresses saved in the above-mentioned bookmark list, none of the addresses is the same as any upper-level address of the address to be saved. In this case Next, the terminal may save the address to be saved and the at least one higher-level address in the bookmark list according to the hierarchical order of the address to be saved and the at least one higher-level address, that is, execute S206.

其中,上述终端确定书签列表中是否存在至少一个上级地址中的第一上级地址的描述,可以参见上述S104的描述。Wherein, the description of whether the terminal determines whether the first upper-level address in the at least one upper-level address exists in the bookmark list can refer to the description of the above-mentioned S104.

在步骤S205中,终端将待保存地址保存至书签列表的第一上级地址下。In step S205, the terminal saves the address to be saved under the first upper-level address in the bookmark list.

其中,上述步骤S205的描述具体可以参见上述S104的描述,对此不再赘述。For the description of the above-mentioned step S205, please refer to the description of the above-mentioned S104 for details, which will not be repeated here.

执行完S205之后,结束流程。After S205 is executed, the process ends.

在步骤S206中,终端按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中。In step S206, the terminal saves the address to be saved and the at least one superior address in the bookmark list according to the hierarchical order of the address to be saved and the at least one superior address.

具体的,终端在确定书签列表中不存在至少一个上级地址中的第一上级地址时,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址中的每个上级地址保存至书签列表中。其中,上述至少一个上级地址可以包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址,还可以包括:待保存地址按照等级顺序向上,直至根目录信息的部分上级地址,具体可以根据用户的需求设定。Specifically, when the terminal determines that the first upper-level address in the at least one upper-level address does not exist in the bookmark list, according to the hierarchical order of the address to be saved and the at least one upper-level address, the address to be saved and each upper-level address in the at least one upper-level address The address is saved to the bookmark list. Wherein, the above-mentioned at least one upper-level address may include: the address to be saved goes up in hierarchical order until all the upper-level addresses of the root directory information, and may also include: the address to be saved goes up in a hierarchical order up to part of the upper-level addresses of the root directory information, specifically Set according to user's needs.

当上述至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的部分上级地址时,上述终端可以将待保存地址、以及按照等级顺序向上的部分上级地址,按照等级顺序保存至书签列表中。通过这种方式,使得终端在后续保存新的书签时,可以依据书签列表中所保存的待保存地址和至少一个上级地址,确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以对新的书签进行分类保存,达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。When the above-mentioned at least one upper-level address includes: the address to be saved goes up in the order of the level, until part of the upper-level address of the root directory information, the above-mentioned terminal can save the address to be saved and the part of the upper-level address in the order of the level to the bookmark in the order of the level List. In this way, when the terminal subsequently saves a new bookmark, it can determine whether there is a higher-level address of the new bookmark according to the address to be saved and at least one higher-level address stored in the bookmark list, so that the terminal can save the new bookmark. When bookmarks are saved to the bookmark list, new bookmarks can be saved in categories to achieve the purpose of classifying and saving bookmarks, so that the bookmark list forms a bookmark list with a directory structure, so that users can easily search for bookmarks in the bookmark list, which improves user search. Bookmark efficiency.

当上述至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址时,上述终端可以将待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照等级顺序保存至书签列表中。通过这种方式,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当终端再次需要保存新的书签时,终端可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得终端可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。When the above-mentioned at least one upper-level address includes: the address to be saved goes up to all the upper-level addresses of the root directory information in the order of the level, the above-mentioned terminal can put the address to be saved and all the upper-level addresses up to the root directory information in the order of the level, according to the level The order is saved to the bookmark list. In this way, the upper-level address of the address to be saved stored in the bookmark list is more complete. In this way, when the terminal needs to save a new bookmark again, the terminal can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the terminal can be more accurate when saving the new bookmark to the bookmark list Classifying and saving new bookmarks improves the accuracy of bookmark list classification, thereby improving the efficiency of users looking for bookmarks.

执行完S206之后,结束流程。After S206 is executed, the process ends.

本公开提供的书签保存方法,终端在接收到书签保存命令之后,可以根据书签保存命令获取到待保存地址,进而可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而使得终端可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。In the bookmark saving method provided by the present disclosure, after the terminal receives the bookmark saving command, it can obtain the address to be saved according to the bookmark saving command, and then can obtain at least one upper-level address of the address to be saved according to the address to be saved, so that the terminal When the first upper-level address of the at least one upper-level address exists in the bookmark list of the browser, the address to be saved is saved under the first upper-level address in the bookmark list of the browser, so as to achieve the purpose of classifying and saving the bookmarks. The purpose is to make the bookmark list form a bookmark list of directory structure, so that users can find bookmarks in the bookmark list, and improve the efficiency of users to find bookmarks.

下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure. For details not disclosed in the disclosed device embodiments, please refer to the disclosed method embodiments.

图3是根据一示例性实施例示出的一种书签保存装置的框图,如图3所示,该书签保存装置可以通过软件、硬件或者两者的结合实现终端的部分或者全部。该书签保存装置可以包括:Fig. 3 is a block diagram of a device for saving a bookmark according to an exemplary embodiment. As shown in Fig. 3 , the device for saving a bookmark may implement part or all of a terminal through software, hardware or a combination of the two. The bookmarking means may include:

接收模块11,被配置为接收书签保存命令;The receiving module 11 is configured to receive a bookmark saving command;

第一获取模块12,被配置为根据书签保存命令,获取待保存地址;The first obtaining module 12 is configured to obtain the address to be saved according to the bookmark saving command;

第二获取模块13,被配置为根据待保存地址,获取待保存地址的至少一个上级地址;The second obtaining module 13 is configured to obtain at least one upper-level address of the address to be saved according to the address to be saved;

第一保存模块14,被配置为在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。The first saving module 14 is configured to save the address to be saved under the first upper address in the bookmark list when there is at least one first upper address in the bookmark list.

本公开提供的书签保存装置,接收模块在接收到书签保存命令之后,第一获取模块可以根据该书签保存命令,获取待保存地址,进而使得第二获取模块可以根据该待保存地址,获取该待保存地址的至少一个上级地址,从而使得第一保存模块可以在浏览器的书签列表中存在该至少一个上级地址中的第一上级地址时,在浏览器的书签列表中将待保存地址保存至该第一上级地址下,以达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。In the bookmark saving device provided in the present disclosure, after the receiving module receives the bookmark saving command, the first acquiring module can acquire the address to be saved according to the bookmark saving command, and then the second acquiring module can acquire the address to be saved according to the bookmark saving command. Save at least one upper-level address of the address, so that the first saving module can store the address to be saved in the bookmark list of the browser when the first upper-level address of the at least one upper-level address exists in the bookmark list of the browser. Under the first superior address, in order to achieve the purpose of classifying and saving bookmarks, the bookmark list forms a bookmark list with a directory structure, so that users can easily search for bookmarks in the bookmark list, and improve the efficiency of user search for bookmarks.

可选的,在本公开的一种实现方式中,第一保存模块14,被配置为在书签列表中存在至少一个上级地址中的第一上级地址时,若第一上级地址与待保存地址之间存在至少一级间隔地址,则按照待保存地址和至少一级间隔地址的等级顺序,将待保存地址和每一级间隔地址保存至第一上级地址下。Optionally, in an implementation manner of the present disclosure, the first saving module 14 is configured to, when at least one first upper-level address among the upper-level addresses exists in the bookmark list, if the difference between the first upper-level address and the address to be saved If there is at least one level of interval address between, then according to the hierarchical order of the address to be saved and at least one level of interval address, save the address to be saved and each level of interval address under the first upper level address.

本公开提供的书签保存装置,第一保存模块通过将待保存地址和每一级间隔地址保存至第一上级地址下,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当再次需要保存新的书签时,书签保存装置可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得第一保存模块可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。In the bookmark saving device provided by the present disclosure, the first saving module makes the upper-level addresses of the addresses to be saved stored in the bookmark list more complete by saving the addresses to be saved and the addresses of each level interval under the first upper-level address. In this way, when a new bookmark needs to be saved again, the bookmark saving device can more accurately determine whether there is a higher-level address of the new bookmark from the bookmark list, so that the first saving module can save the new bookmark in the bookmark list. , new bookmarks can be classified and stored more accurately, which improves the accuracy of bookmark list classification, thereby improving the efficiency of users searching for bookmarks.

图4是根据另一示例性实施例示出的一种书签保存装置的框图。如图4所示,在上述图3所示框图的基础上,上述书签保存装置还可以包括:Fig. 4 is a block diagram of an apparatus for saving a bookmark according to another exemplary embodiment. As shown in Figure 4, on the basis of the block diagram shown in Figure 3 above, the above-mentioned bookmark storage device may also include:

第二保存模块15,被配置为在书签列表中不存在至少一个上级地址中的第一上级地址时,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中。The second saving module 15 is configured to save the address to be saved and the at least one upper-level address according to the hierarchical order of the address to be saved and the at least one upper-level address when the first upper-level address in the at least one upper-level address does not exist in the bookmark list to the bookmark list.

本公开提供的书签保存装置,在确定书签列表中不存在待保存地址的第一上级地址时,第二保存模块可以按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,从而使得在后续保存新的书签时,书签保存装置可以依据书签列表中所保存的待保存地址和至少一个上级地址,确定是否存在新的书签的上级地址,进而使得第一保存模块在将新的书签保存至书签列表中时,可以对新的书签进行分类保存,达到对书签进行分类保存的目的,使得书签列表形成目录结构的书签列表,以便于用户在书签列表中查找书签,提高了用户查找书签的效率。In the bookmark saving device provided by the present disclosure, when it is determined that there is no first upper-level address of the address to be saved in the bookmark list, the second saving module may combine the address to be saved and at least one upper-level address according to the hierarchical order of the address to be saved and at least one The upper-level address is saved in the bookmark list, so that when a new bookmark is saved subsequently, the bookmark saving device can determine whether there is a new upper-level address of the bookmark according to the address to be saved and at least one upper-level address stored in the bookmark list, and then make When the first saving module saves new bookmarks in the bookmark list, it can classify and save the new bookmarks, so as to achieve the purpose of classifying and saving the bookmarks, so that the bookmark list forms a bookmark list with a directory structure, so that the user can enter the bookmark list in the bookmark list. Find bookmarks in , which improves the efficiency of users to find bookmarks.

可选的,在本公开的一种实现方式中,上述待保存地址的至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。则在该实现方式下,上述第二保存模块15,可以被配置为将待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照等级顺序保存至书签列表中。Optionally, in an implementation manner of the present disclosure, at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information. Then in this implementation, the above-mentioned second saving module 15 may be configured to save the address to be saved and all the upper-level addresses up to the root directory information in a hierarchical order in the bookmark list in a hierarchical order.

本公开提供的书签保存装置,第二保存模块通过将待保存地址和按照等级顺序向上直至根目录信息的所有上级地址保存至书签列表中,使得书签列表中所保存的待保存地址的上级地址更加完善。这样,当书签保存装置再次需要保存新的书签时,可以从书签列表中更加准确的确定是否存在新的书签的上级地址,进而使得第一保存模块可以在将新的书签保存至书签列表中时,可以更加精准对新的书签进行分类保存,提高了书签列表分类的精准性,进而提高了用户查找书签的效率。In the bookmark saving device provided by the disclosure, the second saving module saves the address to be saved and all the upper-level addresses up to the root directory information in the bookmark list in the bookmark list, so that the upper-level addresses of the addresses to be saved stored in the bookmark list are more accurate. Complete. In this way, when the bookmark saving device needs to save a new bookmark again, it can be more accurately determined from the bookmark list whether there is a higher-level address of the new bookmark, so that the first saving module can save the new bookmark in the bookmark list. , new bookmarks can be classified and stored more accurately, which improves the accuracy of bookmark list classification, thereby improving the efficiency of users searching for bookmarks.

图5是根据一示例性实施例示出的一种书签保存装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 5 is a block diagram of an apparatus 500 for saving a bookmark according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。5, device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516 .

处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The processing component 502 generally controls the overall operations of the device 500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 502 may include one or more modules that facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502 .

存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 504 is configured to store various types of data to support operations at the device 500 . Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and the like. The memory 504 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。The power supply component 506 provides power to various components of the device 500 . Power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500 .

多媒体组件508包括在装置500和用户之间的提供一个输出接口的触控显示屏。在一些实施例中,触控显示屏可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 508 includes a touchscreen display that provides an output interface between the device 500 and the user. In some embodiments, the touch display may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a microphone (MIC), which is configured to receive external audio signals when the device 500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 504 or sent via communication component 516 . In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主条按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between the processing component 502 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home buttons, volume buttons, start button, and lock button.

传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500 . For example, the sensor component 514 can detect the open/closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, the sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500, the user Presence or absence of contact with device 500 , device 500 orientation or acceleration/deceleration and temperature change of device 500 . Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 516 is configured to facilitate wired or wireless communication between the apparatus 500 and other devices. The device 500 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 500 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器520执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 504 including instructions, which can be executed by the processor 520 of the device 500 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当存储介质中的指令由装置500的处理器执行时,使得装置500能够执行一种书签保存方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 500, the device 500 can execute a bookmark saving method.

方法包括:Methods include:

接收书签保存命令;Receive bookmark save command;

根据所述书签保存命令,获取待保存地址;Acquiring the address to be saved according to the bookmark saving command;

根据待保存地址,获取待保存地址的至少一个上级地址;Acquiring at least one superior address of the address to be saved according to the address to be saved;

在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下。When there is at least one first upper-level address in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list.

可选的,在书签列表中存在至少一个上级地址中的第一上级地址时,将待保存地址保存至书签列表的第一上级地址下,包括:Optionally, when there is at least one first upper-level address in the upper-level address in the bookmark list, saving the address to be saved under the first upper-level address in the bookmark list includes:

在书签列表中存在至少一个上级地址中的第一上级地址时,若第一上级地址与待保存地址之间存在至少一级间隔地址,则按照待保存地址和至少一级间隔地址的等级顺序,将待保存地址和每一级间隔地址保存至第一上级地址下。When there is at least one first upper-level address in the upper-level address in the bookmark list, if there is at least one level of interval address between the first upper-level address and the address to be saved, then according to the hierarchical order of the address to be saved and the at least one level of interval address, The address to be saved and the address of each level interval are saved under the first upper level address.

可选的,方法还包括:Optionally, the method also includes:

在书签列表中不存在至少一个上级地址中的第一上级地址时,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中。When the first upper-level address of the at least one upper-level address does not exist in the bookmark list, the address to be saved and the at least one upper-level address are saved in the bookmark list according to the hierarchical order of the address to be saved and the at least one upper-level address.

可选的,待保存地址的至少一个上级地址包括:待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。Optionally, at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information.

可选的,按照待保存地址和至少一个上级地址的等级顺序,将待保存地址和至少一个上级地址保存至书签列表中,包括:Optionally, according to the hierarchical order of the address to be saved and at least one superior address, the address to be saved and at least one superior address are saved in the bookmark list, including:

将待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照等级顺序保存至书签列表中。Save the address to be saved and all the upper-level addresses up to the root directory information according to the hierarchical order, and save them in the bookmark list according to the hierarchical order.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1.一种基于浏览器的书签保存方法,其特征在于,包括:1. A method for saving bookmarks based on a browser, comprising: 接收书签保存命令;Receive bookmark save command; 根据所述书签保存命令,获取待保存地址;Acquiring the address to be saved according to the bookmark saving command; 根据所述待保存地址,获取所述待保存地址的至少一个上级地址;Obtaining at least one upper-level address of the address to be saved according to the address to be saved; 在书签列表中存在所述至少一个上级地址中的第一上级地址时,将所述待保存地址保存至所述书签列表的第一上级地址下。When the first upper-level address of the at least one upper-level address exists in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list. 2.根据权利要求1所述的方法,其特征在于,所述在书签列表中存在所述至少一个上级地址中的第一上级地址时,将所述待保存地址保存至所述书签列表的第一上级地址下,包括:2. The method according to claim 1, wherein when the first upper-level address in the at least one upper-level address exists in the bookmark list, the address to be saved is saved to the first upper-level address in the bookmark list. One superior address, including: 在书签列表中存在所述至少一个上级地址中的第一上级地址时,若所述第一上级地址与所述待保存地址之间存在至少一级间隔地址,则按照所述待保存地址和所述至少一级间隔地址的等级顺序,将所述待保存地址和每一级间隔地址保存至所述第一上级地址下。When the first upper-level address of the at least one upper-level address exists in the bookmark list, if there is at least one level of space between the first upper-level address and the address to be saved, according to the address to be saved and the address to be saved The hierarchical order of the at least one level of interval address, and the address to be saved and each level of interval address are saved under the first upper level address. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises: 在书签列表中不存在所述至少一个上级地址中的第一上级地址时,按照所述待保存地址和所述至少一个上级地址的等级顺序,将所述待保存地址和所述至少一个上级地址保存至所述书签列表中。When the first upper-level address of the at least one upper-level address does not exist in the bookmark list, the address to be saved and the at least one upper-level address are combined according to the hierarchical order of the address to be saved and the at least one upper-level address Save to said bookmark list. 4.根据权利要求3所述的方法,其特征在于,所述待保存地址的至少一个上级地址包括:所述待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。4 . The method according to claim 3 , wherein at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information. 5.根据权利要求4所述的方法,其特征在于,所述按照所述待保存地址和所述至少一个上级地址的等级顺序,将所述待保存地址和所述至少一个上级地址保存至所述书签列表中,包括:5. The method according to claim 4, wherein the address to be saved and the at least one superior address are saved to the The list of bookmarks mentioned above includes: 将所述待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照所述等级顺序保存至所述书签列表中。Save the address to be saved and all the upper-level addresses up to the root directory information according to the hierarchical order in the bookmark list according to the hierarchical order. 6.一种基于浏览器的书签保存装置,其特征在于,包括:6. A browser-based bookmark storage device, characterized in that it comprises: 接收模块,被配置为接收书签保存命令;A receiving module configured to receive a bookmark saving command; 第一获取模块,被配置为根据所述书签保存命令,获取待保存地址;The first obtaining module is configured to obtain the address to be saved according to the bookmark saving command; 第二获取模块,被配置为根据所述待保存地址,获取所述待保存地址的至少一个上级地址;The second obtaining module is configured to obtain at least one upper-level address of the address to be saved according to the address to be saved; 第一保存模块,被配置为在书签列表中存在所述至少一个上级地址中的第一上级地址时,将所述待保存地址保存至所述书签列表的第一上级地址下。The first saving module is configured to save the address to be saved under the first upper address in the bookmark list when the first upper address of the at least one upper address exists in the bookmark list. 7.根据权利要求6所述的装置,其特征在于,所述第一保存模块,被配置为在书签列表中存在所述至少一个上级地址中的第一上级地址时,若所述第一上级地址与所述待保存地址之间存在至少一级间隔地址,则按照所述待保存地址和所述至少一级间隔地址的等级顺序,将所述待保存地址和每一级间隔地址保存至所述第一上级地址下。7. The device according to claim 6, wherein the first saving module is configured to: when the first upper-level address of the at least one upper-level address exists in the bookmark list, if the first upper-level address There is at least one level of interval address between the address and the address to be saved, then according to the order of the levels of the address to be saved and the at least one level of interval address, the address to be saved and each level of interval address are saved to the under the above-mentioned first superior address. 8.根据权利要求6所述的装置,其特征在于,所述装置还包括:8. The device according to claim 6, further comprising: 第二保存模块,被配置为在书签列表中不存在所述至少一个上级地址中的第一上级地址时,按照所述待保存地址和所述至少一个上级地址的等级顺序,将所述待保存地址和所述至少一个上级地址保存至所述书签列表中。The second saving module is configured to, when the first upper-level address in the at least one upper-level address does not exist in the bookmark list, according to the hierarchical order of the address to be saved and the at least one upper-level address, the to-be-saved address The address and the at least one superior address are stored in the bookmark list. 9.根据权利要求8所述的装置,其特征在于,所述待保存地址的至少一个上级地址包括:所述待保存地址按照等级顺序向上,直至根目录信息的所有上级地址。9 . The device according to claim 8 , wherein at least one upper-level address of the address to be saved includes: the address to be saved goes up in hierarchical order until all upper-level addresses of the root directory information. 10.根据权利要求9所述的装置,其特征在于,所述第二保存模块,被配置为将所述待保存地址、以及按照等级顺序向上直至根目录信息的所有上级地址,按照所述等级顺序保存至所述书签列表中。10. The device according to claim 9, wherein the second saving module is configured to store the address to be saved and all the upper-level addresses up to the root directory information according to the level order, according to the level The order is saved to the bookmark list. 11.一种基于浏览器的书签保存装置,其特征在于,包括:11. A browser-based bookmark storage device, characterized in that it comprises: 处理器;processor; 用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions of the processor; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收书签保存命令;Receive bookmark save command; 根据所述书签保存命令,获取待保存地址;Acquiring the address to be saved according to the bookmark saving command; 根据所述待保存地址,获取所述待保存地址的至少一个上级地址;Obtaining at least one upper-level address of the address to be saved according to the address to be saved; 在书签列表中存在所述至少一个上级地址中的第一上级地址时,将所述待保存地址保存至所述书签列表的第一上级地址下。When the first upper-level address of the at least one upper-level address exists in the bookmark list, the address to be saved is saved under the first upper-level address in the bookmark list.
CN201611037116.8A 2016-11-23 2016-11-23 Bookmark saving method and device Pending CN106528838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611037116.8A CN106528838A (en) 2016-11-23 2016-11-23 Bookmark saving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611037116.8A CN106528838A (en) 2016-11-23 2016-11-23 Bookmark saving method and device

Publications (1)

Publication Number Publication Date
CN106528838A true CN106528838A (en) 2017-03-22

Family

ID=58356553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611037116.8A Pending CN106528838A (en) 2016-11-23 2016-11-23 Bookmark saving method and device

Country Status (1)

Country Link
CN (1) CN106528838A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486791A (en) * 2010-12-06 2012-06-06 腾讯科技(深圳)有限公司 Method and server for intelligently classifying bookmarks
CN103324669A (en) * 2013-05-20 2013-09-25 北京奇虎科技有限公司 Method and client for processing web page bookmark
CN103870494A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Method, device and terminal for setting browser bookmark
CN103942246A (en) * 2014-02-22 2014-07-23 浙江大学 Browser label display method based on web page URL analysis and classification
CN105224533A (en) * 2014-05-28 2016-01-06 北京搜狗科技发展有限公司 Browser collection folder method for sorting and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102486791A (en) * 2010-12-06 2012-06-06 腾讯科技(深圳)有限公司 Method and server for intelligently classifying bookmarks
CN103870494A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Method, device and terminal for setting browser bookmark
CN103324669A (en) * 2013-05-20 2013-09-25 北京奇虎科技有限公司 Method and client for processing web page bookmark
CN103942246A (en) * 2014-02-22 2014-07-23 浙江大学 Browser label display method based on web page URL analysis and classification
CN105224533A (en) * 2014-05-28 2016-01-06 北京搜狗科技发展有限公司 Browser collection folder method for sorting and device

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
WO2015143806A1 (en) Previous page return control method and device
CN108595665A (en) The display methods and device of web page contents
CN106528617B (en) A kind of method and device that Web page picture is shown
CN104462296B (en) File management method and device and terminal
WO2016000357A1 (en) Webpage access method and device, server and terminal
CN117390330A (en) Webpage access method and device
CN106896991A (en) A kind of method and device of fresh information
CN106897937A (en) A kind of method and apparatus for showing social sharing information
CN106227848A (en) The display packing of notification message, device and terminal
CN107402767B (en) Method and apparatus for displaying push messages
CN106503131A (en) Obtain the method and device of interest information
CN104683496B (en) address filtering method and device
CN106708967A (en) Page display method and device
CN107463372B (en) Data-driven page updating method and device
CN106210258B (en) Webpage access method and device
CN105117115B (en) A kind of method and apparatus for showing electronic document
CN106294596A (en) The method and device of information search
CN104780153B (en) Information filtering method and device
CN105912202A (en) Application sharing method and device
CN107423324A (en) Access method, device and the equipment of webpage
CN107329744A (en) The functional module of application program starts method and device
CN113010763A (en) Searching method, searching device, mobile terminal and storage medium
CN106960026A (en) Searching method, search engine and electronic equipment

Legal Events

Date Code Title Description
C06 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: 20170322

RJ01 Rejection of invention patent application after publication