CN104899269B - Method and device for accessing website link - Google Patents
Method and device for accessing website link Download PDFInfo
- Publication number
- CN104899269B CN104899269B CN201510275126.4A CN201510275126A CN104899269B CN 104899269 B CN104899269 B CN 104899269B CN 201510275126 A CN201510275126 A CN 201510275126A CN 104899269 B CN104899269 B CN 104899269B
- Authority
- CN
- China
- Prior art keywords
- suspended window
- website links
- user
- reproducting content
- pop
- 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.)
- Active
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/9558—Details of hyperlinks; Management of linked annotations
Abstract
The embodiment of the invention discloses a method and a device for accessing a website link. The method comprises the following steps: identifying whether the website link exists in the user copied content, if so, extracting the website link in the user copied content, and popping up a top-placed floating window, wherein the floating window comprises a website link control; and receiving information of triggering the website link control in the floating window by the user, opening the browser and displaying the webpage mapped by the website link in the extracted user copy content in a browser display interface. The invention can simplify the process of accessing the website link and reduce the time required by the access.
Description
Technical field
The present invention relates to Computer Applied Technology more particularly to a kind of method and devices for accessing website links.
Background technique
In browser computer for show web page server or file system hypertext markup language (HTML,
Hyper Text Mark-up Language) file content, and the html file for being able to use family and display interact one
Kind software, wherein html file content is shown in a manner of the webpage that website links map, including text, image and other moneys
Letter, the webpage shown by browser, user can browse html file content rapidly, easily, obtain information needed.
At present in a computer, the webpage that website links mapping is shown by browser, needs the link that picks URL first
And replicate, then, start browser, then, imports website links by pasting in the browser address bar of starting, finally,
It is accessed by clicking, the webpage of website links mapping is opened in browser display interface.That is, in access website links
When the webpage of mapping, need to be implemented including replicating, opening browser, stickup and click four operating processes of access, so that visiting
The time for asking that the process of website links is relatively complicated, access is required is longer, reduces the computer application business experience of user.
For the process of simplified access website links, a kind of improved technology scheme that the prior art proposes is to pick URL
It links and replicates, and after starting browser, whether setting browser automatically prompting user needs in direct Access Clipboard
Website links are opened in browser display interface if user clicks " grant access " control for including in prompt information
The webpage of website links mapping in clipbook.
From the foregoing, it can be seen that when accessing the webpage of website links mapping in improved technical solution, it is still necessary to which execution includes
Duplication opens browser and clicks three operating processes of grant access, so that the process of access website links is still more numerous
Time needed for trivial, access is still longer;Further, by setting browser pop up automatic prompt access, be easy by with
Ignore and prevent user from accessing webpage in time in family.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and device for accessing website links, simplified access network address chain
The process that connects, reduce access needed for the time.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
On the one hand, the embodiment of the present invention provides a kind of method for accessing website links, comprising:
It identifies and whether there is website links in user's reproducting content, if it is, extracting the network address in user's reproducting content
Link;
The suspended window of top set is popped up, the suspended window includes website links control;
The information that user triggers website links control described in suspended window is received, browser is opened and is shown in browser
The website links mapped webpage in user's reproducting content of the extraction is shown in interface.
The method of access website links provided in an embodiment of the present invention, after extracting the website links in reproducting content, bullet
The suspended window of top set out, the suspended window include website links control;Network address described in suspended window is triggered receiving user
After the information for linking control, opens browser and shown in browser display interface in user's reproducting content of the extraction
Website links mapped webpage.In this way, only need to be implemented duplication and triggering two step process of website links control can be clear
It lookes in device and accesses website links, the time needed for being effectively simplified the processes of access website links, access is short.
On the other hand, the embodiment of the present invention provide it is a kind of access website links device, comprising: suspended window pop-up module with
And display module, wherein
Suspended window pop-up module whether there is website links for identification in user's reproducting content, use if it is, extracting
Website links in the reproducting content of family, pop up the suspended window of top set, and the suspended window includes website links control;
Display module, for opening clear after the information for receiving website links control described in user's triggering suspended window
It lookes at and device and shows the website links mapped webpage in user's reproducting content of the extraction in browser display interface.
The device of access website links provided in an embodiment of the present invention, suspended window pop-up module is in identification user's reproducting content
In whether there is website links, if it is, extract user's reproducting content in website links after, pop up the suspended window of top set,
The suspended window includes website links control;Display module is receiving website links control described in user's triggering suspended window
Information after, open browser simultaneously the website links in user's reproducting content of the extraction are shown in browser display interface
Mapped webpage.In this way, only needing to be implemented duplication and triggering two step process of website links control can visit in a browser
Ask website links, the time needed for being effectively simplified the process for accessing website links, access is short.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention accesses website links;
Fig. 2 is the method idiographic flow schematic diagram that the embodiment of the present invention accesses website links;
Fig. 3 is the apparatus structure schematic diagram that the embodiment of the present invention accesses website links.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention accesses website links.Referring to Fig. 1, this method comprises:
Step 101, identifying whether there is website links in user's reproducting content, if it is, extracting user's reproducting content
In website links, pop up the suspended window of top set, the suspended window includes website links control;
In this step, reproducting content can be only include website links content, be also possible to comprising website links and
The content of non-website links.For only including the content of website links, the website links for including are to extract reproducting content to obtain
Website links the content comprising website links and non-website links is needed to carry out some technical treatments to obtain it
In include website links.In this way, user is in the webpage of browsing, due to including many in addition to website links in webpage
Information may not need and be replicated after deliberately picking URL link, only need to include network address chain in the reproducting content of selection
Connect so as to access website links more quick and easy by user, so as to it is effectively save pick URL link required when
Between.
In practical application, website links control can be " quickly opening " control.
As an alternative embodiment, include: with the presence or absence of website links in identification user's reproducting content
A1, monitoring system shear plate obtain the reproducting content that system shear plate updates;
In this step, by monitoring system shear plate, available third-party application or user copy to answering for shear plate
Content processed.
The step specifically includes:
A11, the ClipboardManager Object Management group class provided using android system, for this
ClipboardManager Object Management group class registers addPrimaryClipChangedListener, generates shear plate listener;
A12, the system shear plate of monitoring have the reproducting content of update, readjustment shear plate listener
OnPrimaryClipChanged method obtains the content of text of duplication from ClipboardManager Object Management group class.
In the embodiment of the present invention, the ClipboardManager Object Management group class provided using android system is such
Such a shear plate listener of addPrimaryClipChangedListener is registered, for becoming in system shear plate
When change, the onPrimaryClipChanged method of shear plate listener is adjusted back.Become in this way, working as content in system shear plate
When change, the available reproducting content from ClipboardManager Object Management group class.
A2 carries out character analysis to the reproducting content of acquisition, extracts the English character string in reproducting content;
In this step, since reproducting content not only includes Chinese and English, also comprising some punctuation marks etc., divided
Analysis is to determine whether for website links.
Character analysis mainly analyzes the Chinese, English, punctuation mark of reproducting content, is marked using English and English
Point only accounts for a byte feature, and Chinese, Chinese punctuation mark and English are distinguished with english punctuation mark, obtained comprising English
With the English character string of english punctuation mark, in order to it is subsequent English character string therein is judged using regular expression be
It is no to match with website links format.
A3 judges whether matching web site links format to the English character string extracted using regular expression, if it does, will
The English character string of extraction is as website links.
In this step, using regular expression, the English character string of extraction is judged, that is, is judged whether and network address chain
It connects format to match, if it does, then thinking that the English character string extracted is a website links, indicates that user needs to access the net
The webpage of location link mapping.
It is well-known technique about regular expression and website links format, detailed description is omitted here in the embodiment of the present invention.
In practical application, this method be can further include:
If the English character string extracted is not matched that with website links format, terminate process.
Certainly, as another alternative embodiment, whether can also judge otherwise in reproducting content comprising network address
Link, for example, can by js script, judge the corresponding document dbject model of reproducting content (html document) (DOM,
DocumentObject Model) tree in the presence or absence of including website links node, if it is present determine reproducting content in
It include website links.
As an alternative embodiment, the suspended window for popping up top set includes:
Suspended window is added in window management class (WindowManager) by B1;
B2, setting suspended window window type are on all applications.
In this step, by setting window type (Window type)=2002,2002, indicate on all applications,
Under status bar.
Include website links control in the suspended window of top set in the embodiment of the present invention, indicates to trigger the website links control
After part, the webpage of website links mapping can be opened in a browser.
Also include closing control in the suspended window of top set as another alternative embodiment, indicates to trigger the closing control
Afterwards, the suspended window of top set disappears (closing).
In practical application, it can also be arranged in the suspended window of top set, by clicking suspended window exterior domain, suspended window disappears
Attribute, i.e. click suspended window lateral area, closing suspended window and does not influence to click event outside suspended window region.Specifically,
Window flags=WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL is set |
WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH。
In the embodiment of the present invention, since the possible default setting of suspended window pop-up permission of partial computer type is to close,
In this way, after extracting the website links in reproducting content, then can not automatic spring suspended window, need user be manually operated open it is outstanding
Suspended window could be popped up after floating window pop-up permission.Thus, as yet another alternative embodiment, extracting the network address chain in reproducting content
After connecing, before the suspended window for popping up top set, this method be can further include:
Judge whether the suspended window pop-up permission of browser opens using reflection technology, if the suspended window pops up permission
To open, the process of the suspended window of the pop-up top set is executed, if suspended window pop-up permission is to close, display pop-up is mentioned
Information of waking up is so that user opens suspended window pop-up priority assignation.
In this step, judge whether the suspended window pop-up permission of browser opens as well-known technique using reflection technology,
This omits detailed description.
As an alternative embodiment, pop-up prompting message is shown so that user wraps suspended window pop-up priority assignation to open
It includes:
In the pop-up prompting message of display, dialog control is set, and permission is arranged in the dialog control of setting
Control;
The information that user triggers permission control is received, jumps to the suspended window pop-up priority assignation page so that user will suspend
It is to open that window, which pops up priority assignation,.
In this step, by monitoring the onTouch event of View, when user's triggering (for example, click) dialog control
(Dialog) in after permission control, the suspended window pop-up priority assignation page is jumped to, user pops up priority assignation page in suspended window
It is the process of the suspended window of that is, executable pop-up top set after opening that suspended window, which is popped up priority assignation, in face.
In the embodiment of the present invention, permission control can be " opening suspended window pop-up permission " control.
Step 102, the information that user triggers website links control described in suspended window is received, opens browser and clear
The website links mapped webpage shown in user's reproducting content of the extraction look in device display interface.
In this step, if user triggers website links control after suspended window pop-up, browser has been adjusted using calling is external
Mode, website links are passed into browser, i.e. direct website links of access duplication in a browser.
As previously mentioned, if also including to close control and click suspended window exterior domain suspended window in the suspended window of top set
The attribute of disappearance, this method can further include:
It receives user to trigger the information of closing control described in suspended window or click the information of suspended window exterior domain, close
The suspended window of the top set.
As another alternative embodiment, the webpage that the website links mapping is opened in browser display interface includes:
C1, is stored in advance multiple website links and in browser starting, from loading from the background and store the multiple network address
Link the webpage mapped respectively;
In this step, can store website links by following two modes: a kind of mode is that network address chain is artificially arranged in user
It connects, i.e., the website links often accessed user store, for example, the website links that user is often accessed are added to collection
In folder;Another way is automatic acquisition website links, i.e., when user browses webpage, using the access address of webpage as network address chain
Tap into capable storage.
In the embodiment of the present invention, after browser unlatching, if computer is in networking state, browser passes through backstage side
Formula obtains multiple website links of storage, and accesses one by one according to website links, then, will access what website links obtained
Webpage is stored respectively, and establishes the mapping relations of corresponding website links and webpage.In this way, in subsequent applications, if
The time that browser loads the webpage can be effectively reduced in the webpage that user needs the website links of load store to map.
Whether C2 inquires website links in user's reproducting content of extraction one of with pre-stored multiple website links
Match, if so, the website links mapping that the website links in user's reproducting content with extraction of load store match
Webpage, otherwise, load in user's reproducting content of extraction website links mapping webpage.
In this step, it is assumed that the website links of extraction are baidu.com, if including in multiple website links of storage
One website links be www.baidu.com, then can determine extraction website links and pre-stored multiple website links it
One matches, the webpage for calling website links that are stored, matching with the website links extracted to be accessed will be deposited from the background
The webpage of storage is placed in current browser interface and is shown;If it does not match, request access to the website links of extraction, according to obtaining
The web page contents taken generate webpage and show.
In practical application, after the webpage of the website links mapping in user's reproducting content that load is extracted, this method is also
It may further include:
Website links in user's reproducting content of the extraction are stored.
In this step, webpage is obtained according to the website links in user's reproducting content of extraction, illustrate preparatory not stored have
Website links in user's reproducting content of the extraction, in this way, the website links in user's reproducting content of the extraction are carried out
Storage, when the webpage for accessing the website links mapping family next time can be used, access speed faster, promotes customer service experience.
Fig. 2 is the method idiographic flow schematic diagram that the embodiment of the present invention accesses website links.Referring to fig. 2, it is with QQ chat
Example, this method comprises:
Step 201, judge whether the suspended window pop-up permission of browser opens using reflection technology, if suspended window pops up
Permission is to open, and executes step 206, if suspended window pop-up permission is to close, executes step 202;
Step 202, display pop-up prompting message is provided with dialog control in the pop-up prompting message of display,
And " opening suspended window pop-up permission " control is provided in the dialog control of setting;
Step 203, " opening suspended window pop-up permission " control that judges whether user triggers, if so, step 204 is executed,
Otherwise, step 205 is executed;
Step 204, the information that control " is opened suspended window and pop up permission " in user's triggering is received, suspended window pop-up power is jumped to
The limit setting page is so that user opens suspended window pop-up priority assignation;
Step 205, suspended window pop-up permission is to close, and terminates process;
Step 206, monitoring system shear plate;
Step 207, the reproducting content that system shear plate has update is listened to;
In this step, in using QQ chat, website links are received or issue, the website links that will receive or issue
In copying to Clipboard, it is desirable to check in a browser.
Step 208, judge whether in the reproducting content updated include website links, if not including has, execute step
209, if including, execute step 210;
It include website links in this step, in reproducting content include: reproducting content is website links and reproducting content
In contain network address.
In the embodiment of the present invention, reproducting content is baidu.com, then may determine that it is website links.
Step 209, suspended window is not popped up, process is terminated;
Step 210, the suspended window of top set is popped up;
It in this step, in the suspended window of pop-up, include " quickly opening " control and closing control.
It should be noted that in practical application, step 201 to step 205 can also after step 208, step 210 it
Preceding execution.
Step 211, operation of the user to the suspended window of pop-up is obtained, if user's operation is triggering " closing " control or point
The position except suspended window is hit, step 212 is executed, if user's operation is that control " is quickly opened " in triggering, executes step 213;
Step 212, suspended window is closed;
Step 213, browser has been adjusted, the website links of duplication are passed into browser;
Step 214, browser directly opens the website links of duplication.
In this step, control " is quickly opened " by triggering, has adjusted browser, and directly open new window, access duplication
Website links in content: baidu.com.
From the foregoing, it can be seen that the method for the access website links of the embodiment of the present invention, is extracting the network address chain in reproducting content
After connecing, the suspended window of top set is popped up, the suspended window includes website links control;Institute in suspended window is triggered receiving user
After the information for stating website links control, the webpage of the website links mapping is opened in browser display interface.In this way, passing through
Reproducting content in monitoring system shear plate and the judgement to website links are popped up suspended window, and are triggered and suspended using user
The technology that window tune plays browser realizes website links access, so that for user's operation angle, it is only necessary to execute two step processes
(duplication and click website links control) can access website links in a browser, be effectively simplified duplication network address to browsing
The step of opening in device, simple and efficient to handle, the process for accessing website links is simple, the time needed for access is short;Further,
By the way that the suspended window of top set is arranged, easily causes user and pay attention to and user is allowed to access webpage in time.
Fig. 3 is the apparatus structure schematic diagram that the embodiment of the present invention accesses website links.Referring to Fig. 3, which includes: to suspend
Window pop-up module 301 and display module 302, wherein
Suspended window pop-up module 301 whether there is website links, if it is, mentioning for identification in user's reproducting content
The website links in the reproducting content of family are taken, the suspended window of top set is popped up, the suspended window includes website links control;
Display module 302, for opening after the information for receiving website links control described in user's triggering suspended window
Browser simultaneously shows the website links mapped webpage in user's reproducting content of the extraction in browser display interface.
In the embodiment of the present invention, reproducting content can be content only comprising website links, be also possible to comprising network address chain
It connects and the content of non-website links.
As another alternative embodiment, which be can further include:
Suspended window closedown module 303, for receiving the information or point of closing control described in user's triggering suspended window
After hitting the information of suspended window exterior domain, the suspended window of the top set is closed.
As an alternative embodiment, suspended window pop-up module 301 includes: monitoring unit, analytical unit, format match unit
And suspension window unit (not shown), wherein
Monitoring unit is used for monitoring system shear plate, obtains the reproducting content that system shear plate updates;
In the embodiment of the present invention, as an alternative embodiment, monitoring unit includes: registration subunit and time tune list
Member, wherein
Registration subunit, the ClipboardManager Object Management group class for being provided using android system, for this
ClipboardManager Object Management group class registers addPrimaryClipChangedListener, generates shear plate listener;
Subelement is adjusted back, for adjusting back shear plate listener after the system shear plate of monitoring has the reproducting content of update
OnPrimaryClipChanged method, the content of text of duplication is obtained from ClipboardManager Object Management group class.
Analytical unit extracts the English character string in reproducting content for carrying out character analysis to the reproducting content of acquisition;
In the embodiment of the present invention, a byte feature is only accounted for using English and English punctuate, by Chinese, Chinese punctuation mark
It is distinguished with English with english punctuation mark, obtains the English character string comprising English with english punctuation mark.
Format match unit, using regular expression discriminatory analysis unit extract English character string whether matching web site chain
Format is connect, if it does, using the English character string of extraction as website links;
In the embodiment of the present invention, if the English character string extracted is not matched that with website links format, terminate process.
Suspension window unit, it is described outstanding for after format match units match has website links, popping up the suspended window of top set
Floating window includes website links control.
In the embodiment of the present invention, as an alternative embodiment, suspension window unit includes: query unit, suspended window addition
Subelement is arranged in unit and window type, wherein
Whether query unit has matched website links for inquiring in format match unit, if so, notice suspended window
Otherwise addition subelement is not dealt with;
Suspended window adds subelement, for after receiving notice, suspended window to be added in window management class;
Subelement is arranged in window type, is on all applications, and in shape for presetting suspended window window type
Under state column.
Preferably, suspension window unit can further include as another alternative embodiment: it is single to open permission judgement
Member and unlatching priority assignation subelement, wherein
Permission judgment sub-unit is opened, for receiving the notice of query unit, judges the outstanding of browser using reflection technology
Whether floating window pop-up permission opens, if suspended window pop-up permission is to open, notice suspended window adds subelement, if institute
Suspended window pop-up permission is stated to close, notice opens priority assignation subelement;
Priority assignation subelement is opened, for receiving from the notice for opening permission judgment sub-unit, display pop-up is reminded
Information is so that user opens suspended window pop-up priority assignation.
In the embodiment of the present invention, display pop-up prompting message is so that suspended window pop-up priority assignation is opened packet by user
It includes:
In the pop-up prompting message of display, dialog control is set, and permission is arranged in the dialog control of setting
Control;
The information that user triggers permission control is received, jumps to the suspended window pop-up priority assignation page so that user will suspend
It is to open that window, which pops up priority assignation,.
As an alternative embodiment, display module 302 includes: receiving unit, pre-add carrier unit, matching unit, calls list
Member and loading unit (not shown), wherein
Receiving unit, for receive user trigger suspended window described in website links control information after, notice
With unit;
Pre-add carrier unit, for multiple website links to be stored in advance and in browser starting, from loading and store from the background
The webpage that the multiple website links map respectively;
Matching unit, for after receiving notice, inquire extraction website links whether with pre-stored multiple nets
One of location link matches, if so, otherwise notice call unit notifies loading unit;
Call unit calls the website links in the reproducting content with extraction of storage to match for receiving notice
The webpage of website links mapping is simultaneously loaded into current browser interface;
Loading unit, the webpage for being mapped from the website links in the reproducting content that network side load is extracted.
As another alternative embodiment, display module 302 be can further include:
Updating unit, for load extract reproducting content in website links mapping webpage after, by the extraction
Reproducting content in website links store into pre-add carrier unit.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (RandomAccess
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (12)
1. a kind of method for accessing website links, which is characterized in that this method comprises:
It identifies and whether there is website links in user's reproducting content, if it is, extracting the website links in user's reproducting content;
The suspended window of top set is popped up, the suspended window includes website links control;The website links control includes " quickly beating
Open " control;
The information that user triggers website links control described in suspended window is received, opens browser and in browser display interface
Website links mapped webpage in user's reproducting content of the middle display extraction;
If in the suspended window of top set also including the attribute closed control and click the disappearance of suspended window exterior domain suspended window, institute
State method further include:
It receives user to trigger the information of closing control described in suspended window or click the information of suspended window exterior domain, described in closing
The suspended window of top set;
Include: with the presence or absence of website links in identification user's reproducting content
Monitoring system shear plate obtains the reproducting content that system shear plate updates;
Character analysis is carried out to the reproducting content of acquisition, extracts the English character string in reproducting content;The character analysis is pair
Chinese, English, the punctuation mark of reproducting content are analyzed, and only account for a byte feature using English and English punctuate, will in
Text, Chinese punctuation mark and English are distinguished with english punctuation mark, obtain the English words comprising English with english punctuation mark
Symbol string;
Judge whether matching web site links format to the English character string extracted using regular expression;
The monitoring system shear plate, obtaining the reproducting content that system shear plate updates includes:
The ClipboardManager Object Management group class provided using android system, for the ClipboardManager object
It manages class and registers addPrimaryClipChangedListener, generate shear plate listener;The system shear plate of monitoring has more
New reproducting content adjusts back the onPrimaryClipChanged method of shear plate listener, from ClipboardManager pairs
The content of text of duplication is obtained in orthicon reason class;
After extracting the website links in reproducting content, before the suspended window for popping up top set, this method be can further include:
Judge whether the suspended window pop-up permission of browser opens using reflection technology, if suspended window pop-up permission is to open
It opens, executes the process of the suspended window of the pop-up top set, if suspended window pop-up permission is to close, letter is reminded in display pop-up
It ceases so that it is to open that suspended window is popped up priority assignation by user;
It whether there is website links in identification user's reproducting content further include: by js script, judge that reproducting content is corresponding
Document object model tree in the presence or absence of including website links node, if it is present determine reproducting content in include
Website links.
2. the method according to claim 1, wherein the display pop-up prompting message so that user by suspended window
Pop-up priority assignation is to open to include:
In the pop-up prompting message of display, dialog control is set, and permission control is set in the dialog control of setting;
The information that user triggers permission control is received, jumps to the suspended window pop-up priority assignation page so that user is by suspended window bullet
Priority assignation is to open out.
3. the method according to claim 1, wherein the suspended window of the pop-up top set includes:
Suspended window is added in window management class;
It is on all applications that suspended window window type, which is arranged,.
4. the method according to claim 1, wherein the suspended window, which further includes, closes control and point
The attribute for hitting the disappearance of suspended window exterior domain suspended window, the method further includes:
It receives user to trigger the information of closing control described in suspended window or click the information of suspended window exterior domain, described in closing
The suspended window of top set.
5. method according to any one of claims 1 to 4, which is characterized in that described to be shown in browser display interface
Website links mapped webpage in user's reproducting content of the extraction includes:
Multiple website links are stored in advance and in browser starting, from loading from the background and store the multiple website links difference
The webpage of mapping;
Whether the website links inquired in the user's reproducting content extracted match with one of pre-stored multiple website links,
If so, the webpage for the website links mapping that the website links in user's reproducting content with extraction of load store match,
Otherwise, the webpage of the website links mapping in user's reproducting content of extraction is loaded.
6. according to the method described in claim 5, it is characterized in that, it is described load extract user's reproducting content in network address
After the webpage for linking mapping, the method further includes:
Website links in user's reproducting content of the extraction are stored.
7. a kind of device for accessing website links, which is characterized in that the device includes: suspended window pop-up module and display mould
Block, wherein
Suspended window pop-up module whether there is website links for identification in user's reproducting content, if it is, it is multiple to extract user
Website links in content processed, pop up the suspended window of top set, and the suspended window includes website links control;The website links
Control includes " quickly opening " control;
Display module, for opening browser after the information for receiving website links control described in user's triggering suspended window
And the website links mapped webpage in user's reproducting content of the extraction is shown in browser display interface;
If being also used in the suspended window of top set also includes to close control and click suspended window exterior domain suspended window to disappear
Attribute is also used to receive user and triggers the information of closing control described in suspended window or click the information of suspended window exterior domain,
Close the suspended window of the top set;
The suspended window pop-up module includes: monitoring unit, analytical unit, format match unit and suspension window unit, wherein
Monitoring unit is used for monitoring system shear plate, obtains the reproducting content that system shear plate updates, the monitoring system shearing
Plate, obtaining the reproducting content that system shear plate updates includes: the ClipboardManager object provided using android system
Class is managed, registers addPrimaryClipChangedListener for the ClipboardManager Object Management group class, generation is cut
Cutting plate listener;The system shear plate of monitoring has the reproducting content of update, readjustment shear plate listener
OnPrimaryClipChanged method obtains the content of text of duplication from ClipboardManager Object Management group class;
Analytical unit extracts the English character string in reproducting content for carrying out character analysis to the reproducting content of acquisition;It is described
Character analysis is analyzed the Chinese, English, punctuation mark of reproducting content, only accounts for a word using English and English punctuate
Chinese, Chinese punctuation mark and English are distinguished with english punctuation mark, obtain according with comprising English and English punctuate by section feature
Number English character string;
Format match unit, whether matching web site links lattice to the English character string extracted using regular expression discriminatory analysis unit
Formula, if it does, using the English character string of extraction as website links;
Suspension window unit, for after format match units match has website links, popping up the suspended window of top set, the suspended window
It include website links control;
The suspended window pop-up module, is also used to judge using reflection technology whether the suspended window pop-up permission of browser opens,
If the suspended window pop-up permission is to open, the process of the suspended window of the pop-up top set is executed, if the suspended window bullet
Permission is to close out, and display pop-up prompting message is so that user opens suspended window pop-up priority assignation;
Suspended window pop-up module is also used to judge whether deposit in the corresponding document object model tree of reproducting content by js script
In the node including website links, if it is present determining that in reproducting content include website links.
8. device according to claim 7, which is characterized in that described device further comprises:
Suspended window closedown module, for receiving the information of closing control described in user's triggering suspended window or clicking suspended window
After the information of exterior domain, the suspended window of the top set is closed.
9. device according to claim 8, which is characterized in that the suspension window unit includes: that query unit, suspended window add
Add subelement and window type that subelement is set, wherein
Whether query unit has matched website links for inquiring in format match unit, if so, notice suspended window addition
Otherwise subelement is not dealt with;
Suspended window adds subelement, for after receiving notice, suspended window to be added in window management class;
Subelement is arranged in window type, is on all applications, and in status bar for presetting suspended window window type
Under.
10. device according to claim 9, which is characterized in that the suspension window unit further comprises: opening permission and sentence
Disconnected subelement and unlatching priority assignation subelement, wherein
It opens permission judgment sub-unit and judges the suspended window of browser using reflection technology for receiving the notice of query unit
Popping up permission is to close, and notice opens priority assignation subelement;
Priority assignation subelement is opened, for receiving from the notice for opening permission judgment sub-unit, shows pop-up prompting message
So that suspended window pop-up priority assignation is to open by user.
11. device according to claim 7 or 8, which is characterized in that the display module includes: receiving unit, preloads
Unit, matching unit and call unit, wherein
Receiving unit, for after the information for receiving website links control described in user's triggering suspended window, notice matching to be single
Member;
Pre-add carrier unit, it is described from loading and storing from the background for multiple website links to be stored in advance and in browser starting
The webpage that multiple website links map respectively;
Matching unit, for after receiving notice, inquire the website links in the reproducting content of extraction whether be stored in advance
One of multiple website links match, if so, notice call unit;
Call unit, for receiving notice, the network address for calling the website links in the reproducting content with extraction of storage to match
It links the webpage of mapping and is loaded into current browser interface.
12. device according to claim 11, which is characterized in that the display module further comprises:
Updating unit, for load extract reproducting content in website links mapping webpage after, by answering for the extraction
Website links in content processed are stored into pre-add carrier unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275126.4A CN104899269B (en) | 2015-05-26 | 2015-05-26 | Method and device for accessing website link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275126.4A CN104899269B (en) | 2015-05-26 | 2015-05-26 | Method and device for accessing website link |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104899269A CN104899269A (en) | 2015-09-09 |
CN104899269B true CN104899269B (en) | 2019-01-22 |
Family
ID=54031932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510275126.4A Active CN104899269B (en) | 2015-05-26 | 2015-05-26 | Method and device for accessing website link |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104899269B (en) |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242918B (en) * | 2015-09-10 | 2018-11-20 | 天脉聚源(北京)教育科技有限公司 | A kind of operating method and device of functional object |
CN105278808B (en) * | 2015-09-24 | 2019-04-02 | 上海智臻智能网络科技股份有限公司 | For the method and apparatus via the human-computer interaction interface push page |
CN105117380B (en) * | 2015-09-24 | 2018-09-07 | 百度在线网络技术(北京)有限公司 | Paste processing method and device |
CN105653157A (en) * | 2015-12-30 | 2016-06-08 | 广州华多网络科技有限公司 | Processing method and device for copied text |
US10853564B2 (en) * | 2016-04-28 | 2020-12-01 | Huawei Technologies Co., Ltd. | Operation for copied content |
CN106202217B (en) * | 2016-06-28 | 2019-12-03 | 北京金山安全软件有限公司 | Webpage link access method and device and mobile terminal |
CN106126724A (en) * | 2016-06-30 | 2016-11-16 | 努比亚技术有限公司 | The display packing of browser address and device |
WO2018027489A1 (en) * | 2016-08-08 | 2018-02-15 | 吕秋萍 | Method for opening file position via text path, and file system |
WO2018027491A1 (en) * | 2016-08-08 | 2018-02-15 | 吕秋萍 | Method for pushing information during file path opening, and file system |
WO2018027490A1 (en) * | 2016-08-08 | 2018-02-15 | 吕秋萍 | Method for collecting data of file opening technology, and file system |
CN110941500B (en) * | 2016-08-29 | 2023-05-09 | 创新先进技术有限公司 | Interface display method and device |
CN106383728A (en) * | 2016-09-05 | 2017-02-08 | 微梦创科网络科技(中国)有限公司 | Method and device for asynchronously loading hyperlink in mobile application |
CN106791115A (en) * | 2016-12-26 | 2017-05-31 | 努比亚技术有限公司 | A kind of information of mobile terminal clone method and mobile terminal |
CN108279835B (en) * | 2017-01-05 | 2021-03-02 | 腾讯科技(深圳)有限公司 | Window display control method and device |
CN106874390B (en) * | 2017-01-12 | 2019-12-10 | 北京安云世纪科技有限公司 | Browser history record viewing method and terminal |
CN106886407B (en) * | 2017-01-25 | 2020-12-01 | 阿里巴巴(中国)有限公司 | Method and device for detecting shielding of notification function under android system and computing device |
CN108509454B (en) * | 2017-02-27 | 2022-03-08 | 阿里巴巴集团控股有限公司 | Operation method of character string and related device |
CN107291443B (en) * | 2017-05-05 | 2020-10-23 | 北京金山安全软件有限公司 | Information processing method and device and terminal equipment |
CN107203630B (en) * | 2017-05-31 | 2020-11-24 | 北京安云世纪科技有限公司 | Application page collection method and device and corresponding mobile terminal |
CN107329985B (en) * | 2017-05-31 | 2021-01-12 | 北京安云世纪科技有限公司 | Page collection method and device and mobile terminal |
CN107085617B (en) * | 2017-05-31 | 2020-11-24 | 北京安云世纪科技有限公司 | Application page collection method and device and corresponding mobile terminal |
CN109308240B (en) * | 2017-07-26 | 2022-03-11 | 腾讯科技(深圳)有限公司 | Operation processing method and device and storage medium |
CN107766109A (en) * | 2017-09-22 | 2018-03-06 | 广州小鹏汽车科技有限公司 | A kind of methods of exhibiting, the apparatus and system of Android system bubble control |
CN108228707A (en) * | 2017-11-27 | 2018-06-29 | 余姚市上易网络有限公司 | A kind of querying method of commodity historical price |
CN108595665A (en) * | 2018-04-28 | 2018-09-28 | 北京小米移动软件有限公司 | The display methods and device of web page contents |
CN111273973B (en) * | 2018-12-05 | 2024-04-02 | 阿里巴巴集团控股有限公司 | Copy and paste method, apparatus and storage medium |
CN109933734B (en) * | 2019-02-28 | 2021-04-30 | 广州方硅信息技术有限公司 | Page skipping method, device and system and storage medium |
CN109977195A (en) * | 2019-03-26 | 2019-07-05 | 北京泰迪熊移动科技有限公司 | A kind of text message processing method, device and computer storage medium |
CN110333923B (en) * | 2019-05-29 | 2023-06-06 | 努比亚技术有限公司 | Screen recognition implementation method, terminal and computer readable storage medium |
CN110413169B (en) | 2019-07-24 | 2021-11-23 | 北京小米移动软件有限公司 | Information display method, device and medium |
CN111159602A (en) * | 2019-12-26 | 2020-05-15 | 汕头东风印刷股份有限公司 | Quick access method and device for website page and storage medium |
CN111611508B (en) * | 2020-05-28 | 2020-12-15 | 江苏易安联网络技术有限公司 | Identification method and device for actual website access of user |
CN113656193A (en) * | 2021-08-11 | 2021-11-16 | 挂号网(杭州)科技有限公司 | Application communication method, system, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156615A (en) * | 2011-04-01 | 2011-08-17 | 奇智软件(北京)有限公司 | Suspension window displaying method and device |
CN102819424A (en) * | 2011-12-27 | 2012-12-12 | 金蝶软件(中国)有限公司 | Method and device for dynamically constructing query window in table query |
CN102945130A (en) * | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information searching method and information searching system |
CN104035986A (en) * | 2014-05-30 | 2014-09-10 | 北京金山网络科技有限公司 | Method and device for opening URL and method and device for searching for keywords |
CN104239313A (en) * | 2013-06-09 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013034681A1 (en) * | 2011-09-08 | 2013-03-14 | Ehrensvaerd Jakob | Devices and methods for identification, authentication and signing purposes |
US9916072B2 (en) * | 2013-02-20 | 2018-03-13 | Lg Electronics Inc. | Application and notification window display management in a mobile terminal |
CN104537051B (en) * | 2014-12-26 | 2017-04-12 | 北京奇虎科技有限公司 | Terminal and searching method based on touch operation |
-
2015
- 2015-05-26 CN CN201510275126.4A patent/CN104899269B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156615A (en) * | 2011-04-01 | 2011-08-17 | 奇智软件(北京)有限公司 | Suspension window displaying method and device |
CN102819424A (en) * | 2011-12-27 | 2012-12-12 | 金蝶软件(中国)有限公司 | Method and device for dynamically constructing query window in table query |
CN102945130A (en) * | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information searching method and information searching system |
CN104239313A (en) * | 2013-06-09 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal |
CN104035986A (en) * | 2014-05-30 | 2014-09-10 | 北京金山网络科技有限公司 | Method and device for opening URL and method and device for searching for keywords |
Also Published As
Publication number | Publication date |
---|---|
CN104899269A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104899269B (en) | Method and device for accessing website link | |
US11256491B2 (en) | System and methods for integration of an application runtime environment into a user computing environment | |
CN104021172B (en) | Advertisement filter method and advertisement filter device | |
CN104766014B (en) | For detecting the method and system of malice network address | |
US9832210B2 (en) | Multi-core browser and method for intercepting malicious network address in multi-core browser | |
US9418243B2 (en) | Invoking a private browsing mode by selection of a visual control element within a browser tab | |
WO2019157894A1 (en) | Application page display method and apparatus, storage medium and electronic device | |
WO2018219076A1 (en) | Processing method for preventing webpage hijacking, client, and server | |
CN100438435C (en) | Method for limiting browser access network address | |
WO2013178094A1 (en) | Page display method and device | |
WO2015127882A1 (en) | Method, apparatus and system for extracting webpage content | |
CN107203555A (en) | Page loading processing method and device | |
CN102419808A (en) | Method, device and system for detecting safety of download link | |
CN107577509A (en) | A kind of method, terminal and computer-readable recording medium for loading application interface | |
EP2987088A2 (en) | Client side page processing | |
US20130290898A1 (en) | Method for presenting prompt message, terminal and server | |
JP2005505825A (en) | Context-adaptive web browser | |
WO2002101585A2 (en) | Streaming of real-time data to a browser | |
CN104317570B (en) | The apparatus and method of dynamic analysis Web applications | |
CN102932356A (en) | Malicious website intercepting method and device in multi-core browser | |
EP3745292A1 (en) | Hidden link detection method and apparatus for website | |
CN106209863B (en) | A kind of web portal security monitoring method based on whole station scanning | |
CN109446460B (en) | HTML5 online video redirection system and implementation method thereof | |
CN107800611A (en) | The method and page layout switch device of a kind of page layout switch | |
US20210334113A1 (en) | Method and device for lazy loading of js scripts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |