CN106528838A - Bookmark saving method and device - Google Patents
Bookmark saving method and device Download PDFInfo
- 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
- bookmark
- upper level
- saved
- level address
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9562—Bookmark 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
Technical field
It relates to terminal technology, more particularly to a kind of bookmark store method and device.
Background technology
When browser of the user in using terminal browses webpage, oneself can be commonly used by the bookmark function of browser
The address collection of webpage is bookmark.So, when user needs to browse again the webpage, can be in the bookmark list of browser
The bookmark is clicked on, so that browser jumps to the webpage automatically, the net is manually entered in a browser again without user
The address of page, improves the efficiency that user browses webpage.
However, when the bookmark in the bookmark list of above-mentioned browser is more, user searches bookmark from bookmark list
Efficiency reduce, it is impossible to meet user it is actually used when demand.
Disclosure
To overcome problem present in correlation technique, the disclosure to provide a kind of bookmark store method and device.Technical scheme
It is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of bookmark store method based on browser, including:
Receive bookmark and preserve order;
Preserved according to the bookmark and ordered, obtain address to be saved;
According to address to be saved, at least one upper level address of address to be saved is obtained;
When there is the first upper level address at least one upper level address in bookmark list, by address to be saved preserve to
Under first upper level address of bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Terminal is receiving bookmark preservation
After order, order can be preserved according to the bookmark and get address to be saved, and then can be obtained according to the address to be saved
At least one upper level address of the address to be saved, so that terminal can have this at least in the bookmark list of browser
During the first upper level address in one upper level address, address to be saved is preserved in the bookmark list of browser to this on first
Under level address, to reach the purpose that classification preservation is carried out to bookmark so that bookmark list forms the bookmark list of bibliographic structure, with
Be easy to user bookmark to be searched in bookmark list, improve the efficiency that user searches bookmark.
Optionally, when there is the first upper level address at least one upper level address in bookmark list, will be to be saved
Location is preserved to the first upper level address of bookmark list, including:
When there is the first upper level address at least one upper level address in bookmark list, if the first upper level address with treat
Preserve and there is at least primary interval address between address, then the grade according to address to be saved and at least primary interval address is suitable
Sequence, preserves to the first upper level address by address to be saved and per one-level compartment of terrain location.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:By by address to be saved and every
Primary interval address is preserved to the first upper level address so that the upper level address of the address to be saved preserved in bookmark list is more
Add kind.So, when terminal needs to preserve new bookmark again, terminal can be determined more accurately from bookmark list is
The no upper level address that there is new bookmark, and then allow terminal when new bookmark is preserved into bookmark list, can be with
Classification preservation is carried out to new bookmark more precisely, the accuracy of bookmark list category is improve, and then is improve user's lookup
The efficiency of bookmark.
Optionally, method also includes:
When there is no the first upper level address at least one upper level address in bookmark list, according to address to be saved and
The hierarchal order of at least one upper level address, address to be saved and at least one upper level address are preserved into bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Terminal is it is determined that in bookmark list
When there is no the first upper level address of address to be saved, can be suitable according to the grade of address to be saved and at least one upper level address
Sequence, address to be saved and at least one upper level address are preserved into bookmark list, so that terminal is subsequently preserving new
During bookmark, can be according to the address to be saved and at least one upper level address preserved in bookmark list, it is determined whether exist new
Bookmark upper level address, and then allow terminal when new bookmark is preserved into bookmark list, can be to new book
Label carry out classification preservation, and reach carries out the purpose of classification preservation to bookmark so that bookmark list forms the column of bookmarks of bibliographic structure
Table, searches bookmark in order to user in bookmark list, improves the efficiency that user searches bookmark.
Optionally, at least one upper level address of address to be saved includes:Address to be saved according to hierarchal order upwards, directly
To all upper level address of root directory information.
Optionally, according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and at least
One upper level address is preserved into bookmark list, including:
By address to be saved and according to hierarchal order upwards until root directory information all upper level address, according to etc.
Level order is preserved into bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:By by address to be saved and pressing
According to hierarchal order upwards until all upper level address of root directory information are preserved into bookmark list so that protected in bookmark list
The upper level address of the address to be saved deposited is more perfect.So, when terminal needs to preserve new bookmark again, terminal can be from
Be determined more accurately the upper level address with the presence or absence of new bookmark in bookmark list, and then terminal is allowd by new book
When preservation is signed into bookmark list, classification preservation can be carried out to new bookmark more precisely, improve bookmark list category
Accuracy, and then improve the efficiency that user searches bookmark.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of bookmark save set based on browser, including:
Receiver module, is configured to receive bookmark preservation order;
First acquisition module, is configured to be preserved according to the bookmark and orders, obtain address to be saved;
Second acquisition module, is configured at least one upper level address of address to be saved is obtained according to address to be saved;
First preserving module, is configured to the first upper level address for having at least one upper level address in bookmark list
When, address to be saved is preserved to the first upper level address of bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Receiver module is receiving bookmark
After preserving order, the first acquisition module can preserve order according to the bookmark, obtain address to be saved, and then cause second to obtain
Delivery block can obtain at least one upper level address of the address to be saved according to the address to be saved, so that first protects
When storing module can have the first upper level address at least one upper level address in the bookmark list of browser, browsing
Address to be saved is preserved to first upper level address in the bookmark list of device, to reach the mesh that classification preservation is carried out to bookmark
So that bookmark list forms the bookmark list of bibliographic structure, searches bookmark in order to user, improve use in bookmark list
Search the efficiency of bookmark in family.
Optionally, the first preserving module, is configured to the presence of first at least one upper level address in bookmark list
During upper level address, if there is at least primary interval address between the first upper level address and address to be saved, according to be saved
Location and at least hierarchal order of primary interval address, preserve to the first upper level address by address to be saved and per one-level compartment of terrain location
Under.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:First preserving module will be by treating
Preserve address and preserve to the first upper level address per one-level compartment of terrain location so that the address to be saved preserved in bookmark list
Upper level address it is more perfect.So, when needing to preserve new bookmark again, bookmark save set can be from bookmark list
Be determined more accurately the upper level address with the presence or absence of new bookmark, and then the first preserving module is allowd by new bookmark
When preserving into bookmark list, classification preservation can be carried out to new bookmark more precisely, improve the essence of bookmark list category
Parasexuality, and then improve the efficiency that user searches bookmark.
Optionally, device also includes:
Second preserving module, is configured to the first higher level ground for not having at least one upper level address in bookmark list
During location, according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and at least one higher level ground
Location is preserved into bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:It is determined that not depositing in bookmark list
In the first upper level address of address to be saved, the second preserving module can be according to address to be saved and at least one upper level address
Hierarchal order, address to be saved and at least one upper level address are preserved into bookmark list, so that subsequently preserving
During new bookmark, bookmark save set can be according to the address to be saved and at least one higher level ground preserved in bookmark list
Location, it is determined whether there is the upper level address of new bookmark, and then the first preserving module is being preserved new bookmark to bookmark
When in list, classification preservation can be carried out to new bookmark, reach carries out the purpose of classification preservation to bookmark so that bookmark list
The bookmark list of bibliographic structure is formed, bookmark is searched in order to user in bookmark list, the effect that user searches bookmark is improve
Rate.
Optionally, at least one upper level address of address to be saved includes:Address to be saved according to hierarchal order upwards, directly
To all upper level address of root directory information.
Optionally, the second preserving module, be configured to by address to be saved and according to hierarchal order upwards until root mesh
All upper level address of record information, preserve into bookmark list according to hierarchal order.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Second preserving module will be by treating
Preserve address and according to hierarchal order upwards until all upper level address of root directory information are preserved into bookmark list so that book
The upper level address of the address to be saved preserved in signing list is more perfect.So, when bookmark save set needs to preserve again
During new bookmark, the upper level address with the presence or absence of new bookmark can be determined more accurately from bookmark list, and then be caused
First preserving module more precisely can be classified to new bookmark when new bookmark is preserved into bookmark list
Preserve, improve the accuracy of bookmark list category, and then improve the efficiency that user searches bookmark.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of bookmark save set based on browser, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, processor is configured to:
Receive bookmark and preserve order, bookmark preserves order to be included:Address to be saved;
According to address to be saved, at least one upper level address of address to be saved is obtained;
When there is the first upper level address at least one upper level address in bookmark list, by address to be saved preserve to
Under first upper level address of bookmark list.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Bookmark save set is being received
After bookmark preserves order, order can be preserved according to the bookmark and get address to be saved, and then can be to be saved according to this
Address, obtains at least one upper level address of the address to be saved, such that it is able to there is this in the bookmark list of browser extremely
During the first upper level address in a few upper level address, in the bookmark list of browser by address to be saved preserve to this first
Under upper level address, to reach the purpose that classification preservation is carried out to bookmark so that bookmark list forms the bookmark list of bibliographic structure,
Bookmark is searched in order to user in bookmark list, improve the efficiency that user searches bookmark.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the disclosure
Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the bookmark store method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the bookmark store method for implementing to exemplify according to another exemplary;
Fig. 3 is a kind of block diagram of the bookmark save set according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the bookmark save set for implementing to exemplify according to another exemplary;
Fig. 5 is a kind of block diagram of the bookmark save set 500 according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to the scope of disclosure design is limited by any mode with word description, but by reference to specific embodiment is
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by
The example of consistent apparatus and method in terms of some described in detail in claims, the disclosure.
It is described in detail with specifically embodiment technical scheme of this disclosure below.These specific enforcements below
Example can be combined with each other, for same or analogous concept or process may be repeated no more in some embodiments.
Fig. 1 is a kind of flow chart of the bookmark store method according to an exemplary embodiment.The execution master of the method
Body can be bookmark save set, can also be the terminal for being integrated with bookmark save set, following with executive agent to be integrated with
The terminal of bookmark save set is (referred to as:Terminal) as a example by illustrate.As shown in figure 1, the method may comprise steps of:
In step S101, receive bookmark and preserve order.
Specifically, user is during the browser of using terminal browses webpage, if user need to preserve it is current
The webpage for browsing is (referred to as:Webpage to be saved), then terminal can receive the bookmark preservation order of user input.Implement
When, above-mentioned user can be preserved to terminal input bookmark by way of the bookmark save button on the browser for clicking on terminal
Order.
In step s 102, preserved according to bookmark and ordered, obtain address to be saved.
Specifically, above-mentioned terminal can be preserved according to the bookmark after the bookmark for receiving user input preserves order
Order, extracts the address of webpage that user is currently browsing from the browser of terminal, and using the address of the webpage as treating
Preserve address.Wherein, the address to be saved can for example be uniform resource locator (Uniform Resoure Locator, letter
Claim:URL) address.
In step s 103, according to address to be saved, obtain at least one upper level address of address to be saved.
Specifically, the webpage in website is typically stored in Website server according to the directory level of website, wherein,
One webpage of correspondence per first class catalogue, is single-level address per the address of the corresponding webpage of first class catalogue, before arbitrary webpage
The corresponding address of each directory level is the upper level address of the web page address.That is, in the address non-root directory address of webpage,
During the address of i.e. non-website homepage, the address of webpage includes at least one upper level address.
For example:It is assumed that user expects to search " home news of Netease " webpage, directory level of the webpage in website is:
Netease's homepage>Press center>Home news, wherein, the corresponding address of webpage of every grade of catalogue is as follows:
http://www.163.com/ (Netease's homepage)
http://news.163.com/ (press center)
http://news.163.com/domestic/ (home news)
Then " http:The upper level address of //news.163.com/domestic/ " web page addresses includes:http://
News.163.com/, and, http://www.163.com/.
Therefore, in the present embodiment, above-mentioned terminal, can be according to this to be savedly after address to be saved is got
Location, obtains at least one upper level address of the address to be saved.Wherein, the number of the upper level address of acquired address to be saved
Specifically can according to the directory level number between the root address of address to be saved and address to be saved and, user's
Demand determines.The present embodiment does not limit above-mentioned terminal according to address to be saved, obtains at least one higher level ground of address to be saved
The specific implementation of location.Optionally, address to be saved can be sent to the corresponding webpage institute in address to be saved by above-mentioned terminal
The Website server of category, to receive the address to be saved that Website server is found in the directory listing for itself being stored
Upper level address.Optionally, can be with itself is default " website belonging to the corresponding webpage in address to be saved " in above-mentioned terminal
Directory listing in, search the upper level address of the address to be saved.
In step S104, when there is the first upper level address at least one upper level address in bookmark list, will treat
Preserve address to preserve to the first upper level address of bookmark list.
Specifically, in the present embodiment, when terminal preserves each bookmark in the bookmark list of browser, and according to this
Directory level of the bookmark in website is preserved.That is, each bookmark preserved in bookmark list include the bookmark,
And, the upper level address of the bookmark (quantity of the upper level address for wherein, being preserved here with specific reference to address to be saved with wait to protect
Deposit directory level number between the root address of address and, the demand of user determines).Therefore, above-mentioned terminal is being obtained
To after at least one upper level address of address to be saved, the bookmark that can be stored in the bookmark list for itself being preserved,
And, in the upper level address of bookmark, search whether the first upper level address for having at least one upper level address.Wherein, here
The first described upper level address can be the arbitrary address existed in bookmark list at least one upper level address.If this is extremely
In less in a upper level address with the presence of multiple upper level address bookmark lists, then first upper level address is the plurality of upper level address
The minimum address of middle grade.So, when there is the first upper level address in bookmark list, above-mentioned terminal can be by this to be savedly
Location is stored under the first upper level address in bookmark list.In this way so that the bookmark with identical upper level address can
To be stored under same upper level address.
It is exemplary, it is assumed that the bookmark 1 for having been preserved in above-mentioned bookmark list is:
http://www.163.com/ (Netease's homepage)
http://news.163.com/ (press center)
http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist (bookmark 1)
Above-mentioned address to be saved is:
http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (waits to protect
Deposit address)
At least one upper level address of the address to be saved includes:
http://www.163.com/ (Netease's homepage)
http://news.163.com/ (press center)
http://news.163.com/domestic/ (home news)
If above-mentioned first upper level address is:http://news.163.com/, then by above-mentioned example, above-mentioned bookmark
There is first address in list, then to the first address of bookmark list, i.e., address to be saved can be preserved by above-mentioned terminal
It is as follows:
http://www.163.com/ (Netease's homepage)
http://news.163.com/ (press center)
http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist (bookmark 1)
http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (waits to protect
Deposit address)
In this way so that terminal can pass through the new bookmark when new bookmark is preserved into bookmark list
Upper level address, determine in bookmark list with the presence or absence of the upper level address identical address with new bookmark, it is determined that there is phase
With address when, new bookmark is preserved to the address, to reach the purpose classified to bookmark so that bookmark list
For the bookmark list of bibliographic structure.So, user is in bookmark a certain by the bookmark list lookup of browser, can conveniently and
Bookmark is quickly found, the efficiency that user searches bookmark from bookmark list is improve.Simultaneously as the bookmark of bibliographic structure
List more for clarity and conciseness, will not the rambling sensation of cause the user, improve Consumer's Experience.
The bookmark store method that the disclosure is provided, terminal can be protected according to bookmark after receiving bookmark and preserving order
Deposit order and get address to be saved, and then can be obtained at least one of the address to be saved according to the address to be saved
Level address, so that terminal can have the first higher level at least one upper level address in the bookmark list of browser
During address, address to be saved is preserved to first upper level address in the bookmark list of browser, bookmark is entered with reaching
The purpose that row classification is preserved so that bookmark list forms the bookmark list of bibliographic structure, looks in bookmark list in order to user
Bookmark is looked for, the efficiency that user searches bookmark is improve.
Optionally, in another implementation of the disclosure, exist at least one upper level address in bookmark list
During the first upper level address, if there is at least primary interval address between the first upper level address and address to be saved, above-mentioned
In S104, terminal can be with according to address to be saved and at least hierarchal order of primary interval address, by address to be saved and every
Primary interval address is preserved to the first upper level address.
With continued reference to above-mentioned example, in the examples described above, above-mentioned first upper level address (http://news.163.com/)
There is primary interval address, i.e. http between address to be saved://news.163.com/domestic/, then in the realization side
In formula, above-mentioned terminal can also preserve address to be saved and the interval address to the first upper level address, i.e., as follows:
http://www.163.com/ (Netease's homepage)
http://news.163.com/ (press center)
http://news.163.com/16/1011/07/C335031C00014JB6.html#f=dlist (bookmark 1)
http://news.163.com/domestic/ (interval address)
http://news.163.com/16/1010/02/C300MM6I00014Q4P.html#f=dupdate (waits to protect
Deposit address)
In this way so that the upper level address of the address to be saved preserved in bookmark list is more perfect.So,
When terminal needs to preserve new bookmark again, terminal can be determined more accurately from bookmark list with the presence or absence of new book
The upper level address of label, and then allow terminal when new bookmark is preserved into bookmark list, can more precisely to new
Bookmark carry out classification preservation, improve the accuracy of bookmark list category, and then improve the efficiency that user searches bookmark.
Optionally, in another implementation of the disclosure, above-mentioned terminal can obtain all higher levels of address to be saved
Address, meanwhile, terminal can also obtain all upper level address of each bookmark in bookmark list, to judge the upper of address to be saved
With the presence or absence of the upper level address identical upper level address with the bookmark of bookmark list in level address, and then there is identical higher level
During address, and the identical upper level address is not when existing in bookmark list, and the identical upper level address is updated to bookmark list
In, and by the address to be saved, and, the bookmark under the identical upper level address is updated to the identical upper level address simultaneously
Under, to reach the purpose classified to bookmark.In this way, the accuracy of bookmark list category can be improved, and then
Improve the efficiency that user searches bookmark.
Fig. 2 is a kind of flow chart of the bookmark store method for implementing to exemplify according to another exemplary.The present embodiment is related to
To be above-mentioned terminal preserve order according to received bookmark, the detailed process of bookmark is preserved in bookmark list.Such as Fig. 2 institutes
Show, the method can include:
In step s 201, terminal receives bookmark and preserves order.
In step S202, terminal is preserved according to bookmark and is ordered, and obtains address to be saved.
In step S203, terminal obtains at least one upper level address of address to be saved according to address to be saved.
Wherein, the description of above-mentioned steps S201-S203 specifically may refer to the description of above-mentioned S101-S103, to this no longer
Repeat.
In step S204, terminal whether there is the first higher level ground at least one upper level address in determining bookmark list
Location.If so, S205 is then performed, if it is not, then performing S206.
Specifically, if above-mentioned terminal has the first upper level address at least one upper level address in determining bookmark list,
The bookmark that there is identical upper level address with address to be saved has been preserved in illustrating above-mentioned bookmark list, in this case,
Terminal can directly preserve the address to be saved to the upper level address, that is, perform S205, right in bookmark list to reach
Each bookmark carries out the purpose of classification preservation, searches bookmark in order to user in bookmark list, improves user and searches bookmark
Efficiency.
If there is no the first upper level address at least one upper level address in above-mentioned terminal, in explanation in determining bookmark list
In all addresses preserved in stating bookmark list, neither one address is identical with arbitrary upper level address of address to be saved,
In this case, terminal can according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and
At least one upper level address is preserved into bookmark list, that is, perform S206.
Wherein, above-mentioned terminal whether there is the first upper level address at least one upper level address in determining bookmark list
Description, may refer to the description of above-mentioned S104.
In step S205, terminal preserves address to be saved to the first upper level address of bookmark list.
Wherein, the description of above-mentioned steps S205 specifically may refer to the description of above-mentioned S104, and this is repeated no more.
After having performed S205, terminate flow process.
In step S206, terminal, will be to be saved according to address to be saved and the hierarchal order of at least one upper level address
Address and at least one upper level address are preserved into bookmark list.
Specifically, when it is determined that there is no the first upper level address at least one upper level address in terminal in bookmark list,
According to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and at least one upper level address
Each upper level address is preserved into bookmark list.Wherein, above-mentioned at least one upper level address can include:Address to be saved according to
Hierarchal order upwards, up to all upper level address of root directory information, can also include:Address to be saved according to hierarchal order to
On, until the part upper level address of root directory information, specifically can set according to the demand of user.
When above-mentioned at least one upper level address includes:Address to be saved according to hierarchal order upwards, until root directory information
Part upper level address when, above-mentioned terminal can by address to be saved and part upper level address according to hierarchal order upwards,
Preserve into bookmark list according to hierarchal order.In this way so that terminal when new bookmark is subsequently preserved, Ke Yiyi
According to the address to be saved and at least one upper level address that are preserved in bookmark list, it is determined whether there is the higher level ground of new bookmark
Location, and then terminal is allowd when new bookmark is preserved into bookmark list, classification preservation can be carried out to new bookmark,
Reach carries out the purpose of classification preservation to bookmark so that bookmark list forms the bookmark list of bibliographic structure, exists in order to user
Bookmark is searched in bookmark list, the efficiency that user searches bookmark is improve.
When above-mentioned at least one upper level address includes:Address to be saved according to hierarchal order upwards, until root directory information
All upper level address when, above-mentioned terminal can by address to be saved and according to hierarchal order upwards until root directory information
All upper level address, preserve into bookmark list according to hierarchal order.In this way so that preserved in bookmark list
Address to be saved upper level address it is more perfect.So, when terminal needs to preserve new bookmark again, terminal can be from book
Be determined more accurately upper level address with the presence or absence of new bookmark in signing list, and then terminal is allowd by new bookmark
When preserving into bookmark list, classification preservation can be carried out to new bookmark more precisely, improve the essence of bookmark list category
Parasexuality, and then improve the efficiency that user searches bookmark.
After having performed S206, terminate flow process.
The bookmark store method that the disclosure is provided, terminal can be protected according to bookmark after receiving bookmark and preserving order
Deposit order and get address to be saved, and then can be obtained at least one of the address to be saved according to the address to be saved
Level address, so that terminal can have the first higher level at least one upper level address in the bookmark list of browser
During address, address to be saved is preserved to first upper level address in the bookmark list of browser, bookmark is entered with reaching
The purpose that row classification is preserved so that bookmark list forms the bookmark list of bibliographic structure, looks in bookmark list in order to user
Bookmark is looked for, the efficiency that user searches bookmark is improve.
It is following for disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality
The details not disclosed in applying example, refer to method of disclosure embodiment.
Fig. 3 is a kind of block diagram of the bookmark save set according to an exemplary embodiment, as shown in figure 3, the bookmark
Save set can be implemented in combination with some or all of of terminal by software, hardware or both.The bookmark save set
Can include:
Receiver module 11, is configured to receive bookmark preservation order;
First acquisition module 12, is configured to be preserved according to bookmark and orders, obtain address to be saved;
Second acquisition module 13, is configured at least one higher level ground of address to be saved is obtained according to address to be saved
Location;
First preserving module 14, is configured to the first higher level ground for having at least one upper level address in bookmark list
During location, address to be saved is preserved to the first upper level address of bookmark list.
The bookmark save set that the disclosure is provided, after receiving bookmark and preserving order, first obtains mould to receiver module
Block can preserve order according to the bookmark, obtain address to be saved, and then allow the second acquisition module to be saved according to this
Address, obtains at least one upper level address of the address to be saved, so that the first preserving module can be in the book of browser
When there is the first upper level address at least one upper level address in signing list, will be to be saved in the bookmark list of browser
Address is preserved to first upper level address, to reach the purpose that classification preservation is carried out to bookmark so that bookmark list forms mesh
The bookmark list of directory structures, searches bookmark in order to user in bookmark list, improves the efficiency that user searches bookmark.
Optionally, in a kind of implementation of the disclosure, the first preserving module 14 is configured to deposit in bookmark list
During the first upper level address at least one upper level address, if having at least one between the first upper level address and address to be saved
Level interval address, then according to address to be saved and at least hierarchal order of primary interval address, by address to be saved and every one-level
Interval address is preserved to the first upper level address.
The bookmark save set that the disclosure is provided, the first preserving module is by by address to be saved and per one-level compartment of terrain location
Preserve to the first upper level address so that the upper level address of the address to be saved preserved in bookmark list is more perfect.So,
When needing to preserve new bookmark again, bookmark save set can be determined more accurately from bookmark list with the presence or absence of new
Bookmark upper level address, and then allow the first preserving module when new bookmark is preserved into bookmark list, can be with
Classification preservation is carried out to new bookmark more precisely, the accuracy of bookmark list category is improve, and then is improve user's lookup
The efficiency of bookmark.
Fig. 4 is a kind of block diagram of the bookmark save set for implementing to exemplify according to another exemplary.As shown in figure 4, upper
On the basis of stating block diagram shown in Fig. 3, above-mentioned bookmark save set can also include:
Second preserving module 15, is configured to the first higher level for not having at least one upper level address in bookmark list
During address, according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and at least one higher level
Address is preserved into bookmark list.
The bookmark save set that the disclosure is provided, it is determined that there is no the first higher level ground of address to be saved in bookmark list
During location, the second preserving module can be according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved
Preserve into bookmark list with least one upper level address, so that when new bookmark is subsequently preserved, bookmark save set
Can be according to the address to be saved and at least one upper level address preserved in bookmark list, it is determined whether there is new bookmark
Upper level address, and then cause the first preserving module when new bookmark is preserved into bookmark list, new bookmark can be entered
Row classification is preserved, and reach carries out the purpose of classification preservation to bookmark so that bookmark list forms the bookmark list of bibliographic structure, with
Be easy to user bookmark to be searched in bookmark list, improve the efficiency that user searches bookmark.
Optionally, in a kind of implementation of the disclosure, at least one upper level address of above-mentioned address to be saved includes:
Address to be saved according to hierarchal order upwards, until root directory information all upper level address.It is then under the implementation, above-mentioned
Second preserving module 15, can be configured to by address to be saved and according to hierarchal order upwards until root directory information
All upper level address, preserve into bookmark list according to hierarchal order.
The disclosure provide bookmark save set, the second preserving module by by address to be saved and according to hierarchal order to
It is upper until all upper level address of root directory information are preserved into bookmark list so that preserved in bookmark list to be savedly
The upper level address of location is more perfect.So, when bookmark save set needs to preserve new bookmark again, can be from bookmark list
In be determined more accurately upper level address with the presence or absence of new bookmark, and then allow the first preserving module by new book
When preservation is signed into bookmark list, classification preservation can be carried out to new bookmark more precisely, improve bookmark list category
Accuracy, and then improve the efficiency that user searches bookmark.
Fig. 5 is a kind of block diagram of the bookmark save set 500 according to an exemplary embodiment.For example, device 500 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium are good for
Body equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 can include following one or more assemblies:Process assembly 502, memorizer 504, power supply
Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and
Communication component 516.
The integrated operation of 502 usual control device 500 of process assembly, such as with display, call, data communication, phase
Machine operates and records the associated operation of operation.Process assembly 502 can refer to perform including one or more processors 520
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 502 can include one or more modules, just
Interaction between process assembly 502 and other assemblies.For example, process assembly 502 can include multi-media module, many to facilitate
Interaction between media component 508 and process assembly 502.
Memorizer 504 is configured to store various types of data to support the operation in device 500.These data are shown
Example includes the instruction of any application program or method for operating on device 500, and contact data, telephone book data disappear
Breath, picture, video etc..Memorizer 504 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system
System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 500.
Multimedia groupware 508 is included in the touching display screen of one output interface of offer between device 500 and user.
In some embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch
Sensor is touched with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the persistent period related to touch or slide and pressure.In certain embodiments, multimedia
Component 508 includes a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, such as screening-mode or regard
During frequency pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera is with after
Putting photographic head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured to output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike
Wind (MIC), when device 500 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody
It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 504 or via communication set
Part 516 sends.In certain embodiments, audio-frequency assembly 510 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 502 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 512
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main bar button, volume button, start button and lock
Determine button.
Sensor cluster 514 includes one or more sensors, and the state for various aspects are provided for device 500 is commented
Estimate.For example, sensor cluster 514 can detect the opening/closed mode of device 500, such as relative localization of component, component
For the display and keypad of device 500, sensor cluster 514 can be with the position of 500 1 components of detection means 500 or device
Change is put, user is presence or absence of with what device 500 was contacted, the temperature of 500 orientation of device or acceleration/deceleration and device 500
Change.Sensor cluster 514 can include proximity transducer, be configured to when not having any physical contact near detection
The presence of object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging
With used in.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure transducer or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement
In example, communication component 516 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, communication component 516 also includes near-field communication (NFC) module, to promote junction service.For example,
RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth can be based in NFC module
(BT) technology and other technologies are realizing.
In the exemplary embodiment, device 500 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
Such as include the memorizer 504 of instruction, above-mentioned instruction can be performed to complete said method by the processor 520 of device 500.For example,
Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light
Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 500
During row so that device 500 is able to carry out a kind of bookmark store method.
Method includes:
Receive bookmark and preserve order;
Preserved according to the bookmark and ordered, obtain address to be saved;
According to address to be saved, at least one upper level address of address to be saved is obtained;
When there is the first upper level address at least one upper level address in bookmark list, by address to be saved preserve to
Under first upper level address of bookmark list.
Optionally, when there is the first upper level address at least one upper level address in bookmark list, will be to be saved
Location is preserved to the first upper level address of bookmark list, including:
When there is the first upper level address at least one upper level address in bookmark list, if the first upper level address with treat
Preserve and there is at least primary interval address between address, then the grade according to address to be saved and at least primary interval address is suitable
Sequence, preserves to the first upper level address by address to be saved and per one-level compartment of terrain location.
Optionally, method also includes:
When there is no the first upper level address at least one upper level address in bookmark list, according to address to be saved and
The hierarchal order of at least one upper level address, address to be saved and at least one upper level address are preserved into bookmark list.
Optionally, at least one upper level address of address to be saved includes:Address to be saved according to hierarchal order upwards, directly
To all upper level address of root directory information.
Optionally, according to address to be saved and the hierarchal order of at least one upper level address, by address to be saved and at least
One upper level address is preserved into bookmark list, including:
By address to be saved and according to hierarchal order upwards until root directory information all upper level address, according to etc.
Level order is preserved into bookmark list.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claims are pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appending claims
System.
Claims (11)
1. a kind of bookmark store method based on browser, it is characterised in that include:
Receive bookmark and preserve order;
Preserved according to the bookmark and ordered, obtain address to be saved;
According to the address to be saved, at least one upper level address of the address to be saved is obtained;
When there is the first upper level address at least one upper level address in bookmark list, the address to be saved is protected
Deposit to the first upper level address of the bookmark list.
2. method according to claim 1, it is characterised in that described to there is at least one higher level in bookmark list
During the first upper level address in address, the address to be saved is preserved to the first upper level address of the bookmark list, wrapped
Include:
When there is the first upper level address at least one upper level address in bookmark list, if first upper level address
There is at least primary interval address between the address to be saved, then according to the address to be saved and described at least between one-level
Every the hierarchal order of address, preserve to first upper level address by the address to be saved and per one-level compartment of terrain location.
3. method according to claim 1, it is characterised in that methods described also includes:
When there is no the first upper level address at least one upper level address in bookmark list, according to described to be saved
Location and the hierarchal order of at least one upper level address, the address to be saved and at least one upper level address are preserved
Into the bookmark list.
4. method according to claim 3, it is characterised in that at least one upper level address bag of the address to be saved
Include:The address to be saved according to hierarchal order upwards, until root directory information all upper level address.
5. method according to claim 4, it is characterised in that described according to the address to be saved and described at least one
The hierarchal order of upper level address, the address to be saved and at least one upper level address are preserved to the bookmark list
In, including:
By the address to be saved and according to hierarchal order upwards until root directory information all upper level address, according to institute
State hierarchal order to preserve into the bookmark list.
6. a kind of bookmark save set based on browser, it is characterised in that include:
Receiver module, is configured to receive bookmark preservation order;
First acquisition module, is configured to be preserved according to the bookmark and orders, obtain address to be saved;
Second acquisition module, is configured at least one higher level of the address to be saved is obtained according to the address to be saved
Address;
First preserving module, is configured to the first upper level address for having at least one upper level address in bookmark list
When, the address to be saved is preserved to the first upper level address of the bookmark list.
7. device according to claim 6, it is characterised in that first preserving module, is configured in bookmark list
It is middle exist at least one upper level address the first upper level address when, if first upper level address is to be saved with described
There is at least primary interval address between location, then the grade according to the address to be saved and at least primary interval address is suitable
Sequence, preserves to first upper level address by the address to be saved and per one-level compartment of terrain location.
8. device according to claim 6, it is characterised in that described device also includes:
Second preserving module, is configured to the first higher level ground for not having at least one upper level address in bookmark list
During location, according to the address to be saved and the hierarchal order of at least one upper level address, by the address to be saved and institute
State at least one upper level address to preserve into the bookmark list.
9. device according to claim 8, it is characterised in that at least one upper level address bag of the address to be saved
Include:The address to be saved according to hierarchal order upwards, until root directory information all upper level address.
10. device according to claim 9, it is characterised in that second preserving module, is configured to wait to protect by described
Deposit address and according to hierarchal order upwards until all upper level address of root directory information, preserve according to the hierarchal order
Into the bookmark list.
11. a kind of bookmark save sets based on browser, it is characterised in that include:
Processor;
For storing the memorizer of the executable instruction of the processor;
Wherein, the processor is configured to:
Receive bookmark and preserve order;
Preserved according to the bookmark and ordered, obtain address to be saved;
According to the address to be saved, at least one upper level address of the address to be saved is obtained;
When there is the first upper level address at least one upper level address in bookmark list, the address to be saved is protected
Deposit to the first upper level address of the bookmark list.
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)
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 bookmark of browser |
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 |
-
2016
- 2016-11-23 CN CN201611037116.8A patent/CN106528838A/en active Pending
Patent Citations (5)
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 bookmark of browser |
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 |
---|---|---|
CN104079962B (en) | A kind of method and device for pushing recommendation information | |
US10739958B2 (en) | Method and device for executing application using icon associated with application metadata | |
CN106020784A (en) | Method and device for displaying application message, and terminal | |
CN106896932A (en) | A kind of candidate word recommends method and device | |
CN105095427A (en) | Search recommendation method and device | |
CN108664663A (en) | Recommendation information display methods, device and storage medium | |
CN109190076B (en) | Page collection method and device, storage medium and electronic equipment | |
CN105159524A (en) | Interface display method and apparatus | |
CN107239527A (en) | web access method and device | |
CN103970841A (en) | Label management method and device | |
CN104216971A (en) | Method and device for indexing applications | |
CN106600367A (en) | Order information processing method and order information processing device | |
CN104111979A (en) | Search recommendation method and device | |
CN104331503A (en) | Information push method and device | |
CN104182505B (en) | Webpage rearrangement method and device | |
CN105373580A (en) | Method and device for displaying subjects | |
CN104683496B (en) | address filtering method and device | |
CN108334623A (en) | Display methods, the device and system of song | |
CN107045541A (en) | data display method and device | |
CN106649781A (en) | Application recommendation method and device | |
CN106815291A (en) | Search result items exhibiting method, device and the device represented for search result items | |
CN107402767A (en) | The method and apparatus for showing PUSH message | |
CN105160009A (en) | Resource downloading method and apparatus | |
CN104572848A (en) | Search method and search device based on browser | |
CN108268507B (en) | Browser-based processing method and device 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |