[go: up one dir, main page]

CN106326260A - Webpage access method and device - Google Patents

Webpage access method and device Download PDF

Info

Publication number
CN106326260A
CN106326260A CN201510366885.1A CN201510366885A CN106326260A CN 106326260 A CN106326260 A CN 106326260A CN 201510366885 A CN201510366885 A CN 201510366885A CN 106326260 A CN106326260 A CN 106326260A
Authority
CN
China
Prior art keywords
url
token name
name
token
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510366885.1A
Other languages
Chinese (zh)
Inventor
朱毅凡
胡杨
池玉博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510366885.1A priority Critical patent/CN106326260A/en
Publication of CN106326260A publication Critical patent/CN106326260A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/489Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using time information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a webpage access method and device. The method comprises the following steps: generating a first tag name corresponding to a first URL (Uniform Resource Locator) according to the first URL, wherein a character included in the first tag name is not completely identical to a character included in the corresponding first URL; when a second tag name input by a user is detected to be matched with the first tag name, acquiring a second URL corresponding to the second tag name; and skipping from a page of a browser to a page corresponding to the second URL. Through adoption of the webpage access method and device, the user can directly access a webpage corresponding to the tag name by only inputting a simple tag name in an address bar of the browser without needs of inputting a complete URL of the webpage and finding a bookmark corresponding to the webpage from a large quantity of bookmarks, so that operations become easy. Moreover, time needed for inputting the tag name is relatively short, so that time for inputting the URL is shortened for the user, and the webpage access speed is increased for the user.

Description

