Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of quick input method and system of browser bookmark, to realize opening bookmark web site fast through the mode of shortcut.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of quick input method of browser bookmark, this method comprises:
When adding the bookmark of browser, bookmark name and corresponding bookmark web site and quick coding are preserved in terminal, browser place;
When receiving the access bookmarks instruction that shortcut triggers,, and show corresponding webpage based on the bookmark web site that inquires based on the bookmark web site of the quick coded query coupling in the said instruction.
Before the access bookmarks instruction that receives the shortcut triggering, this method further comprises:
When the beginning browsing page, all fast are encoded to an index initialization, and are kept in the internal memory at said terminal;
Accordingly, the bookmark web site based on the quick coded query coupling in the said instruction is specially:
Index based in the said internal memory of quick coded query in the said instruction finds the quick coding that mates in the index, and preserve based on the quick coded query self that finds with the corresponding bookmark web site of said quick coding.
This method further comprises: according to the bookmark edit instruction, preserve bookmark name and corresponding bookmark web site and quick modification of encoding, be specially:
When receiving the bookmark edit instruction, read all bookmark names and corresponding bookmark web site and quick coding, and wait for editor's input;
According to editor's input, preserve the bookmark web site of bookmark name and correspondence and the modification of quick coding.
This method further comprises:
Preserve with quick code synchronism bookmark name of preserving and corresponding bookmark web site according to preset synchronization policy at said terminal to server.
This method further comprises:
Bookmark name of preserving on the said server and corresponding bookmark web site are bound with user profile with quick coding; When the user changed the terminal and passes through the browser browsing page, the terminal after the replacing was carried out local update from the bookmark name of the said user profile binding of said server download and corresponding bookmark web site with fast encoding.
The present invention also provides a kind of quick input system of browser bookmark, and this system comprises:
Quick coding bookmark module is used for when adding the bookmark of browser, preserves bookmark name and corresponding bookmark web site and quick coding; When the access bookmarks instruction that receives the shortcut triggering, based on the bookmark web site of the quick coded query coupling in the said instruction;
Browser module is used for showing corresponding webpage according to the bookmark web site that said quick coding bookmark module inquiry obtains.
Said quick coding bookmark module is further used for, and when the beginning browsing page, all fast are encoded to an index initialization, and is kept in the internal memory at terminal, said browser place;
When the access bookmarks instruction that receives the shortcut triggering; According to the index in the said internal memory of quick coded query in the said instruction; Find the quick coding that matees in the index, and preserve according to the quick coded query terminal found with the corresponding bookmark web site of said quick coding.
Said quick coding bookmark module is further used for, and based on the bookmark edit instruction, preserves bookmark name and corresponding bookmark web site and quick modification of encoding, and is concrete:
When receiving the bookmark edit instruction, read all bookmark names and corresponding bookmark web site and quick coding, and wait for editor's input; According to editor's input, preserve the bookmark web site of bookmark name and correspondence and the modification of quick coding.
Said quick coding bookmark module is further used for, and according to preset synchronization policy, bookmark name of preserving and corresponding bookmark web site is preserved to server with quick code synchronism.
Bookmark name of preserving on the said server and corresponding bookmark web site are bound with user profile with quick coding,
Accordingly; Said quick coding bookmark module is further used for; When said user changes the terminal and passes through the browser browsing page, carry out local update with fast encoding from the bookmark name of the said user profile binding of said server download and corresponding bookmark web site.
The quick input method and the system of a kind of browser bookmark provided by the present invention, when adding the bookmark of browser, bookmark name and corresponding bookmark web site and quick coding are preserved in terminal, browser place; When receiving the access bookmarks instruction that shortcut triggers,, and show corresponding webpage based on the bookmark web site that inquires based on the bookmark web site of the quick coded query coupling in the instruction.Through the present invention, realized opening bookmark web site fast through the mode of shortcut, made things convenient for user's operation, improved user's operating efficiency, improved user experience.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment technical scheme of the present invention further is discussed in more detail.
For realization is opened bookmark web site fast through the mode of shortcut, the quick input method of a kind of browser bookmark provided by the present invention, as shown in Figure 2, mainly may further comprise the steps:
Step 201, when adding the bookmark of browser, bookmark name and corresponding bookmark web site and quick coding are preserved in terminal, browser place.
User's open any browser, when selecting to add bookmark, browser place terminal notifying user specifies a quick coding for the bookmark that adds, and waits for the user key-press input.Described quick coding can adopt numeral number, also can adopt alphabetic coding, and certainly, the present invention does not limit the form of quick coding, and the quick coding of any available form all should belong to the scope of the present invention's protection.
Edit bookmark name, bookmark web site the user, and after having specified quick coding, this bookmark name and corresponding bookmark web site and quick coding are preserved in the terminal; The bookmark name that each bookmark is corresponding, bookmark web site and quick coding can be preserved in the terminal with the form of tabulation.
Step 202 when receiving the access bookmarks instruction that shortcut triggers, based on the bookmark web site of the quick coded query coupling in the instruction, and shows corresponding webpage based on the bookmark web site that inquires.
When the user begins browsing page (being open any browser), the terminal can initialization all fast be encoded to an index, and be kept in the internal memory at terminal; So when receiving the access bookmarks instruction that the user triggers through shortcut; The terminal can be according to the index in the quick coded query internal memory of user's input; Find the quick coding that matees in the index; And preserve according to the quick coded query self that finds with the corresponding bookmark web site of quick coding, thereby show corresponding webpage according to the bookmark web site that inquires.
Preferable, the user can also be preserved to bookmark name and corresponding bookmark web site and quick modification of encoding based on user's bookmark edit instruction in the terminal, is specially:
When receiving the bookmark edit instruction of user's triggering, read all bookmark names and corresponding bookmark web site and quick coding, and the wait user edits input;
According to editor's input of user, preserve the user to bookmark name and corresponding bookmark web site and the fast modification of coding.
In addition, the terminal can also be preserved with quick code synchronism bookmark name of preserving and corresponding bookmark web site according to preset synchronization policy to server.Further; Bookmark name of preserving on the server and corresponding bookmark web site can be bound with user profile with quick coding; When the user changed the terminal and passes through the browser browsing page, the new terminal after the replacing can carry out local update with fast encoding from the bookmark name of this user profile binding of server download and corresponding bookmark web site; Thereby, on new terminal, can continue to realize the shortcut visit of bookmark web site, and not need the user on new terminal, to update the interpolation bookmark that this has further simplified user's operation, has improved operating efficiency.
It is pointed out that terminal of the present invention can be a portable terminal, also can be personal computer (PC, Personal Computer); That is to say that the quick input method of browser bookmark of the present invention promptly is applicable to portable terminal, other can running browser and support the terminal of quick input also to be applicable to PC etc.
Be example with the portable terminal below, and combine process flow diagram shown in Figure 3, the quick input method of browser bookmark of the present invention is further set forth in detail.
Whatstep 301 shown in Figure 3~303 were described is the flow process that the user adds bookmark, concrete:
Step 301, the user selects to add bookmark.
User's open any browser selects to add the bookmark option from the tool option, thereby triggers the operating process of adding bookmark.
Step 302, the prompting user selects the quick coding of bookmark.
Trigger the operating process of interpolation bookmark the user after, browser place portable terminal ejects similar interpolation interface shown in Figure 1, supplies the user to import bookmark name and bookmark web site, and the prompting user specifies a quick coding for the bookmark of interpolation.The user is according to prompting; Specify a quick coding; For example: when adopting numeral number as quick coding, add 1 strategy on can the numeral number basis according to current maximum and specify a numbering, maximum number is numbered 3 in the existing bookmark of promptly supposing to store in the portable terminal; The corresponding numeral number of the so new bookmark that adds is 4 then, and the rest may be inferred.Certainly, it is not that the bookmark that adds is specified quick coding that the user also can select, and to this situation, the quick coding item of this bookmark is empty, and promptly this bookmark does not support that shortcut calls.
Step 303 is preserved bookmark.
After the user had edited bookmark name, the bookmark web site that will add bookmark and fast encoded, browser place portable terminal was preserved above-mentioned user's editing data.Wherein, when the bookmark that adds as the user was a plurality of, each bookmark and corresponding bookmark name, bookmark web site and quick coding thereof can be preserved in portable terminal with the form of tabulation.Through aforesaid operations, the user can be a bookmark with web editor commonly used, and corresponding quick coding is set, thereby the user can be through the corresponding website of the above-mentioned bookmark of the mode fast access of shortcut.
It is pointed out that each item bookmark stored in the above-mentioned portable terminal and corresponding data thereof, also can be according to preset synchronization policy, be synchronized on the server by portable terminal and preserve.Further; Every the bookmark and the corresponding data thereof of storing in the server can also be bound with the user; For example: with above-mentioned data and user's identification (SIM; Subscriber Identity Module) card is bound, or with network instant communication (IM, Instant Messaging) number binding of user or the like.
Whatstep 304 shown in Figure 3~307 were described is the flow process of the user capture bookmark page, concrete:
Step 304, the user begins browsing pages.
So-called user begins browsing pages, is the state of user's open any browser on portable terminal.At this moment, portable terminal can initialization self all of storage fast be encoded to an index, and be kept in the internal memory of portable terminal.
Step 305, the user imports shortcut and quick coding.
The user imports shortcut and is used to trigger the access bookmarks instruction; For example: the user is through button input " # " key+" * " key; The shortcut of " # " and " * " combination promptly is used to trigger the access bookmarks instruction so, and the user imports quick coding (as through button input or screen handwriting input or the like) subsequently.Certainly, shortcut also can be imported with quick coding simultaneously.
Step 306 is compared the quick coding of user's input and the data of self preserving.
Index based in the quick coded query internal memory of user input finds the quick coding that mates in the index, and the data of preserving based on the quick coded query self that finds, thereby obtains and the corresponding bookmark web site of said quick coding.
Step 307 is opened the corresponding bookmark page according to the bookmark web site that inquires.
Based on the corresponding webpage of bookmark web site visit that inquires, and in interface of mobile terminal, show this bookmark web site corresponding page information.
Further, step 308 shown in Figure 3~311 is described is the flow process of the bookmark related data of storing in user's edit-modify portable terminal, concrete:
Step 308, the user selects the bookmark editor.
The user might input error when adding shortcut, and the user is using bookmark also might change other websites or the like after a period of time, therefore, and need to bookmark and related data be edited and operation such as deletion.The user selects the bookmark editor from the tool option of browser, thereby triggers bookmark editor's operation.
Step 309 reads the bookmark record.
When receiving the bookmark edit instruction of user's triggering, portable terminal reads all bookmarks and corresponding data (bookmark name, bookmark web site and quick coding) thereof, and waits for that the user edits input; In current display interface, can show each bookmark name with the form of tabulation, select to carry out the bookmark item of edit-modify intuitively for the user.
Step 310, prompting user's modification deletion shortcut etc.
The edit-modify operation that the user can carry out includes but are not limited to: delete shortcut, revise shortcut, delete bookmark, add bookmark, revise bookmark item content or the like.
Step 311 is preserved and is revised data.
According to editor's input of user, preserve the user to bookmark name and corresponding bookmark web site and the fast modification of coding.
Need to prove; If portable terminal is according to preset synchronization policy; Need the bookmark of preserving and related data thereof be synchronized on the server and preserve; When bookmark of preserving at portable terminal so and related data thereof took place to upgrade, portable terminal also need also be synchronized to server with data updated according to this synchronization policy, realizes incremental update.Concrete synchronization policy can be set according to actual needs, and for example: cycle synchronisation is upgraded or the like.
In addition; If every the bookmark and the corresponding data and the user profile thereof of storing in the server are bound; When the user changed portable terminal and passes through the browser browsing page, the new portable terminal after the replacing can carry out local update with fast encoding from the bookmark name of server download user profile binding and corresponding bookmark web site so.Thereby, on new portable terminal, can continue to realize the shortcut visit of bookmark web site, and not need the user on new portable terminal, to update the interpolation bookmark that this has further simplified user's operation, has improved operating efficiency.
Each and the server of portable terminal upgrades synchronously; Portable terminal all can be preserved the time and the bookmark summary of renewal; This bookmark summary can be according to bookmark in the portable terminal and related data thereof, and utilizes Hash (Hash) algorithm or eap-message digest (MD5, Message Digest) algorithm to generate; If cycle synchronisation upgrades, so every at a distance from one-period, portable terminal can be uploaded to server with bookmark summary and user profile, and (server also can be according to each user's of self preservation bookmark and related data; And utilize hash algorithm or MD5 algorithm to generate the bookmark summary); Server compares, if the bookmark of respective user summary is identical, then need not to carry out to upgrade and operates; If different, then portable terminal need be carried out and upgrade operation.
The quick input method of corresponding above-mentioned browser bookmark, the present invention also provides a kind of quick input system of browser bookmark, and is as shown in Figure 4, and this system comprises: bookmark module offast encoding 10 and browser module 20.Wherein, thebookmark module 10 of fast encoding is used for when adding the bookmark of browser, preserves bookmark name and corresponding bookmark web site and quick coding; When the access bookmarks instruction that receives the shortcut triggering, based on the bookmark web site of the quick coded query coupling in theinstruction.Browser module 20 is used for the bookmark web site that 10 inquiries obtain according to quick coding bookmark module and shows corresponding webpage.
Further, thebookmark module 10 of fast encoding also can be used for, and when the user began browsing page, all fast were encoded to an index initialization, and is kept in the internal memory at terminal, browser place; When receiving the access bookmarks instruction that the user triggers through shortcut; According to the index in the quick coded query internal memory in the instruction; Find the quick coding that matees in the index, and preserve according to the quick coded query terminal found with the corresponding bookmark web site of this quick coding.
Further, thebookmark module 10 of fast encoding also can be used for, and based on user's bookmark edit instruction, preserves the user to bookmark name and corresponding bookmark web site and quick modification of encoding, and is concrete:
When receiving the bookmark edit instruction of user's triggering, read all bookmark names and corresponding bookmark web site and quick coding, and the wait user edits input; According to editor's input of user, preserve the user to bookmark name and corresponding bookmark web site and the fast modification of coding.
Further, thebookmark module 10 of fast encoding also can be used for, and according to preset synchronization policy, bookmark name of preserving and corresponding bookmark web site is preserved to server with quick code synchronism.
Further, bookmark name of preserving on the server and corresponding bookmark web site can be bound with user profile with quick coding; So corresponding, thebookmark module 10 of fast encoding also can be used for, and when the user changes the terminal and passes through the browser browsing page, carries out local update from the bookmark name of this user profile binding of server download and corresponding bookmark web site with fast encoding.
In sum, use keyboard shortcut access bookmarks network address, repeatedly button just can be selected the webpage of the required visit of user, and the user uses a period of time can remember the quick coding of bookmark, thereby the access speed raising is faster.Through the present invention, can improve user's operating efficiency, improve user experience.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.