WO2017152786A1 - 一种书签的管理方法和装置 - Google Patents

一种书签的管理方法和装置 Download PDF

Info

Publication number
WO2017152786A1
WO2017152786A1 PCT/CN2017/074867 CN2017074867W WO2017152786A1 WO 2017152786 A1 WO2017152786 A1 WO 2017152786A1 CN 2017074867 W CN2017074867 W CN 2017074867W WO 2017152786 A1 WO2017152786 A1 WO 2017152786A1
Authority
WO
WIPO (PCT)
Prior art keywords
bookmark
folder
detecting
bookmark folder
operation command
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.)
Ceased
Application number
PCT/CN2017/074867
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2017152786A1 publication Critical patent/WO2017152786A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • 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

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a bookmark management method and apparatus.
  • Safari is the browser of Mac OS X, the latest operating system of Apple Computer. It uses KHTML (Kool HyperText Markup Language) of KDE (Kool Desktop Environment). ) as the computing core of the browser.
  • KHTML Kool HyperText Markup Language
  • KDE Kool Desktop Environment
  • the Safari browser already supports the Windows platform and is the default browser specified by iOS (Mobile Operating System) in iPhones, iPod Touch, iPad tablets.
  • Browser bookmarks are also a collection feature that allows users to record their favorite URLs through browser bookmarks for quick access in the future. Moreover, in order to facilitate the user to call the same browser bookmark in different devices, the bookmark synchronization function can also be added in the browser, and the user only needs to log in to the same account, and can synchronously obtain his own browser bookmark, which is very convenient to use.
  • the present application provides a method for managing a bookmark, the method comprising the steps of: detecting an operation command for migrating a bookmark from a first bookmark folder to a second bookmark folder; detecting that the second bookmark folder is from the first An operation command for migrating to a second location; displaying a naming input box of the second bookmark folder to enable a user to perform a naming operation; detecting a folder name input by the user in the naming input box; The name of the second bookmark folder is named as the folder name.
  • the operation command for detecting migration of the bookmark from the first bookmark folder to the second bookmark folder includes: when detecting that the bookmark is continuously clicked to reach an operation command of a preset first time, and detecting the bookmark When being migrated from the first bookmark folder to the operation area of the second bookmark folder, an operation command to migrate the bookmark from the first bookmark folder to the second bookmark folder is detected.
  • the operation command for detecting the migration of the second bookmark folder from the first location to the second location includes: when detecting that the second bookmark folder is continuously clicked to reach a preset second time operation command And detecting that the second bookmark folder migrates from the first location to the second location, detecting an operation command to migrate the second bookmark folder from the first location to the second location.
  • the process of detecting that the bookmark is continuously clicked to reach an operation command of a preset first time includes: acquiring a first time difference between a time when the bookmark starts to be clicked and a time when the bookmark starts to be migrated, If the first time difference is greater than or equal to the preset first time, detecting that the bookmark is continuously clicked to reach an operation command of a preset first time;
  • the process of detecting that the second bookmark folder is continuously clicked to reach the operation command of the preset second time includes: acquiring the time when the second bookmark folder starts being clicked and the second bookmark folder starting to be migrated The second time difference between the times, if the second time difference is greater than or equal to the preset second time, detecting that the second bookmark folder is continuously clicked to reach the preset second time operation command.
  • the first location includes a particular location in the bookmark page, and the particular location includes a lower right corner location or a lower left corner location in the bookmark page; the second location includes a location in the bookmarks bar.
  • the second bookmark folder is an imaginary bookmark folder, and the transparency of the second bookmark folder is greater than a preset first percentage
  • the second bookmark folder is a physical bookmark folder, and the transparency of the second bookmark folder is less than a preset second percentage.
  • the method further includes: when a plurality of bookmarks are present in the second bookmark folder, when a movement operation command of the bookmark is detected And moving the bookmark in the second bookmark folder according to the moving operation command; wherein moving the bookmark in the second bookmark folder comprises moving the bookmark upward or moving the bookmark downward a bookmark to change the order of the plurality of bookmarks in the second bookmark folder.
  • the method further includes: determining whether a bookmark is still present in the first bookmark folder; if not, from the bookmark column The first bookmark folder is deleted.
  • the method further includes performing a process of displaying a named input box of the second bookmark folder and naming the name of the second bookmark folder as the folder name under the current display page of the browser.
  • the present application provides a bookmark management apparatus, and the apparatus specifically includes:
  • a detecting module configured to detect an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder, and detecting an operation command for migrating the second bookmark folder from the first location to the second location;
  • the display module a naming input box for displaying a second bookmark folder, the naming operation is performed by the user;
  • the naming module is configured to detect a folder name input by the user in the named input box, and the second bookmark file is The name of the folder is named the folder name.
  • the detecting module is specifically configured to, when detecting an operation command for migrating a bookmark from the first bookmark folder to the second bookmark folder, when detecting that the bookmark is continuously clicked to reach a preset first time a command, and detecting that the bookmark is migrated from the first bookmark folder to the operation area of the second bookmark folder, detecting an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder .
  • the detecting module is specifically configured to: when detecting an operation command for migrating the second bookmark folder from the first location to the second location, when detecting that the second bookmark folder is continuously clicked to reach the pre-pre Setting an operation command of the second time, and detecting that the second bookmark folder is migrated from the first location to the second location, detecting that the second bookmark folder is migrated from the first location to the second location Operational commands.
  • the detecting module is specifically configured to: when detecting that the bookmark is continuously clicked to reach an operation command of a preset first time, between acquiring a time when the bookmark starts to be clicked and a time when the bookmark starts to be migrated a first time difference, if the first time difference is greater than or equal to the preset first time, detecting that the bookmark is continuously clicked to reach an operation command of a preset first time;
  • the first location includes a particular location in the bookmark page, and the particular location includes a lower right corner location or a lower left corner location in the bookmark page; the second location includes a location in the bookmarks bar.
  • the second bookmark folder is an imaginary bookmark folder, and the transparency of the second bookmark folder is greater than a preset first percentage
  • the second bookmark folder is a physical bookmark folder, and the transparency of the second bookmark folder is less than a preset second percentage.
  • the method further includes: a moving module, configured to: after the name of the second bookmark folder is named as the folder name, when a plurality of bookmarks exist in the second bookmark folder, the moving operation of the bookmark is detected When the command is executed, moving the bookmark in the second bookmark folder according to the moving operation command; moving the bookmark in the second bookmark folder includes moving the bookmark upward or moving the bookmark downward a bookmark to change the order of the plurality of bookmarks in the second bookmark folder.
  • a moving module configured to: after the name of the second bookmark folder is named as the folder name, when a plurality of bookmarks exist in the second bookmark folder, the moving operation of the bookmark is detected When the command is executed, moving the bookmark in the second bookmark folder according to the moving operation command; moving the bookmark in the second bookmark folder includes moving the bookmark upward or moving the bookmark downward a bookmark to change the order of the plurality of bookmarks in the second bookmark folder.
  • a deletion module configured to determine whether the first bookmark folder is inside after detecting an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder There is also a bookmark; if not, the first bookmark folder is deleted from the bookmarks bar.
  • the display module is specifically configured to display a named input box of the second bookmark folder under the current display page of the browser; the naming module is specifically configured to: under the current display page of the browser, the second The name of the bookmark folder is named the folder name.
  • the named input box of the second bookmark folder can be displayed to enable the user to perform a naming operation, so that the user does not need to enter the independent bookmark when he wants to move the bookmark to the newly created bookmark folder and name the newly created bookmark folder.
  • the management page can improve the user experience by completing the bookmark migration and naming the bookmark folder under the current display page of the browser without affecting the user browsing the current display page.
  • the bookmark management method is convenient, easy to use, intuitive and simple to operate, and has a small chance of misoperation, enabling the user to quickly learn and accept, and the interaction and visual experience are effectively improved and improved, and the user experience is better improved. .
  • FIG. 1 is a flowchart of a method for managing bookmarks in an embodiment of the present application
  • FIGS. 2A-2H are schematic diagrams of application scenarios in an implementation manner of the present application.
  • FIG. 3 is a hardware structural diagram of a device where a browser is located in an implementation manner of the present application
  • FIG. 4 is a structural diagram of a bookmark management apparatus in an embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word “if” may be interpreted to mean “at time” or "when” or "in response to determination.”
  • a method for managing a bookmark is proposed in the embodiment of the present application, and the method can be applied to a device where a browser is located, and the method is used to manage a bookmark of a browser, where the browser is located.
  • It can be a PC (Personal Computer), a mobile terminal, a tablet, etc., and all devices that download and use the browser are within the scope of the present application.
  • the browser can be used for all bookmark-enabled browsers, such as Safari browser, chrome browser, firefox browser, etc.
  • this application uses Safari browser as an example to illustrate, other browser processing and Safari browsing.
  • the processing of the device is similar, and details are not described in the embodiment of the present application.
  • the method for managing the bookmark may specifically include the following steps:
  • Step 101 Detect an operation command for migrating a bookmark from the first bookmark folder to the second bookmark folder, and detect an operation command for migrating the second bookmark folder from the first location to the second location.
  • Step 102 Display a named input box of the second bookmark folder to enable the user to name operating.
  • Step 103 Detect a folder name entered by the user in the named input box.
  • Step 104 name the name of the second bookmark folder as the folder name.
  • the process for detecting the operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder may specifically include, but is not limited to, the following manner: when detecting that the bookmark is continuously clicked to reach the preset first time (An operation command that can be set according to actual experience, such as 300 milliseconds), and when it is detected that the bookmark is migrated from the first bookmark folder to the operation area of the second bookmark folder, it is detected that the bookmark is migrated from the first bookmark folder The operation command to the second bookmark folder.
  • the preset first time An operation command that can be set according to actual experience, such as 300 milliseconds
  • the process for detecting the operation command for migrating the second bookmark folder from the first location to the second location may specifically include, but is not limited to, the following manner: when it is detected that the second bookmark folder is continuously clicked to reach the pre- Setting an operation command of the second time (which can be set according to actual experience, such as 300 milliseconds), and detecting that the second bookmark folder is migrated from the first location to the second location, detecting the second bookmark folder from The first position moves to an operational command of the second location.
  • the process for detecting that the bookmark is continuously clicked to reach the operation command of the preset first time may specifically include, but is not limited to, the following manner: obtaining the first time between when the bookmark starts to be clicked and when the bookmark starts to be migrated The time difference, if the first time difference is greater than or equal to the preset first time, detecting that the bookmark is continuously clicked to reach the preset first time operation command.
  • the process for detecting that the second bookmark folder is continuously clicked to reach the preset second time operation may specifically include, but is not limited to, acquiring the time when the second bookmark folder starts to be clicked and the second bookmark folder starts.
  • the second time difference between the migrated times if the second time difference is greater than or equal to the preset second time, detecting that the second bookmark folder is continuously clicked to reach the preset second time operation command.
  • the migration of the bookmark 1, the bookmark 2, and the bookmark 21 to the newly created bookmark folder will be described as an example.
  • the source bookmark folder where the bookmark 1, the bookmark 2, and the bookmark 21 are currently located may be referred to as a first bookmark folder
  • the destination bookmark folder to which the bookmark 1, bookmark 2, and bookmark 21 are migrated may be referred to as a second bookmark. folder.
  • the bookmark 1 is a bookmark located under the folder 1, and at this time, the folder 1 is the first bookmark folder.
  • the bookmark 2 and the bookmark 21 are bookmarks located under the folder 21 of the folder 2, and at this time, the folder 21 is the first bookmark folder.
  • the location where the second bookmark folder is located may be referred to as a first location, and the first location may be selected according to actual experience, such as selecting a specific location in the bookmark page as the first location.
  • the specific location may include, but is not limited to, a lower right corner position or a lower left corner position in the bookmark page. In FIGS. 2A and 2B, the position of the lower right corner of the bookmark page will be described as an example.
  • the user can click the bookmark 1 with the left mouse button and keep the left mouse button pressed for the preset first time (for example, 300 milliseconds), that is, the left mouse button.
  • the key length presses the bookmark 1 for 300 milliseconds or more, the user keeps the left mouse button pressed state to move the bookmark 1, moves the bookmark 1 to the second bookmark folder, and then releases the left mouse button, as shown in FIG. 2C.
  • the time when the bookmark 1 starts to be clicked and the bookmark 1 start to be migrated can be acquired.
  • an operation command in which the bookmark 1 is continuously clicked up to the preset first time can be detected, and it is detected that the bookmark 1 is migrated from the folder 1 to the operation area of the second bookmark folder, and therefore, the bookmark 1 is detected.
  • the processing of the bookmark 2 and the bookmark 21 is the same, and the processing of the bookmark 2 is taken as an example for description.
  • the user can click the bookmark 2 with the left mouse button, and keep the left mouse button pressed state for the preset first time (for example, 300 milliseconds), that is, the left mouse button long presses the bookmark 2 for 300 milliseconds or more, and the user keeps the left mouse button pressed state.
  • the preset first time for example, 300 milliseconds
  • the time when the bookmark 2 starts to be clicked and the bookmark 2 start to be migrated can be acquired.
  • the first time difference between the times if the first time difference is less than the preset first time, the current process is ignored, and if the first time difference is greater than or equal to the preset first time, it is detected that the bookmark 2 is continuously clicked to reach the preset The first time operation command.
  • the bookmark 2 When the user moves the bookmark 2 while keeping the left mouse button pressed state, and moves the bookmark 2 to the second bookmark folder, based on the above processing by the user, it can be detected that the bookmark 2 is migrated from the folder 21 to the second bookmark folder. Operating area.
  • an operation command in which the bookmark 2 is continuously clicked up to the preset first time can be detected, and it is detected that the bookmark 2 is migrated from the folder 21 to the operation area of the second bookmark folder, and therefore, the bookmark 2 is detected. Migrate from the first bookmark folder to the second bookmark The operation command of the folder.
  • the area where the second bookmark folder is located may be defined as the operation area of the second bookmark folder, or the area within the periphery 5px (ie, 5*5 pixels) of the second bookmark folder may be defined as The operation area of the second bookmark folder.
  • the second bookmark folder when there is no bookmark in the second bookmark folder, the second bookmark folder is an virtual bookmark folder, and the transparency of the second bookmark folder is greater than the preset. First percentage.
  • the second bookmark folder is a physical bookmark folder, and the transparency of the second bookmark folder is less than a preset second percentage.
  • the preset first percentage and the preset second percentage may be selected according to actual experience.
  • the preset first percentage may be 80%
  • the preset second percentage may be 20%.
  • the transparency of the second bookmark folder may be 85% before the bookmark 1 is migrated to the second bookmark folder, and the transparency of the second bookmark folder may be 5% after the bookmark 1 is migrated to the second bookmark folder.
  • the user can click the second bookmark folder with the left mouse button and keep the left mouse button pressed for a preset second time (eg, 300 milliseconds). , that is, the left mouse button long presses the second bookmark folder for 300 milliseconds or more, the user keeps the left mouse button pressed state to move the second bookmark folder, moves the second bookmark folder to the second position, and then releases the mouse left
  • a preset second time eg, 300 milliseconds
  • the left mouse button long presses the second bookmark folder for 300 milliseconds or more
  • the user keeps the left mouse button pressed state to move the second bookmark folder, moves the second bookmark folder to the second position, and then releases the mouse left
  • the first The second position is the position in the bookmark bar.
  • the time when the second bookmark folder starts to be clicked can be obtained.
  • the user can click the second bookmark folder with the left mouse button and keep the left mouse button pressed for the preset second time (eg, 300 milliseconds), that is, the left mouse button long presses the second bookmark folder for 300 milliseconds or more, the user keeps the left mouse button pressed state to move the second bookmark folder, moves the second bookmark folder to the second position, and then looses Open the left mouse button as shown in Figure 2F.
  • the preset second time eg, 300 milliseconds
  • the left mouse button long presses the second bookmark folder for 300 milliseconds or more
  • the user keeps the left mouse button pressed state to move the second bookmark folder, moves the second bookmark folder to the second position, and then looses Open the left mouse button as shown in Figure 2F.
  • an operation command for migrating the second bookmark folder from the first location to the second location may be detected, as shown in FIG. 2E, and details are not described herein again.
  • the above process is the processing for step 101, if an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder is detected in step 101, and detecting that the second bookmark folder is migrated from the first location to the
  • the operation command of the second position may display the named input box of the second bookmark folder, as shown in FIG. 2G, which is a schematic diagram displayed for the named input box of FIG. 2E.
  • the user can input the folder name in the named input box, and if the input folder name is aaa, the user can input the folder name aaa entered in the named input box, and the second bookmark folder
  • the name is named as the folder name aaa, as shown in Figure 2H after the named bookmark folder.
  • the bookmark management process of the browser can be exited, and since steps 101-104 are performed under the current display page of the browser, That is, under the current display page of the browser, a process of displaying a named input box of the second bookmark folder and naming the name of the second bookmark folder as a folder name is performed, and therefore, after exiting the bookmark management process of the browser , still staying on the current display page.
  • the order of the plurality of bookmarks in the bookmark folder may also be changed, for example, after the name of the second bookmark folder is named as a folder name (such as aaa), when the second bookmark folder exists
  • a folder name such as aaa
  • the bookmark may be moved in the second bookmark folder according to the movement operation command.
  • the process of moving the bookmark in the second bookmark folder according to the moving operation command may specifically include, but is not limited to, moving the bookmark upward or moving the bookmark downward to change the order of the plurality of bookmarks in the second bookmark folder.
  • bookmarks in the bookmark folder are bookmark 100, bookmark 101, and bookmark 102 in order from top to bottom
  • the user can select the bookmark 100 using the left mouse button and move the bookmark 100 to the bookmark 101 and Between bookmarks 102.
  • the movement operation command of the bookmark 100 can be detected, and the movement operation command For moving the bookmark 100 between the bookmark 101 and the bookmark 102, therefore, according to the move operation command, the bookmark 100 can be moved downward, and the bookmark 100 is moved between the bookmark 101 and the bookmark 102, so that the bookmark folder is inside
  • the plurality of bookmarks are bookmarks 101, bookmarks 100, and bookmarks 102 in order from top to bottom.
  • the bookmark folder after detecting an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder, it may also be determined whether there is still a bookmark in the first bookmark folder; if not, from the bookmark column Delete the first bookmark folder; if so, continue to retain the first bookmark folder.
  • the named input box of the second bookmark folder can be displayed to enable the user to perform a naming operation, so that the user does not need to enter the independent bookmark when he wants to move the bookmark to the newly created bookmark folder and name the newly created bookmark folder.
  • the management page can improve the user experience by completing the bookmark migration and naming the bookmark folder under the current display page of the browser without affecting the user browsing the current display page.
  • the bookmark management method is convenient, easy to use, intuitive and simple to operate, and has a small chance of misoperation, enabling the user to quickly learn and accept, and the interaction and visual experience are effectively improved and improved, and the user experience is better improved. .
  • the embodiment of the present application further provides a bookmark management apparatus, and the bookmark management apparatus is applied to a device where the browser is located.
  • the management device of the bookmark may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking the software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory through the processor of the device in which it is located. From the hardware level, as shown in FIG. 3, a hardware structure diagram of the device where the bookmark management device proposed in the present application is located, except for the processor shown in FIG.
  • the device may also include other hardware, such as a forwarding chip, a network interface, a memory, etc., which are responsible for processing the message; in terms of hardware structure, the device may also be a distributed device, and may include multiple interface cards for The extension of the message processing at the level.
  • other hardware such as a forwarding chip, a network interface, a memory, etc., which are responsible for processing the message; in terms of hardware structure, the device may also be a distributed device, and may include multiple interface cards for The extension of the message processing at the level.
  • FIG. 4 is a structural diagram of a bookmark management apparatus according to the present application, where the apparatus includes:
  • the detecting module 11 is configured to detect an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder, and detect an operation command for migrating the second bookmark folder from the first location to the second location; a module 12, configured to display a named input box of the second bookmark folder, the user performs a naming operation; the naming module 13 is configured to detect a folder name input by the user in the named input box, and the The name of the second bookmark folder is named the folder name.
  • the detecting module 11 is specifically configured to: when detecting an operation command for migrating a bookmark from the first bookmark folder to the second bookmark folder, when detecting that the bookmark is continuously clicked Presetting the operation command of the first time, and detecting that the bookmark is migrated from the first bookmark folder to the operation area of the second bookmark folder, detecting that the bookmark is migrated from the first bookmark folder to the first Two operation commands for the bookmark folder.
  • the detecting module 11 is specifically configured to detect the second bookmark in the process of detecting an operation command for migrating the second bookmark folder from the first location to the second location.
  • the folder is continuously clicked to reach the operation command of the preset second time, and detecting that the second bookmark folder is migrated from the first location to the second location, detecting that the second bookmark folder is from the first The operation command to move the location to the second location.
  • the detecting module 11 is specifically configured to: when detecting that the bookmark is continuously clicked to reach an operation command of a preset first time, acquire a time when the bookmark starts to be clicked and a time when the bookmark starts to be migrated a first time difference between when the first time difference is greater than or equal to the preset first time, detecting that the bookmark is continuously clicked to reach a preset first time Operational command
  • the first location includes a particular location in the bookmark page, and the particular location includes a lower right corner location or a lower left corner location in the bookmark page; the second location includes a location in the bookmarks bar.
  • the second bookmark folder is an imaginary bookmark folder, and the transparency of the second bookmark folder is greater than a preset first percentage
  • the second bookmark folder is a physical bookmark folder, and the transparency of the second bookmark folder is less than a preset second percentage.
  • the bookmark management device further includes (not shown):
  • a moving module after naming the name of the second bookmark folder as the folder name, when a plurality of bookmarks exist in the second bookmark folder, when a movement operation command of the bookmark is detected, And moving the bookmark in the second bookmark folder according to the moving operation command;
  • moving the bookmark within the second bookmark folder comprises moving the bookmark upward or moving the bookmark downward to change the order of the plurality of bookmarks in the second bookmark folder.
  • the bookmark management device further includes (not shown):
  • a deleting module configured to determine whether a bookmark exists in the first bookmark folder after detecting an operation command for migrating the bookmark from the first bookmark folder to the second bookmark folder; if not, from the bookmark bar Delete the first bookmark folder.
  • the display module 12 is specifically configured to display a named input box of the second bookmark folder under the current display page of the browser; the naming module 13 is specifically configured to display the current browser. Under the page, the name of the second bookmark folder is named as the folder name.
  • the named input box of the second bookmark folder can be displayed to enable the user to perform a naming operation, so that the user does not need to enter the independent bookmark when he wants to move the bookmark to the newly created bookmark folder and name the newly created bookmark folder.
  • the management page can improve the user experience by completing the bookmark migration and naming the bookmark folder under the current display page of the browser without affecting the user browsing the current display page.
  • the bookmark management method is convenient, easy to use, intuitive and simple to operate, and has a small chance of misoperation, enabling the user to quickly learn and accept, and the interaction and visual experience are effectively improved and improved, and the user experience is better improved. .
  • the modules of the device of the present application may be integrated into one or may be deployed separately.
  • the above modules can be combined into one module, or can be further split into multiple sub-modules.
  • modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment.
  • the modules of the above embodiments may be combined into one module, or may be further split into multiple sub-modules.
  • the serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

Landscapes

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

Abstract

本申请提供一种书签的管理方法和装置,该方法包括:检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令;检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令;显示所述第二书签文件夹的命名输入框,以使用户进行命名操作;检测所述用户在所述命名输入框内输入的文件夹名称;将所述第二书签文件夹的名称命名为所述文件夹名称。通过本申请的技术方案,无需进入独立的书签管理页面,可以在浏览器的当前显示页面下,在不影响用户浏览当前显示页面的前提下,完成书签的迁移以及书签文件夹的命名,可以提高用户使用体验。而且方便易用、直观且操作简单、误操作几率小,用户能够快速学习和接受,更好的改善用户使用体验。

Description

一种书签的管理方法和装置 技术领域
本申请涉及互联网技术领域,尤其涉及一种书签的管理方法和装置。
背景技术
Safari浏览器作为目前的主流浏览器,是苹果计算机的最新操作系统Mac OS X中的浏览器,使用了KDE(Kool Desktop Environment,K桌面环境)的KHTML(Kool HyperText Markup Language,K超级文本标记语言)作为浏览器的计算核心。Safari浏览器已支持Windows平台,并且是iPhone手机、iPodTouch、iPad平板电脑中,iOS(移动操作系统)指定的默认浏览器。
浏览器书签也就是收藏夹功能,用户可以通过浏览器书签来记录自己喜欢的网址,以便于日后快速的进行访问。而且,为了方便用户在不同设备中调用同一浏览器书签,在浏览器中还可以加入书签同步功能,用户只需要登陆同一帐号,就可以同步获取到自己的浏览器书签,使用非常方便。
在Safari浏览器中使用浏览器书签功能时,无法在书签栏上直接对浏览器书签进行管理,影响用户的使用体验,不利于Safari浏览器的推广。
发明内容
本申请提供一种书签的管理方法,所述方法包括以下步骤:检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令;检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令;显示所述第二书签文件夹的命名输入框,以使用户进行命名操作;检测所述用户在所述命名输入框内输入的文件夹名称;将所述第二书签文件夹的名称命名为所述文件夹名称。
所述检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,包括:当检测到所述书签被持续点击达到预设第一时间的操作命令,且检测到所述书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将所述书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
所述检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令,具体包括:当检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到所述第二书签文件夹从第一位置迁移到第二位置时,则检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令。
所述检测到所述书签被持续点击达到预设第一时间的操作命令的过程,具体包括:获取所述书签开始被点击的时间与所述书签开始被迁移的时间之间的第一时间差,如果所述第一时间差大于等于所述预设第一时间,则检测到所述书签被持续点击达到预设第一时间的操作命令;
所述检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令的过程,具体包括:获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
所述第一位置包括书签页中的特定位置,且所述特定位置包括所述书签页中的右下角位置或者左下角位置;所述第二位置包括书签栏中的位置。
当所述第二书签文件夹内没有书签时,所述第二书签文件夹为虚体书签文件夹,且所述第二书签文件夹的透明度大于预设第一百分比;
当所述第二书签文件夹内存在书签时,所述第二书签文件夹为实体书签文件夹,且所述第二书签文件夹的透明度小于预设第二百分比。
在将所述第二书签文件夹的名称命名为所述文件夹名称之后,所述方法进一步包括:当所述第二书签文件夹内存在多个书签时,在检测到书签的移动操作命令时,则按照所述移动操作命令,在所述第二书签文件夹内移动所述书签;其中,在所述第二书签文件夹内移动所述书签包括向上移动所述书签或者向下移动所述书签,以改变所述第二书签文件夹内的多个书签的顺序。
在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,所述方法还包括:判断所述第一书签文件夹内是否还存在书签;如果否,则从书签栏中删除所述第一书签文件夹。
所述方法还包括:在浏览器的当前显示页面下,执行显示第二书签文件夹的命名输入框,并将第二书签文件夹的名称命名为所述文件夹名称的过程。
本申请提供一种书签的管理装置,所述装置具体包括:
检测模块,用于检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,并检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令;显示模块,用于显示第二书签文件夹的命名输入框,由用户进行命名操作;命名模块,用于检测所述用户在所述命名输入框内输入的文件夹名称,并将所述第二书签文件夹的名称命名为所述文件夹名称。
所述检测模块,具体用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令的过程中,当检测到所述书签被持续点击达到预设第一时间的操作命令,且检测到所述书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将所述书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
所述检测模块,具体用于在检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令的过程中,当检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到所述第二书签文件夹从第一位置迁移到第二位置时,则检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令。
所述检测模块,具体用于在检测到所述书签被持续点击达到预设第一时间的操作命令的过程中,获取所述书签开始被点击的时间与所述书签开始被迁移的时间之间的第一时间差,如果所述第一时间差大于等于所述预设第一时间,则检测到所述书签被持续点击达到预设第一时间的操作命令;
在检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令的过程中,获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
所述第一位置包括书签页中的特定位置,且所述特定位置包括所述书签页中的右下角位置或者左下角位置;所述第二位置包括书签栏中的位置。
当所述第二书签文件夹内没有书签时,所述第二书签文件夹为虚体书签文件夹,且所述第二书签文件夹的透明度大于预设第一百分比;
当所述第二书签文件夹内存在书签时,所述第二书签文件夹为实体书签文件夹,且所述第二书签文件夹的透明度小于预设第二百分比。
还包括:移动模块,用于在将所述第二书签文件夹的名称命名为所述文件夹名称之后,当所述第二书签文件夹内存在多个书签时,在检测到书签的移动操作命令时,则按照所述移动操作命令,在所述第二书签文件夹内移动所述书签;在所述第二书签文件夹内移动所述书签包括向上移动所述书签或者向下移动所述书签,以改变所述第二书签文件夹内的多个书签的顺序。
还包括:删除模块,用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,判断所述第一书签文件夹内是否 还存在书签;如果否,则从书签栏中删除所述第一书签文件夹。
所述显示模块,具体用于在浏览器的当前显示页面下,显示第二书签文件夹的命名输入框;所述命名模块,具体用于在浏览器的当前显示页面下,将所述第二书签文件夹的名称命名为所述文件夹名称。
基于上述技术方案,本申请实施例中,当检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令时,可以显示第二书签文件夹的命名输入框,以使用户进行命名操作,从而在用户希望将书签移动到新建书签文件夹,并命名新建书签文件夹时,无需进入独立的书签管理页面,可以在浏览器的当前显示页面下,在不影响用户浏览当前显示页面的前提下,完成书签的迁移以及书签文件夹的命名,可以提高用户使用体验。而且,该书签的管理方法,方便易用、直观且操作简单、误操作几率小,能够使用户快速学习和接受,交互和视觉体验均得到有效的改善和提升,更好的改善了用户使用体验。
附图说明
为了更加清楚地说明本申请实施例或者现有技术中的技术方案,下面将对本申请实施例或者现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。
图1是本申请一种实施方式中的书签的管理方法的流程图;
图2A-图2H是本申请一种实施方式中的应用场景示意图;
图3是本申请一种实施方式中的浏览器所在设备的硬件结构图;
图4是本申请一种实施方式中的书签的管理装置的结构图。
具体实施方式
在本申请使用的术语仅仅是出于描述特定实施例的目的,而非限制本申请。本申请和权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其它含义。还应当理解,本文中使用的术语“和/或”是指包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,此外,所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
针对现有技术中存在的问题,本申请实施例中提出一种书签的管理方法,该方法可以应用在浏览器所在设备上,且该方法用于对浏览器的书签进行管理,浏览器所在设备可以为PC(Personal Computer,个人计算机)、移动终端、平板电脑等,所有下载并使用浏览器的设备均在本申请的保护范围之内。该浏览器可以为所有支持书签功能的浏览器,如Safari浏览器、chrome浏览器、firefox浏览器等,为了方便描述,本申请以Safari浏览器为例进行说明,其它浏览器的处理与Safari浏览器的处理类似,本申请实施例中不再赘述。
如图1所示,该书签的管理方法具体可以包括以下步骤:
步骤101,检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,并检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令。
步骤102,显示第二书签文件夹的命名输入框,以使用户进行命名 操作。
步骤103,检测用户在该命名输入框内输入的文件夹名称。
步骤104,将第二书签文件夹的名称命名为该文件夹名称。
针对步骤101,针对检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令的过程,具体可以包括但不限于如下方式:当检测到书签被持续点击达到预设第一时间(可以根据实际经验设置,如300毫秒)的操作命令,且检测到书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
针对步骤101,针对检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令的过程,具体可以包括但不限于如下方式:当检测到第二书签文件夹被持续点击达到预设第二时间(可以根据实际经验设置,如300毫秒)的操作命令,且检测到该第二书签文件夹从第一位置迁移到第二位置时,则检测到将该第二书签文件夹从第一位置迁移到第二位置的操作命令。
进一步的,针对检测到书签被持续点击达到预设第一时间的操作命令的过程,具体可以包括但不限于如下方式:获取书签开始被点击的时间与书签开始被迁移的时间之间的第一时间差,如果第一时间差大于等于预设第一时间,则检测到书签被持续点击达到预设第一时间的操作命令。针对检测到第二书签文件夹被持续点击达到预设第二时间的操作命令的过程,具体可以包括但不限于如下方式:获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
本申请实施例中,当用户希望将书签移动到新建书签文件夹,并 命名新建书签文件夹时,无需进入独立的书签管理页面,可以在浏览器的当前显示页面下,在不影响用户浏览当前显示页面的前提下,通过点击书签并移动(即拖拽)书签的方式,完成书签的迁移以及书签文件夹的命名,用户体验较好。
其中,以将书签1、书签2、书签21迁移到新建书签文件夹为例进行说明。为了方便区分,可以将书签1、书签2、书签21当前所在的源书签文件夹称为第一书签文件夹,并将书签1、书签2、书签21迁移的目的书签文件夹称为第二书签文件夹。如图2A所示,书签1是位于文件夹1下的书签,此时,文件夹1为第一书签文件夹。如图2B所示,书签2和书签21是位于文件夹2的文件夹21下的书签,此时,文件夹21为第一书签文件夹。
本申请实施例中,可以将第二书签文件夹所在的位置称为第一位置,且该第一位置可以根据实际经验进行选择,如选择书签页中的特定位置作为第一位置。进一步的,特定位置可以包括但不限于书签页中的右下角位置或者左下角位置。在图2A和图2B中,以书签页的右下角位置为例进行说明。
如图2A所示,用户在找到文件夹1下的书签1后,用户可以鼠标左键点击书签1,并保持鼠标左键按下状态达预设第一时间(如300毫秒),即鼠标左键长按书签1达300毫秒或以上,用户保持鼠标左键按下状态移动书签1,将书签1移动到第二书签文件夹,之后松开鼠标左键,如图2C所示。
其中,在用户鼠标左键点击书签1,并保持鼠标左键按下状态达预设第一时间时,基于用户的上述处理,可以获取到书签1开始被点击的时间与书签1开始被迁移的时间之间的第一时间差,如果该第一时间差小于预设第一时间,则忽略当前的处理,如果该第一时间差大于 等于预设第一时间,则检测到书签1被持续点击达到预设第一时间的操作命令。在用户保持鼠标左键按下状态移动书签1,并将书签1移动到第二书签文件夹时,基于用户的上述处理,可以检测到书签1被从文件夹1迁移到第二书签文件夹的操作区域。
基于上述处理,可以检测到书签1被持续点击达到预设第一时间的操作命令,且检测到书签1被从文件夹1迁移到第二书签文件夹的操作区域,因此,检测到将书签1从第一书签文件夹迁移到第二书签文件夹的操作命令。
如图2B所示,用户在找到文件夹21下的书签2或者书签21后,书签2和书签21的处理相同,后续以书签2的处理为例进行说明。用户可以鼠标左键点击书签2,保持鼠标左键按下状态达预设第一时间(如300毫秒),即鼠标左键长按书签2达300毫秒或以上,用户保持鼠标左键按下状态移动书签2,并将书签2移动到第二书签文件夹,之后松开鼠标左键,如图2D所示。
其中,在用户鼠标左键点击书签2,并保持鼠标左键按下状态达预设第一时间时,基于用户的上述处理,可以获取到书签2开始被点击的时间与书签2开始被迁移的时间之间的第一时间差,如果该第一时间差小于预设第一时间,则忽略当前的处理,如果该第一时间差大于等于预设第一时间,则检测到书签2被持续点击达到预设第一时间的操作命令。在用户保持鼠标左键按下状态移动书签2,并将书签2移动到第二书签文件夹时,基于用户的上述处理,可以检测到书签2被从文件夹21迁移到第二书签文件夹的操作区域。
基于上述处理,可以检测到书签2被持续点击达到预设第一时间的操作命令,且检测到书签2被从文件夹21迁移到第二书签文件夹的操作区域,因此,检测到将书签2从第一书签文件夹迁移到第二书签 文件夹的操作命令。
在上述处理过程中,是通过使用鼠标左键长按到移动行为开始前的时间差(第一时间差),来判断鼠标左键是否长按书签的。而且,可以根据用户对书签位置的移动和变化路径来确定书签是否被移动到第二书签文件夹。
在实际应用中,可以将第二书签文件夹所在的区域定义为第二书签文件夹的操作区域,也可以将第二书签文件夹的外围5px(即5﹡5个像素)内的区域定义为第二书签文件夹的操作区域。在用户将书签移动到第二书签文件夹的操作区域,并松开鼠标左键后,认为用户在此操作区域完成移动行为。
本申请实施例中,针对第二书签文件夹来说,当第二书签文件夹内没有书签时,则第二书签文件夹为虚体书签文件夹,且第二书签文件夹的透明度大于预设第一百分比。当第二书签文件夹内存在书签时,则第二书签文件夹为实体书签文件夹,且第二书签文件夹的透明度小于预设第二百分比。
其中,预设第一百分比和预设第二百分比均可以根据实际经验进行选择,例如,预设第一百分比可以为80%,预设第二百分比可以为20%。在将书签1迁移到第二书签文件夹之前,第二书签文件夹的透明度可以为85%,在将书签1迁移到第二书签文件夹之后,第二书签文件夹的透明度可以为5%。
如图2C所示,在得到包含书签1的第二书签文件夹之后,用户可以鼠标左键点击第二书签文件夹,并保持鼠标左键按下状态达预设第二时间(如300毫秒),即鼠标左键长按第二书签文件夹达300毫秒或以上,用户保持鼠标左键按下状态移动第二书签文件夹,将第二书签文件夹移动到第二位置,之后松开鼠标左键,如图2E所示。其中,第 二位置为书签栏中的位置。
其中,在用户鼠标左键点击第二书签文件夹,并保持鼠标左键按下状态达预设第二时间时,基于用户的上述处理,则可以获取到第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果该第二时间差小于预设第二时间,则可以忽略当前的处理,如果该第二时间差大于等于预设第二时间,则可以检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。在用户保持鼠标左键按下状态移动第二书签文件夹,并将第二书签文件夹从第一位置移动到第二位置时,基于用户的上述处理,则可以检测到第二书签文件夹被从第一位置迁移到第二位置。
基于上述处理,可以检测到第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到第二书签文件夹被从第一位置迁移到第二位置,因此,检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令。
如图2D所示,在得到包含书签2和书签21的第二书签文件夹之后,用户可以鼠标左键点击第二书签文件夹,并保持鼠标左键按下状态达预设第二时间(如300毫秒),即鼠标左键长按第二书签文件夹达300毫秒或以上,用户保持鼠标左键按下状态移动第二书签文件夹,将第二书签文件夹移动到第二位置,之后松开鼠标左键,如图2F所示。之后,可以检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令,参见图2E,在此不再赘述。
在上述过程中,是通过使用鼠标左键长按到移动行为开始前的时间差(第二时间差),来判断鼠标左键是否长按第二书签文件夹的。而且可以根据用户对第二书签文件夹位置的移动和变化路径来确定是否被移动到第二位置。
上述过程为针对步骤101的处理过程,如果步骤101中检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,并检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令,则可以显示第二书签文件夹的命名输入框,如图2G所示,为针对图2E的命名输入框显示的示意图。之后,用户可以在该命名输入框中输入文件夹名称,假设输入的文件夹名称为aaa,则可以检测到用户在该命名输入框内输入的文件夹名称aaa,并将第二书签文件夹的名称命名为该文件夹名称aaa,如图2H所示的命名后的书签文件夹。
在用户完成书签文件夹的命名后,点击书签栏之外的其它任意区域,就可以退出浏览器的书签管理过程,而且,由于步骤101-步骤104是在浏览器的当前显示页面下执行的,即在浏览器的当前显示页面下,执行显示第二书签文件夹的命名输入框,并将第二书签文件夹的名称命名为文件夹名称的过程,因此,在退出浏览器的书签管理过程后,仍停留在该当前显示页面。
本申请实施例中,还可以改变书签文件夹内的多个书签的顺序,例如,在将第二书签文件夹的名称命名为文件夹名称(如aaa)之后,当第二书签文件夹内存在多个书签时,则在检测到书签的移动操作命令时,还可以按照该移动操作命令,在第二书签文件夹内移动书签。其中,按照该移动操作命令,在第二书签文件夹内移动书签的过程具体可以包括但不限于:向上移动书签或者向下移动书签,以改变第二书签文件夹内的多个书签的顺序。
例如,假设书签文件夹内的多个书签,按照从上到下的顺序依次为书签100、书签101、书签102,则用户可以使用鼠标左键选中书签100,并将书签100移动到书签101和书签102之间。基于用户的上述处理过程,可以检测到书签100的移动操作命令,且该移动操作命令 用于将书签100移动到书签101和书签102之间,因此,按照该移动操作命令,可以向下移动书签100,并将书签100移动到书签101和书签102之间,这样,书签文件夹内的多个书签,按照从上到下的顺序依次为书签101、书签100、书签102。
本申请实施例中,在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,还可以判断第一书签文件夹内是否还存在书签;如果否,则从书签栏中删除第一书签文件夹;如果是,继续保留第一书签文件夹。
基于上述技术方案,本申请实施例中,当检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令时,可以显示第二书签文件夹的命名输入框,以使用户进行命名操作,从而在用户希望将书签移动到新建书签文件夹,并命名新建书签文件夹时,无需进入独立的书签管理页面,可以在浏览器的当前显示页面下,在不影响用户浏览当前显示页面的前提下,完成书签的迁移以及书签文件夹的命名,可以提高用户使用体验。而且,该书签的管理方法,方便易用、直观且操作简单、误操作几率小,能够使用户快速学习和接受,交互和视觉体验均得到有效的改善和提升,更好的改善了用户使用体验。
基于与上述方法同样的申请构思,本申请实施例中还提供一种书签的管理装置,该书签的管理装置应用在浏览器所在设备上。该书签的管理装置可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在的设备的处理器,读取非易失性存储器中对应的计算机程序指令形成的。从硬件层面而言,如图3所示,为本申请提出的书签的管理装置所在的设备的一种硬件结构图,除了图3所示的处理器、非易失性 存储器外,设备还可以包括其他硬件,如负责处理报文的转发芯片、网络接口、内存等;从硬件结构上来讲,该设备还可能是分布式设备,可能包括多个接口卡,以便在硬件层面进行报文处理的扩展。
如图4所示,为本申请提出的书签的管理装置的结构图,所述装置包括:
检测模块11,用于检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,并检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令;显示模块12,用于显示第二书签文件夹的命名输入框,由用户进行命名操作;命名模块13,用于检测所述用户在所述命名输入框内输入的文件夹名称,并将所述第二书签文件夹的名称命名为所述文件夹名称。
本申请实施例中,所述检测模块11,具体用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令的过程中,当检测到所述书签被持续点击达到预设第一时间的操作命令,且检测到所述书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将所述书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
本申请实施例中,所述检测模块11,具体用于在检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令的过程中,当检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到所述第二书签文件夹从第一位置迁移到第二位置时,则检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令。
所述检测模块11,具体用于在检测到所述书签被持续点击达到预设第一时间的操作命令的过程中,获取所述书签开始被点击的时间与所述书签开始被迁移的时间之间的第一时间差,如果所述第一时间差大于等于所述预设第一时间,则检测到所述书签被持续点击达到预设第一时 间的操作命令;
在检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令的过程中,获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
所述第一位置包括书签页中的特定位置,且所述特定位置包括所述书签页中的右下角位置或者左下角位置;所述第二位置包括书签栏中的位置。
当所述第二书签文件夹内没有书签时,所述第二书签文件夹为虚体书签文件夹,且所述第二书签文件夹的透明度大于预设第一百分比;
当所述第二书签文件夹内存在书签时,所述第二书签文件夹为实体书签文件夹,且所述第二书签文件夹的透明度小于预设第二百分比。
所述书签的管理装置还包括(图中未体现):
移动模块,用于在将所述第二书签文件夹的名称命名为所述文件夹名称之后,当所述第二书签文件夹内存在多个书签时,在检测到书签的移动操作命令时,则按照所述移动操作命令,在所述第二书签文件夹内移动所述书签;
其中,在所述第二书签文件夹内移动所述书签包括向上移动所述书签或者向下移动所述书签,以改变所述第二书签文件夹内的多个书签的顺序。
所述书签的管理装置还包括(图中未体现):
删除模块,用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,判断所述第一书签文件夹内是否还存在书签;如果否,则从书签栏中删除所述第一书签文件夹。
本申请实施例中,所述显示模块12,具体用于在浏览器的当前显示页面下,显示第二书签文件夹的命名输入框;所述命名模块13,具体用于在浏览器的当前显示页面下,将所述第二书签文件夹的名称命名为所述文件夹名称。
基于上述技术方案,本申请实施例中,当检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令时,可以显示第二书签文件夹的命名输入框,以使用户进行命名操作,从而在用户希望将书签移动到新建书签文件夹,并命名新建书签文件夹时,无需进入独立的书签管理页面,可以在浏览器的当前显示页面下,在不影响用户浏览当前显示页面的前提下,完成书签的迁移以及书签文件夹的命名,可以提高用户使用体验。而且,该书签的管理方法,方便易用、直观且操作简单、误操作几率小,能够使用户快速学习和接受,交互和视觉体验均得到有效的改善和提升,更好的改善了用户使用体验。
其中,本申请装置的各个模块可以集成于一体,也可以分离部署。上述模块可以合并为一个模块,也可以进一步拆分成多个子模块。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是 实施本申请所必须的。
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可进一步拆分成多个子模块。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
以上公开的仅为本申请的几个具体实施例,但是,本申请并非局限于此,任何本领域的技术人员能思之的变化都应落入本申请的保护范围。