Web access method and device
Technical field
It relates to field of computer technology, particularly relate to a kind of Web access method and device.
Background technology
Along with the Internet is popularized, people can get the data that oneself needs from the Internet.User is passing through browser When browsing webpage, it usually needs the address field at browser input correct URL (Uniform Resource Locator, URL) could normally access webpage corresponding to this URL.But, if URL is long, input URL Process comparatively laborious.Although browser can add bookmark, bookmark will be preserved into by URL, when accessing this URL pair During the webpage answered, can be so that bookmark hurdle to find bookmark corresponding for this URL, then, click on bookmark corresponding for this URL i.e. May have access to corresponding webpage.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of Web access method and device.
In order to solve above-mentioned technical problem, disclosure embodiment discloses following technical scheme:
First aspect according to disclosure embodiment, it is provided that a kind of Web access method, including:
Generating and described first corresponding for a URL token name according to a URL, a described URL includes one or more The URL that the page is corresponding, described first token name includes one or more token name, the number of characters that described first token name is comprised The number of characters comprised less than a URL, and the character that comprised of described first token name and a described URL comprised Character is incomplete same;
When the second token name detecting that user inputs mates with described first token name, obtain corresponding with described second token name The 2nd URL, described 2nd URL be contained in a described URL;
According to described 2nd URL, jump to described 2nd page corresponding for URL.
So, user only need to input simple token name in the address field of browser, can directly access this token name corresponding Webpage, it is not necessary to the complete URL of input webpage, without searching the bookmark that webpage is corresponding from a large amount of bookmarks, simple to operate, And, input marking name required time is shorter, shortens user and inputs the time of URL, improves user and accesses the speed of webpage.
In conjunction with first aspect, in the first possible implementation of first aspect, described according to the oneth URL generate with described Oneth the first corresponding for URL token name includes:
Utilize preset algorithm to analyze the character that a described URL is comprised, and carry from the character that a described URL is comprised Take out key word;
Generate and a described alternate labels name corresponding for URL according to described key word;
Selection instruction according to user's input, determines described first token name from described alternate labels name.
The method can automatically analyze the URL of user's input, and generates corresponding token name, and, the token name of generation with should URL has certain relatedness, thus facilitates user to remember.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described according to the oneth URL generate with described Oneth the first corresponding for URL token name includes:
Show the display interface arranging first corresponding for a URL token name to user, described display interface includes at least token name Input frame;
Obtain the character that user inputs in described token name input frame, and determine that described character is corresponding with a described URL First token name.
Utilizing the method, user can arrange corresponding token name according to the feature of URL, improves the spirit of user setup token name Activity, and, facilitate user's memory marker name.
In conjunction with in the implementation that first aspect, the first possible implementation of first aspect, first aspect the second are possible Any one or a few implementation, in the third possible implementation of first aspect, described method also includes:
Judge whether the number of characters that the URL that user inputs is comprised is more than predetermined threshold value;
When the number of characters that a described URL is comprised is more than described predetermined threshold value, perform to generate with described according to a URL The step of the oneth the first corresponding for URL token name.The less URL of number of characters for comprising, it is not necessary to arrange token name, uses Family also is able to access webpage by input URL easily, therefore, only the number of characters comprised is exceeded predetermined threshold value URL generates corresponding token name, thus saves the resource of browser.
In conjunction with in the implementation that first aspect, the first possible implementation of first aspect, first aspect the second are possible Any one or a few implementation, in the 4th kind of possible implementation of first aspect, described method also includes:
Mapping relations between oneth URL and the first token name are synchronized in Cloud Server.Thus facilitate user at different terminals Token name is used to access webpage on the browser client of equipment.
Second aspect according to disclosure embodiment, it is provided that a kind of web page access device, including:
Generation module, for generating and described first corresponding for a URL token name according to the first uniform resource position mark URL, A described URL includes that the URL that one or more page is corresponding, described first token name include one or more token name, Number of characters that the number of characters that described first token name is comprised is comprised less than a URL, and described first token name comprised The character that character is comprised with a described URL is incomplete same;
Acquisition module, for when the second token name detecting that user inputs mates with described first token name, obtains with described The 2nd URL that second token name is corresponding, described 2nd URL are contained in a described URL;
Redirect module, for according to described 2nd URL, jump to described 2nd page corresponding for URL.
In conjunction with second aspect, in the first possible implementation of second aspect, described generation module, including:
Extract submodule, for utilizing preset algorithm to analyze the character that a described URL is comprised, and from a described URL The character comprised extracts key word;
Generate submodule, for generating and a described alternate labels name corresponding for URL according to described key word;
Determine submodule, for the selection instruction according to user's input, from described alternate labels name, determine described first token name.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described generation module, including:
Show submodule, for showing the display interface arranging first corresponding for a URL token name, described display circle to user Face includes at least token name input frame;
Obtain submodule, for obtaining the character that user inputs in described token name input frame, and determine described character for institute State first corresponding for a URL token name.
In conjunction with in the implementation that second aspect, the first possible implementation of second aspect, second aspect the second are possible Any one or a few implementation, in the third possible implementation of second aspect, described device also includes:
Judge module, for judging whether the number of characters that the URL that user inputs is comprised is more than predetermined threshold value;When described When the number of characters that one URL is comprised is more than described predetermined threshold value, makes described generation module perform according to a URL and generate and institute State the step of first corresponding for a URL token name.
In conjunction with in the implementation that second aspect, the first possible implementation of second aspect, second aspect the second are possible Any one or a few implementation, in the 4th kind of possible implementation of second aspect, described device also includes:
Synchronization module, for being synchronized to the mapping relations between a URL and the first token name in Cloud Server.
The third aspect according to disclosure embodiment, it is provided that a kind of terminal unit, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Generate and described first corresponding for a URL token name, a described URL according to the first uniform resource position mark URL Including the URL that one or more pages are corresponding, described first token name includes one or more token name, described first token name The number of characters that the number of characters comprised is comprised less than a URL, and the character and described first that described first token name is comprised The character that URL is comprised is incomplete same;
When the second token name detecting that user inputs mates with described first token name, obtain corresponding with described second token name The 2nd URL, described 2nd URL be contained in a described URL;
According to described 2nd URL, jump to described 2nd page corresponding for URL.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: according to a URL generate with this The first corresponding for one URL token name, wherein, a URL includes that the URL of one or more page, the first token name include One or more token names;The number of characters that the number of characters that first token name is comprised is comprised less than a URL, and the first labelling The character that name comprises is incomplete same with the character that a corresponding URL comprises.When detect the second token name that user inputs with During the first token name coupling, obtaining twoth URL corresponding with this second token name, then, the page jump of browser is to being somebody's turn to do 2nd page corresponding for URL.As shown in the above, user only need to input simple token name in the address field of browser, Can directly access the webpage that this token name is corresponding, it is not necessary to the complete URL of input webpage, search without from a large amount of bookmarks The bookmark that webpage is corresponding, simple to operate, and, input marking name required time is shorter, shortens user and inputs the time of URL, Improve user and access the speed of webpage.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, these public affairs can not be limited Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet embodiments of the invention, And for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart according to a kind of Web access method shown in an exemplary embodiment;
Fig. 2 is the flow chart according to the another kind of Web access method shown in an exemplary embodiment;
Fig. 3 is according to a kind of method flow diagram generating token name corresponding for webpage URL shown in an exemplary embodiment;
Fig. 4 is according to the another kind of method flow diagram generating token name corresponding for webpage URL shown in an exemplary embodiment;
Fig. 5 is according to a kind of display interface schematic diagram arranging token name shown in an exemplary embodiment;
Fig. 6 is the block diagram according to a kind of web page access device shown in an exemplary embodiment;
Fig. 7 is the block diagram according to a kind of generation module shown in an exemplary embodiment;
Fig. 8 is the block diagram according to the another kind of generation module shown in an exemplary embodiment;
Fig. 9 is the block diagram according to the another kind of web page access device shown in an exemplary embodiment;
Figure 10 is the block diagram according to the another kind of web page access device shown in an exemplary embodiment;
Figure 11 is the block diagram according to a kind of device shown in an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, hereinafter will be described in more detail.These accompanying drawings It is not intended to be limited by any mode the scope of disclosure design, but is this area skill by reference specific embodiment Art personnel illustrate the concept of the disclosure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to attached During figure, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as The example of the apparatus and method that some aspects that described in detail in appended claims, the disclosure are consistent.
Fig. 1 is the flow chart according to a kind of Web access method shown in an exemplary embodiment, and the method is applied to intelligence In the browser client of terminal, described intelligent terminal can include personal computer, smart mobile phone, panel computer etc..
As it is shown in figure 1, the method may comprise steps of:
In step s 110, first token name corresponding for URL with the oneth is generated according to a URL.
In this embodiment, a described URL includes that the URL that one or more page is corresponding, described first token name include One or more token names, and, each URL in a URL has a corresponding token name, and URL With token name one_to_one corresponding, these token names corresponding with URL form the first token name.
Wherein, the token name in the first token name can include the characters such as Chinese character, English alphabet, numeral, symbol.Token name institute The character that the character comprised is comprised with the URL corresponding to this token name is incomplete same, such as, and the character that token name is comprised Can be the partial character that comprised of URL, or, the character that the character that token name is comprised and URL are comprised is entirely different. Such as, the URL of Semen setariae official website is " www.xiaomi.com ", can choose " xiaomi ", " xm " as Semen setariae net Stand the token name of URL.
In a kind of possible implementation of the present embodiment, in order to more simplify the input of user, appointing in this first token name The number of characters that one token name is comprised is both less than the number of characters that the URL the most corresponding with this token name is comprised.
It should be noted that only need to perform once to generate the process of token name for same URL, afterwards, it becomes possible to utilize raw The token name become accesses the webpage of correspondence.
In the step s 120, when the second token name detecting that user inputs mates with described first token name, obtain with described The 2nd URL that second token name is corresponding.
The character that in character that second token name is comprised and the first token name, any one token name is comprised is identical, such as, The order of character itself, the quantity of character and character is the most identical, and the most referred to as second token name and the first token name match.
Such as, the first corresponding for a URL " www.xiaomi.com " token name is " xm ", when detecting that user is browsing In device address field, " xm " of input mates with the first token name, then obtain the URL corresponding with " xm ", i.e. “www.xiaomi.com”。
In step s 130, according to described 2nd URL, jump to described 2nd page corresponding for URL.
The 2nd URL according to obtaining jumps to the 2nd page corresponding for URL, i.e. user is defeated in the address field of browser After entering token name corresponding to URL, the display page of browser can jump directly to the URL page corresponding to described token name.
The Web access method that the present embodiment provides, generates first token name corresponding for URL with the oneth according to a URL, Wherein, a URL includes that the URL of one or more page, the first token name include one or more token name;First mark The number of characters that comprised number of characters of signing is comprised less than a URL, and the character and corresponding first that the first token name comprises The character that URL comprises is incomplete same.When the second token name that user inputs and the first token name coupling being detected, obtain with The 2nd URL that this second token name is corresponding, then, the page jump of browser is to the 2nd page corresponding for URL.By Foregoing understands, and user only need to input simple token name in the address field of browser, can directly access this token name pair The webpage answered, it is not necessary to the complete URL of input webpage, without searching the bookmark that webpage is corresponding from a large amount of bookmarks, operation letter Single, and, input marking name required time is shorter, shortens user and inputs the time of URL, improves user and accesses the speed of webpage.
Fig. 2 is the flow chart according to the another kind of Web access method shown in an exemplary embodiment, and the method is real shown in Fig. 1 Can also comprise the following steps on the basis of executing example:
In step S210, it is judged that whether the number of characters that a URL of user's input is comprised is more than predetermined threshold value;If it is, Perform step S220;If it is not, then end current process.
Predetermined threshold value can determine according to user's request, for example, it is possible to be set as 15.
In step S220, it is judged that whether a URL of user's input exists the token name of correspondence;If there is token name, Then perform step S120;If it does not exist, then perform step S110.
When the number of characters detecting that the URL that user inputs in the address field of browser is comprised is more than predetermined threshold value, continue to sentence Whether a disconnected URL exists token name, if there is no token name, then generates correspondence according to a URL of user's input Token name.If a URL exists token name, then need not again generate token name corresponding to URL.
In the disclosure one exemplary embodiment, the mapping relations between a URL and the first token name store terminal unit In.So, user is after input marking name, it is not necessary to networking directly obtains the mapping pass of URL and token name from terminal unit this locality System, saves data traffic.
In disclosure another exemplary embodiment, the mapping relations between a URL and the first token name are synchronized to cloud service In device, thus user is facilitated to use token name to access webpage on the browser client of different terminal equipment.
It should be noted that the disclosure does not limit the execution sequence of step S210 and step S220, it is also possible to first carry out S220, Perform step S210 again.
The Web access method that the present embodiment provides, when detecting that URL that user inputs is more than predetermined threshold value and this URL not After there is corresponding token name, just generate the token name corresponding with this URL.For the fewer URL of some number of characters without Generating corresponding token name, user also can input URL easily and conduct interviews.Save the resource of browser.And, one URL only need to once generate the process of token name, and the follow-up token name that can directly use generation accesses webpage, easy to operate.
Fig. 3 is according to a kind of method flow diagram generating token name corresponding for webpage URL shown in an exemplary embodiment, such as figure Shown in 3, step S110 may comprise steps of:
In step S111, preset algorithm is utilized to analyze the character that a described URL is comprised, and from a described URL institute The character comprised extracts key word.
Described preset algorithm can be segmentation methods, and the character included in URL is all English character and sign character, therefore, The segmentation methods used is English string segmentation algorithm, such as, and Porter stemmer participle instrument.
Wherein, the handling process of the English string segmentation algorithm that disclosure embodiment is used is as follows: identify the character that URL is comprised, And the character string comprised by URL according to symbol etc. is divided into character group, then, from each character group, identify English word, The character string in URL is divided according to the English word identified.
Such as, the webpage URL of user's input is " www.tinyletter.com ", utilizes segmentation methods to analyze this URL and comprises " www ", " tiny ", " letter " and " com ", then, filtering out " tiny " and " letter " is key word, and filters out The non-key word such as " www " and " com ".
In step S112, generate and a described alternate labels name corresponding for URL according to described key word.
Wherein, this alternate labels name includes that one or more token name selects for user.
Generate in alternate labels name, such as " tinyletter ", " tiny ", " letter " and key word according to the key word extracted The alternate labels names such as any monogram (such as, initial combination " tl " of two key words).
In step S113, according to the selection instruction of user's input, from described alternate labels name, determine described first token name.
The method of the token name corresponding for generation webpage URL that the present embodiment provides, utilizes segmentation methods analysis user to input URL, and therefrom extract key word, generate alternate labels name according to key word and select for user, finally user selected is standby Token name is selected to be set as described token name corresponding for webpage URL.It follows that the method can automatically analyze user's input URL also generates corresponding token name, and the URL of the token name generated and this webpage has certain relatedness, and user is convenient Memory.
Fig. 4 is the method flow diagram according to the another kind of token name corresponding for generation webpage URL shown in an exemplary embodiment, as Shown in Fig. 4, the method can include step S114~S115:
In step S114, show the display interface that first corresponding for a URL token name is set, described display circle to user Face includes at least token name input frame.
When the URL of user's input does not has the token name of correspondence, the display interface that token name is set can be shown to user, such as figure Shown in 5, as a example by smart mobile phone 10, the display screen display at smart mobile phone 10 arranges the display interface 100 of token name can To include the URL display box 101 that user inputs, such as, " www.tinyletter.com ", also include token name input frame 102, User can input the character token name as this URL in token name input frame 102.User can input Chinese character, English words The character such as mother, numeral, symbol is as token name.
In step sl 15, obtain the character that user inputs in described token name input frame, and determine that described character is for described Oneth the first corresponding for URL token name.
The method of token name corresponding for generation webpage URL that the present embodiment provides, when detecting that URL that user inputs is not When there is corresponding token name, user inputs character can be pointed out as the token name of this URL, user can be according to this The feature of URL arranges corresponding token name, for example, it is possible to input the Chinese name of this website as token name, user setup Token name relatively flexibly and is conveniently remembered.
Corresponding to above-mentioned Web access method embodiment, the disclosure additionally provides web page access device embodiment.
Fig. 6 is the block diagram according to a kind of web page access device shown in an exemplary embodiment, and this device is applied to intelligent terminal's In browser client, described intelligent terminal can include personal computer, smart mobile phone, panel computer etc..Such as Fig. 6 Shown in, described device can include generation module 110, acquisition module 120 and redirect module 130.
Generation module 110 is configured to, and generates corresponding with a described URL the according to the first uniform resource position mark URL One token name.
A described URL includes that the URL that one or more page is corresponding, described first token name include one or more labelling Name, the number of characters that the number of characters that described first token name is comprised is comprised less than a URL, and described first token name are wrapped The character that the character contained is comprised with a described URL is incomplete same.
Acquisition module 120 is configured to, when detecting what the second token name that user inputs and described generation module 110 were generated During the first token name coupling, obtain twoth URL corresponding with described second token name.
Redirect module 130 to be configured to, the 2nd URL obtained according to described acquisition module 120, jump to described second The page that URL is corresponding.
The web page access device that the present embodiment provides, generates first token name corresponding for URL with the oneth according to a URL, Wherein, a URL includes that the URL of one or more page, the first token name include one or more token name;First mark The number of characters that comprised number of characters of signing is comprised less than a URL, and the character and corresponding first that the first token name comprises The character that URL comprises is incomplete same.When the second token name that user inputs and the first token name coupling being detected, obtain with The 2nd URL that this second token name is corresponding, then, the page jump of browser is to the 2nd page corresponding for URL.By Foregoing understands, and user only need to input simple token name in the address field of browser, can directly access this token name pair The webpage answered, it is not necessary to the complete URL of input webpage, without searching the bookmark that webpage is corresponding from a large amount of bookmarks, operation letter Single, and, input marking name required time is shorter, shortens user and inputs the time of URL, improves user and accesses the speed of webpage.
In the disclosure one exemplary embodiment, browser client can automatically generate correspondence according to a URL of user's input Token name.As it is shown in fig. 7, described generation module 110 includes extracting submodule 111, generating submodule 112 and determine submodule Block 113;
Extract submodule 111 to be configured to, utilize preset algorithm to analyze the character that comprised of a described URL, and from described the The character that one URL is comprised extracts key word.
Such as, the webpage URL of user's input is " www.tinyletter.com ", utilizes this URL institute of English string segmentation Algorithm Analysis The character comprised, extracts " www ", " tiny ", " letter ", " com " four groups of words, then, filters out " tiny " and " letter " For key word.
Generate submodule 112 to be configured to, generate and described first according to the key word that described extraction submodule 111 is extracted Alternate labels name corresponding for URL.
Alternate labels name, such as " tinyletter ", " tiny ", " letter " and monogram (example is generated according to the key word extracted As, " tl ") etc. alternate labels name.
Determine that submodule 113 is configured to, according to the selection instruction of user's input, generated from described generation submodule 112 Alternate labels name determines described first token name.User can choose and a URL according to demand from four alternate labels names The first corresponding token name.
The generation module that the present embodiment provides, utilizes the URL that segmentation methods analysis user inputs, and therefrom extracts key word, Generate alternate labels name according to key word to select for user, finally the alternate labels name that user selects is set as described webpage URL Corresponding token name.It follows that the method can automatically analyze the URL of user's input and generate corresponding token name, and The token name generated has certain relatedness with the URL of this webpage, facilitates user to remember.
In disclosure another exemplary embodiment, user can arbitrarily arrange a token name corresponding for URL, as shown in Figure 8, Described generation module 110 includes showing submodule 114 and obtaining submodule 115.
Show that submodule 114 is configured to, show the display interface that first corresponding for a URL token name is set, institute to user State display interface including at least token name input frame.
When the URL of user's input does not exist the token name of correspondence, the display interface that token name is set can be shown to user, should Display interface include at least token name input frame, user can input character in token name input frame, user can input Chinese character, The characters such as English alphabet, numeral, symbol.
Obtain submodule 115 to be configured to, obtain user defeated in the token name input frame that described displaying submodule 114 is shown The character entered, and determine that described character is and described first corresponding for a URL token name.
The generation module that the present embodiment provides, when the token name that the URL that user inputs does not exists correspondence being detected, permissible Prompting user inputs character is as the token name of this URL, and user can arrange corresponding labelling according to the feature of this URL Name, for example, it is possible to input the Chinese name of this website as token name, facilitates user to remember.
Fig. 9 is the block diagram according to the another kind of web page access device shown in an exemplary embodiment, and this device is being implemented shown in Fig. 6 Judge module 210 can also be included on the basis of example;
Judge module 210 is configured to, it is judged that whether the number of characters that a URL of user's input is comprised is more than predetermined threshold value; When the number of characters that a described URL is comprised is more than described predetermined threshold value, described generation module 110 is made to perform according to first URL generates the step with described first corresponding for a URL token name.
In disclosure another exemplary embodiment, this judge module 210 is judging what the URL that user inputs was comprised Number of characters, more than after predetermined threshold value, continues to judge the first token name whether a URL exists correspondence, when determining described first After URL does not exist the first token name of correspondence, then generated corresponding with a URL by generation module 110 according to a URL First token name.
The web page access device that the present embodiment provides, when detecting that URL that user inputs is more than predetermined threshold value and this URL not After there is corresponding token name, just generate the token name corresponding with this URL.For the fewer URL of some number of characters without Generating corresponding token name, user also can input URL easily and conduct interviews.And, a URL only need to once generate The process of token name, the follow-up token name that can directly use generation accesses webpage, easy to operate.
Figure 10 is the block diagram according to the another kind of web page access device shown in an exemplary embodiment, and this device is being implemented shown in Fig. 6 Synchronization module 310 is also included on the basis of example;
This synchronization module 310 is configured to, between the first token name generated a URL and described generation module 110 Mapping relations are synchronized in Cloud Server.Thus facilitate set by user uses on the browser client of different intelligent terminal Token name accesses webpage.
The web page access device that the present embodiment provides, is synchronized to Cloud Server by the URL generated with the first corresponding token name In, after user changes intelligent terminal, can synchronize from Cloud Server the URL that set and the first token name it Between mapping relations, also be able to after the intelligent terminal the most more renewed use token name directly access webpage, easy to operate.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment is described in detail, explanation will be not set forth in detail herein.
Figure 11 is the block diagram according to a kind of device for web page access shown in an exemplary embodiment.Such as, device 800 Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, doctor Treatment equipment, body-building equipment, personal digital assistant etc..
As shown in figure 11, device 800 can include following one or more assembly: processes assembly 802, memorizer 804, Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor Assembly 814, and communications component 816.
Process assembly 802 and generally control the integrated operation of device 800, such as with display, call, data communication, The operation that camera operation and record operation are associated.Process assembly 802 and can include that one or more processor 820 is held Row instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or many Individual module, it is simple to process between assembly 802 and other assemblies is mutual.Such as, process assembly 802 and can include many matchmakers Module, with facilitate multimedia groupware 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation at device 800.Showing of these data Example include on device 800 operation any application program or the instruction of method, contact data, telephone book data, Message, picture, video etc..Memorizer 804 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only Memorizer (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 808 is included between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more Touch sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch Or the border of sliding action, but also detect the persistent period relevant to described touch or slide and pressure.At some In embodiment, multimedia groupware 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 is in operation Pattern, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multimedia number of outside According to.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optics change Burnt ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, Mike Wind is configured to receive external audio signal.The audio signal received can be further stored at memorizer 804 or warp Sent by communications component 816.In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting sound Frequently signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, startup are pressed Button and locking press button.
Sensor cluster 814 includes one or more sensor, for providing the state estimation of various aspects for device 800. Such as, what sensor cluster 814 can detect device 800 opens/closed mode, the relative localization of assembly, such as institute Stating display and keypad that assembly is device 800, sensor cluster 814 can also detect device 800 or device 800 The position change of one assembly, the presence or absence that user contacts with device 800, device 800 orientation or acceleration/deceleration Variations in temperature with device 800.Sensor cluster 814 can include proximity transducer, is configured to the most any Physical contact time detection near the existence of object.Sensor cluster 814 can also include optical sensor, such as CMOS or Ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 is all right Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between device 800 and other equipment.Device 800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one In example embodiment, communications component 816 receives the broadcast singal or wide from external broadcasting management system via broadcast channel Broadcast relevant information.In one exemplary embodiment, described communications component 816 also includes near-field communication (NFC) module, To promote junction service.Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) Technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, and are used for performing above-mentioned side Method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction is additionally provided, such as Including the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of device 800.Example As, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the processor of mobile terminal During execution so that terminal unit is able to carry out a kind of Web access method, and described method includes:
Generate and described first corresponding for a URL token name, a described URL according to the first uniform resource position mark URL Including the URL that one or more pages are corresponding, described first token name includes one or more token name, and described first labelling The character that name is comprised is incomplete same with the character that a described URL is comprised;
When the second token name detecting that user inputs mates with described first token name, obtain corresponding with described second token name The 2nd URL, described 2nd URL be contained in a described URL;
According to described 2nd URL, jump to described 2nd page corresponding for URL.
In the disclosure one exemplary embodiment, described according to URL generation and described first corresponding for a URL labelling Name includes:
Utilize preset algorithm to analyze the character that a described URL is comprised, and carry from the character that a described URL is comprised Take out key word;
Generate and a described alternate labels name corresponding for URL according to described key word;
Selection instruction according to user's input, determines described first token name from described alternate labels name.
In the disclosure one exemplary embodiment, described according to URL generation and described first corresponding for a URL labelling Name includes:
Show the display interface arranging first corresponding for a URL token name to user, described display interface includes at least token name Input frame;
Obtain the character that user inputs in described token name input frame, and determine that described character is corresponding with a described URL First token name.
In the disclosure one exemplary embodiment, described method also includes:
Judge whether the number of characters that the URL that user inputs is comprised is more than predetermined threshold value;
When the number of characters that a described URL is comprised is more than described predetermined threshold value, perform to generate with described according to a URL The step of the oneth the first corresponding for URL token name.
In the disclosure one exemplary embodiment, described method also includes:
Mapping relations between oneth URL and the first token name are synchronized in Cloud Server.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other of the present invention Embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes Or adaptations follow the present invention general principle and include the disclosure undocumented in the art known often Know or conventional techniques means.Description and embodiments is considered only as exemplary, true scope and spirit of the invention by under The claim in face is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and Various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (11)

1. a Web access method, it is characterised in that including:
Generate and described first corresponding for a URL token name, a described URL according to the first uniform resource position mark URL Including the URL that one or more pages are corresponding, described first token name includes one or more token name, and described first labelling The character that name is comprised is incomplete same with the character that a described URL is comprised;
When the second token name detecting that user inputs mates with described first token name, obtain corresponding with described second token name The 2nd URL, described 2nd URL be contained in a described URL;
According to described 2nd URL, jump to described 2nd page corresponding for URL.
Method the most according to claim 1, it is characterised in that described according to a URL generation and a described URL The first corresponding token name includes:
Utilize preset algorithm to analyze the character that a described URL is comprised, and carry from the character that a described URL is comprised Take out key word;
Generate and a described alternate labels name corresponding for URL according to described key word;
Selection instruction according to user's input, determines described first token name from described alternate labels name.
Method the most according to claim 1, it is characterised in that described according to a URL generation and a described URL The first corresponding token name includes:
Show the display interface arranging first corresponding for a URL token name to user, described display interface includes at least token name Input frame;
Obtain the character that user inputs in described token name input frame, and determine that described character is corresponding with a described URL First token name.
4. according to the method described in any one of claim 1-3, it is characterised in that described method also includes:
Judge whether the number of characters that the URL that user inputs is comprised is more than predetermined threshold value;
When the number of characters that a described URL is comprised is more than described predetermined threshold value, perform to generate with described according to a URL The step of the oneth the first corresponding for URL token name.
5. according to the method described in any one of claim 1-3, it is characterised in that described method also includes:
Mapping relations between oneth URL and the first token name are synchronized in Cloud Server.
6. a web page access device, it is characterised in that including:
Generation module, for generating and described first corresponding for a URL token name according to the first uniform resource position mark URL, A described URL includes that the URL that one or more page is corresponding, described first token name include one or more token name, And character that described first token name is comprised is incomplete same with the character that a described URL is comprised;
Acquisition module, for when the second token name detecting that user inputs mates with described first token name, obtains with described The 2nd URL that second token name is corresponding, described 2nd URL are contained in a described URL;
Redirect module, for according to described 2nd URL, jump to described 2nd page corresponding for URL.
Device the most according to claim 6, it is characterised in that described generation module, including:
Extract submodule, for utilizing preset algorithm to analyze the character that a described URL is comprised, and from a described URL The character comprised extracts key word;
Generate submodule, for generating and a described alternate labels name corresponding for URL according to described key word;
Determine submodule, for the selection instruction according to user's input, from described alternate labels name, determine described first token name.
Device the most according to claim 6, it is characterised in that described generation module, including:
Show submodule, for showing the display interface arranging first corresponding for a URL token name, described display circle to user Face includes at least token name input frame;
Obtain submodule, for obtaining the character that user inputs in described token name input frame, and determine described character for institute State first corresponding for a URL token name.
9. according to any one described device of claim 6-8, it is characterised in that described device also includes:
Judge module, for judging whether the number of characters that the URL that user inputs is comprised is more than predetermined threshold value;When described When the number of characters that one URL is comprised is more than described predetermined threshold value, makes described generation module perform according to a URL and generate and institute State the step of first corresponding for a URL token name.
10. according to any one described device of claim 6-8, it is characterised in that described device also includes:
Synchronization module, for being synchronized to the mapping relations between a URL and the first token name in Cloud Server.
11. 1 kinds of terminal units, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Generate and described first corresponding for a URL token name, a described URL according to the first uniform resource position mark URL Including the URL that one or more pages are corresponding, described first token name includes one or more token name, and described first labelling The character that name is comprised is incomplete same with the character that a described URL is comprised;
When the second token name detecting that user inputs mates with described first token name, obtain corresponding with described second token name The 2nd URL, described 2nd URL be contained in a described URL;
According to described 2nd URL, jump to described 2nd page corresponding for URL.
CN201510366885.1A 2015-06-29 2015-06-29 Webpage access method and device Pending CN106326260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510366885.1A CN106326260A (en) 2015-06-29 2015-06-29 Webpage access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510366885.1A CN106326260A (en) 2015-06-29 2015-06-29 Webpage access method and device