Claims (18)

  1. 一种书签的管理方法,其特征在于,所述方法包括以下步骤:
    检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令;
    检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令;
    显示所述第二书签文件夹的命名输入框,以使用户进行命名操作;
    检测所述用户在所述命名输入框内输入的文件夹名称;
    将所述第二书签文件夹的名称命名为所述文件夹名称。
  2. 根据权利要求1所述的方法,其特征在于,所述检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令的过程,具体包括:
    当检测到所述书签被持续点击达到预设第一时间的操作命令,且检测到所述书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将所述书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
  3. 根据权利要求1所述的方法,其特征在于,所述检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令的过程,具体包括:
    当检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到所述第二书签文件夹从第一位置迁移到第二位置时,则检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令。
  4. 根据权利要求2或3所述的方法,其特征在于,
    所述检测到所述书签被持续点击达到预设第一时间的操作命令的过程,具体包括:获取所述书签开始被点击的时间与所述书签开始被迁移的时间之间的第一时间差,如果所述第一时间差大于等于所述预设第一时间,则检测到所述书签被持续点击达到预设第一时间的操作命令;
    所述检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令的过程,具体包括:获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
  5. 根据权利要求1或3所述的方法,其特征在于,
    所述第一位置包括书签页中的特定位置,且所述特定位置包括所述书签页中的右下角位置或者左下角位置;所述第二位置包括书签栏中的位置。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,
    当所述第二书签文件夹内没有书签时,所述第二书签文件夹为虚体书签文件夹,且所述第二书签文件夹的透明度大于预设第一百分比;
    当所述第二书签文件夹内存在书签时,所述第二书签文件夹为实体书签文件夹,且所述第二书签文件夹的透明度小于预设第二百分比。
  7. 根据权利要求1-3任一项所述的方法,其特征在于,在将所述第二书签文件夹的名称命名为所述文件夹名称之后,所述方法进一步包括:
    当所述第二书签文件夹内存在多个书签时,在检测到书签的移动操作命令时,则按照所述移动操作命令,在所述第二书签文件夹内移动所述书签;
    其中,在所述第二书签文件夹内移动所述书签包括向上移动所述书签或者向下移动所述书签,以改变所述第二书签文件夹内的多个书签的顺序。
  8. 根据权利要求1-3任一项所述的方法,其特征在于,在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,所述方法还包括:
    判断所述第一书签文件夹内是否还存在书签;
    如果否,则从书签栏中删除所述第一书签文件夹。
  9. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    在浏览器的当前显示页面下,执行显示所述第二书签文件夹的命名输入框,并将所述第二书签文件夹的名称命名为所述文件夹名称的过程。
  10. 一种书签的管理装置,其特征在于,所述装置具体包括:
    检测模块,用于检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令,并检测到将第二书签文件夹从第一位置迁移到第二位置的操作命令;
    显示模块,用于显示第二书签文件夹的命名输入框,由用户进行命名操作;
    命名模块,用于检测所述用户在所述命名输入框内输入的文件夹名称,并将所述第二书签文件夹的名称命名为所述文件夹名称。
  11. 根据权利要求10所述的装置,其特征在于,所述检测模块, 具体用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令的过程中,当检测到所述书签被持续点击达到预设第一时间的操作命令,且检测到所述书签被从第一书签文件夹迁移到第二书签文件夹的操作区域时,则检测到将所述书签从第一书签文件夹迁移到第二书签文件夹的操作命令。
  12. 根据权利要求10所述的装置,其特征在于,所述检测模块,具体用于在检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令的过程中,当检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令,且检测到所述第二书签文件夹从第一位置迁移到第二位置时,则检测到将所述第二书签文件夹从第一位置迁移到第二位置的操作命令。
  13. 根据权利要求11或12所述的装置,其特征在于,
    所述检测模块,具体用于在检测到所述书签被持续点击达到预设第一时间的操作命令的过程中,获取所述书签开始被点击的时间与所述书签开始被迁移的时间之间的第一时间差,如果所述第一时间差大于等于所述预设第一时间,则检测到所述书签被持续点击达到预设第一时间的操作命令;
    在检测到所述第二书签文件夹被持续点击达到预设第二时间的操作命令的过程中,获取第二书签文件夹开始被点击的时间与第二书签文件夹开始被迁移的时间之间的第二时间差,如果第二时间差大于等于预设第二时间,则检测到第二书签文件夹被持续点击达到预设第二时间的操作命令。
  14. 根据权利要求10或12所述的装置,其特征在于,
    所述第一位置包括书签页中的特定位置,且所述特定位置包括所述书签页中的右下角位置或者左下角位置;所述第二位置包括书签栏 中的位置。
  15. 根据权利要求10-12任一项所述的装置,其特征在于,
    当所述第二书签文件夹内没有书签时,所述第二书签文件夹为虚体书签文件夹,且所述第二书签文件夹的透明度大于预设第一百分比;
    当所述第二书签文件夹内存在书签时,所述第二书签文件夹为实体书签文件夹,且所述第二书签文件夹的透明度小于预设第二百分比。
  16. 根据权利要求10-12任一项所述的装置,其特征在于,还包括:
    移动模块,用于在将所述第二书签文件夹的名称命名为所述文件夹名称之后,当所述第二书签文件夹内存在多个书签时,在检测到书签的移动操作命令时,则按照所述移动操作命令,在所述第二书签文件夹内移动所述书签;
    其中,在所述第二书签文件夹内移动所述书签包括向上移动所述书签或者向下移动所述书签,以改变所述第二书签文件夹内的多个书签的顺序。
  17. 根据权利要求10-12任一项所述的装置,其特征在于,还包括:
    删除模块,用于在检测到将书签从第一书签文件夹迁移到第二书签文件夹的操作命令之后,判断所述第一书签文件夹内是否还存在书签;如果否,则从书签栏中删除所述第一书签文件夹。
  18. 根据权利要求10-12任一项所述的装置,其特征在于,
    所述显示模块,具体用于在浏览器的当前显示页面下,显示第二书签文件夹的命名输入框;所述命名模块,具体用于在浏览器的当前显示页面下,将所述第二书签文件夹的名称命名为所述文件夹名称。
PCT/CN2017/074867 2016-03-11 2017-02-25 一种书签的管理方法和装置 Ceased WO2017152786A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610141235.1 2016-03-11
CN201610141235.1A CN107180061A (zh) 2016-03-11 2016-03-11 一种书签的管理方法和装置

Publications (1)

Publication Number Publication Date
WO2017152786A1 true WO2017152786A1 (zh) 2017-09-14

Family

ID=59789022

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074867 Ceased WO2017152786A1 (zh) 2016-03-11 2017-02-25 一种书签的管理方法和装置

Country Status (3)

Country Link
CN (1) CN107180061A (zh)
TW (1) TWI764884B (zh)
WO (1) WO2017152786A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119988334A (zh) * 2024-12-31 2025-05-13 成都鲁易科技有限公司 基于书签的文件处理方法、装置、操作系统及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164903A1 (en) * 2007-12-20 2009-06-25 International Business Machines Corporation Systems, methods and computer program products for a dynamic display of saved bookmarks based on browsing activity
CN102866841A (zh) * 2011-07-04 2013-01-09 鸿富锦精密工业(深圳)有限公司 文件拖曳方法及系统
CN104063403A (zh) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 一种对浏览器中的网页链接管理的方法及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8572202B2 (en) * 2006-08-22 2013-10-29 Yahoo! Inc. Persistent saving portal
US8612435B2 (en) * 2009-07-16 2013-12-17 Yahoo! Inc. Activity based users' interests modeling for determining content relevance
CN103262110B (zh) * 2010-12-20 2017-02-15 英特尔公司 用于管理和呈现内容的方法、装置和设备
CN102368199B (zh) * 2011-10-25 2013-05-08 中兴通讯股份有限公司 用于具有触摸屏的电子设备的文件管理方法、装置及设备
CN103383623B (zh) * 2012-05-04 2017-10-13 腾讯科技(深圳)有限公司 一种移动书签的方法和装置
CN102779006B (zh) * 2012-06-27 2015-07-22 华为技术有限公司 基于触摸屏的对象转移方法及触摸屏智能设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164903A1 (en) * 2007-12-20 2009-06-25 International Business Machines Corporation Systems, methods and computer program products for a dynamic display of saved bookmarks based on browsing activity
CN102866841A (zh) * 2011-07-04 2013-01-09 鸿富锦精密工业(深圳)有限公司 文件拖曳方法及系统
CN104063403A (zh) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 一种对浏览器中的网页链接管理的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119988334A (zh) * 2024-12-31 2025-05-13 成都鲁易科技有限公司 基于书签的文件处理方法、装置、操作系统及存储介质