Publications (1)

Publication Number Publication Date
CN106326260A true CN106326260A (en) 2017-01-11

Family

ID=57722057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510366885.1A Pending CN106326260A (en) 2015-06-29 2015-06-29 Webpage access method and device

Country Status (1)

Country Link
CN (1) CN106326260A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423324A (en) * 2017-03-31 2017-12-01 北京小米移动软件有限公司 Access method, device and the equipment of webpage
CN108052678A (en) * 2018-01-02 2018-05-18 联想(北京)有限公司 Data processing method and device
CN108881501A (en) * 2017-05-12 2018-11-23 阿里巴巴集团控股有限公司 A kind of method and device realizing web application domain name and jumping
US20190332968A1 (en) * 2018-04-29 2019-10-31 Microsoft Technology Licensing, Llc. Code completion for languages with hierarchical structures
CN112416936A (en) * 2020-11-22 2021-02-26 西安热工研究院有限公司 DCS background multi-node cooperative configuration mark name verification method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423324A (en) * 2017-03-31 2017-12-01 北京小米移动软件有限公司 Access method, device and the equipment of webpage
CN108881501A (en) * 2017-05-12 2018-11-23 阿里巴巴集团控股有限公司 A kind of method and device realizing web application domain name and jumping
CN108881501B (en) * 2017-05-12 2021-07-06 阿里巴巴集团控股有限公司 Method and device for realizing webpage application domain name skip
CN108052678A (en) * 2018-01-02 2018-05-18 联想(北京)有限公司 Data processing method and device
US20190332968A1 (en) * 2018-04-29 2019-10-31 Microsoft Technology Licensing, Llc. Code completion for languages with hierarchical structures
US11645576B2 (en) * 2018-04-29 2023-05-09 Microsoft Technology Licensing, Llc. Code completion for languages with hierarchical structures
CN112416936A (en) * 2020-11-22 2021-02-26 西安热工研究院有限公司 DCS background multi-node cooperative configuration mark name verification method
CN112416936B (en) * 2020-11-22 2023-01-03 西安热工研究院有限公司 DCS background multi-node cooperative configuration mark name verification method

Similar Documents

Publication Publication Date Title
CN104270404B (en) A kind of login method and device based on terminal iidentification
CN104021350A (en) Privacy-information hiding method and device
CN110175223A (en) A kind of method and device that problem of implementation generates
CN105094760A (en) Picture marking method and device
CN111553372B (en) Training image recognition network, image recognition searching method and related device
CN116166843B (en) Text video cross-modal retrieval method and device based on fine granularity perception
CN103914523A (en) Page rollback controlling method and page rollback controlling device
CN105095427A (en) Search recommendation method and device
CN110399548A (en) A kind of search processing method, device, electronic equipment and storage medium
CN103886025A (en) Method and device for displaying pictures in webpage
CN104035995A (en) Method and device for generating group tags
CN106326260A (en) Webpage access method and device
CN107977431A (en) Image processing method, device, computer device, and computer-readable storage medium
CN105447109A (en) Key word searching method and apparatus
CN108877334B (en) Voice question searching method and electronic equipment
CN105550643A (en) Medical term recognition method and device
CN105677392A (en) Method and apparatus for recommending applications
CN104331503A (en) Information push method and device
CN104461348A (en) Information selection method and device
CN105335198A (en) Font addition method and device
CN105630749A (en) Extraction method and device of digital information
CN105160236B (en) A kind of method and apparatus of input validation code
CN110147817B (en) Training data set generation method and device
CN104182473A (en) Setting option display method and device
CN104216969A (en) Reading marking method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111

WD01 Invention patent application deemed withdrawn after publication