Also Published As

Publication number Publication date
CN107180061A (zh) 2017-09-19
TW201734839A (zh) 2017-10-01
TWI764884B (zh) 2022-05-21

Similar Documents

Publication Publication Date Title
US9703541B2 (en) Entity action suggestion on a mobile device
US20170075513A1 (en) Surf Software
US11200293B2 (en) Method and system for controlling presentation of web resources in a browser window
US20200073903A1 (en) Method and device of tagging links included in a screenshot of webpage
WO2017032005A1 (zh) 一种操作菜单显示方法及终端
RU2595524C2 (ru) Устройство и способ обработки содержимого веб-ресурса в браузере
CN103870187B (zh) 控制具有触控屏的终端的方法及终端
CN110069734B (zh) 一种页面组件的展现方法和装置
CN112099706B (zh) 页面展示方法、装置、电子设备及计算机可读存储介质
CN109740041B (zh) 网页爬取方法、装置、存储介质和计算机设备
JP2020053049A (ja) アプリケーションビルダ
KR20160125401A (ko) 인라인 및 콘텍스트 인식 쿼리 박스 제공 기법
CN104156140A (zh) 一种利用重力传感器快速编辑文字的方法及装置
US20150213148A1 (en) Systems and methods for browsing
WO2017008646A1 (zh) 一种在触控终端上选择多个目标的方法和设备
WO2017041632A1 (zh) 显示页面中数据的转移方法及装置
CN103279263B (zh) 一种文件夹快速创建和编辑的方法及系统
WO2017076175A1 (zh) 一种浏览器功能栏显示方法、装置及处理设备
WO2017162031A1 (zh) 一种信息采集方法和装置,以及一种智能终端
TWI530806B (zh) 一種在瀏覽器中實現搜索的方法、裝置及終端設備
WO2017166858A1 (zh) 反向控制移动端页面的方法和装置
JP2020053045A (ja) デスクトップ及びモバイルグラフィカルユーザインターフェース統一
WO2017045277A1 (zh) 搜索方法、装置、设备及非易失性计算机存储介质
TWI764884B (zh) 書籤的管理方法和裝置
US12022035B2 (en) Display control method and display control apparatus

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17762472

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17762472

Country of ref document: EP

Kind code of ref document: A1